Re: [PATCH net 07/20] can: ctucanfd: handle bus error interrupts

Marc Kleine-Budde <[email protected]> Thu, 30 Jul 2026 13:18:19 +0200
Newsgroups org.kernel.vger.linux-can
Message-ID <[email protected]>
--4xdm6vs3qfzng6gh
Content-Type: text/plain; protected-headers=v1; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: [PATCH net 07/20] can: ctucanfd: handle bus error interrupts
MIME-Version: 1.0

On 30.07.2026 10:29:49, [email protected] wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential issu=
e(s) to consider:
>
> Pre-existing issues:
> - [Critical] Missing bounds check on hardware-provided word count can lea=
d to a severe heap buffer overflow.

The hardware is trusted at this point in the driver.

> - [High] Missing rate-limiting on bus error log messages causes a
> kernel log flood and system lockup.

I'll send a follow up patch.

regards,
Marc

--=20
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung N=C3=BCrnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

--4xdm6vs3qfzng6gh
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSl+MghEFFAdY3pYJLMOmT6rpmt0gUCamsy+AAKCRDMOmT6rpmt
0tgWAP9X9e66vxDhZMhYY9CzfQ3zNptffDgRTTP9y13GKmm7qAEAtWAP/LCAsnzT
lHFHvN1RQfCxD2fhrso1MRH452Z9hAE=
=oa3O
-----END PGP SIGNATURE-----

--4xdm6vs3qfzng6gh--