On 16.03.2022 17:42:56, Oliver Hartkopp wrote: > Syzbot created an environment that lead to a state machine status that > can not be reached with a compliant CAN ID address configuration. > The provided address information consisted of CAN ID 0x6000001 and 0xC28001 > which both boil down to 11 bit CAN IDs 0x001 in sending and receiving. > > Sanitize the SFF/EFF CAN ID values before performing the address checks. > > Fixes: e057dd3fc20f ("can: add ISO 15765-2:2016 transport protocol") > Reported-by: syzbot+2339c27f5c66c652843e@xxxxxxxxxxxxxxxxxxxxxxxxx > Signed-off-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx> Added to linux-can-next/testing. Thanks, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature