On 10.03.2025 15:33:53, Oliver Hartkopp wrote: > In can_send() and can_receive() CAN messages and CAN filter matches are > counted to be visible in the CAN procfs files. > > KCSAN detected a data race within can_send() when two CAN frames have > been generated by a timer event writing to the same CAN netdevice at the > same time. Use atomic operations to access the statistics in the hot path > to fix the KCSAN complaint. > > Reported-by: syzbot+78ce4489b812515d5e4d@xxxxxxxxxxxxxxxxxxxxxxxxx > Signed-off-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx> Applied to linux-can. regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung Nürnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature