On Mon. 10 Mar 2025 à 23:34, Oliver Hartkopp <socketcan@xxxxxxxxxxxx> 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 Maybe add a Fixes: tag? > Signed-off-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx> Notwithstanding of above remark: Reviewed-by: Vincent Mailhol <mailhol.vincent@xxxxxxxxxx> Yours sincerely, Vincent Mailhol