================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read to 0xffff888138abe658 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:575 [inline] can_rcv_filter+0x260/0x520 net/can/af_can.c:608 can_receive+0x1a2/0x220 net/can/af_can.c:665 can_rcv+0x9e/0x170 net/can/af_can.c:696 __netif_receive_skb_one_core net/core/dev.c:5405 [inline] __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5519 process_backlog+0x23f/0x3c0 net/core/dev.c:5847 __napi_poll+0x65/0x3f0 net/core/dev.c:6413 napi_poll net/core/dev.c:6480 [inline] net_rx_action+0x29e/0x650 net/core/dev.c:6567 __do_softirq+0x158/0x2de kernel/softirq.c:558 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:921 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164 kthread+0x1bf/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 write to 0xffff888138abe658 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:575 [inline] can_rcv_filter+0x26f/0x520 net/can/af_can.c:608 can_receive+0x1a2/0x220 net/can/af_can.c:665 can_rcv+0x9e/0x170 net/can/af_can.c:696 __netif_receive_skb_one_core net/core/dev.c:5405 [inline] __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5519 process_backlog+0x23f/0x3c0 net/core/dev.c:5847 __napi_poll+0x65/0x3f0 net/core/dev.c:6413 napi_poll net/core/dev.c:6480 [inline] net_rx_action+0x29e/0x650 net/core/dev.c:6567 __do_softirq+0x158/0x2de kernel/softirq.c:558 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:921 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164 kthread+0x1bf/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x000000000000005a -> 0x000000000000005b Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 13 Comm: ksoftirqd/0 Tainted: G W 5.17.0-syzkaller-11406-gf82da161ea75-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== vcan0: j1939_xtp_rx_dat_one: 0xffff888140768400: last 00 vcan0: j1939_xtp_rx_dat_one: 0xffff88813831e800: last 14 vcan0: j1939_tp_rxtimer: 0xffff888143e1e400: abort rx timeout. Force session deactivation vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138980e00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888144c43e00: last 15 vcan0: j1939_xtp_rx_dat_one: 0xffff8881382cda00: last 15 vcan0: j1939_xtp_rx_abort_one: 0xffff888144c43200: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff888144c43600: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff8881382cda00: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff8881399fe400: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff8881399fe600: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff8881399fe000: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff8881399fe200: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff88813813e200: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff888138178200: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_tp_rxtimer: 0xffff888137d4e400: rx timeout, send abort vcan0: j1939_tp_rxtimer: 0xffff8881380d6200: rx timeout, send abort vcan0: j1939_xtp_rx_abort_one: 0xffff888137d4e400: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. vcan0: j1939_xtp_rx_abort_one: 0xffff8881380d6200: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_dat_one: 0xffff888138edcc00: last 00 vcan0: j1939_xtp_rx_dat: no rx connection found vcan0: j1939_xtp_rx_abort_one: 0xffff888138edcc00: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_xtp_rx_abort_one: 0xffff888138edc200: 0x00000: (5) Maximal retransmit request limit reached vcan0: j1939_tp_rxtimer: 0xffff88813815ae00: rx timeout, send abort vcan0: j1939_tp_rxtimer: 0xffff88813815ac00: rx timeout, send abort vcan0: j1939_xtp_rx_abort_one: 0xffff88813815ae00: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. vcan0: j1939_xtp_rx_abort_one: 0xffff88813815ac00: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. vcan0: j1939_tp_txtimer: 0xffff888138021600: tx aborted with unknown reason: -2 vcan0: j1939_tp_rxtimer: 0xffff888138036800: rx timeout, send abort vcan0: j1939_tp_rxtimer: 0xffff888138021600: abort rx timeout. Force session deactivation vcan0: j1939_tp_rxtimer: 0xffff888138036800: abort rx timeout. Force session deactivation vcan0: j1939_tp_rxtimer: 0xffff88813822c200: rx timeout, send abort vcan0: j1939_tp_rxtimer: 0xffff888138072600: rx timeout, send abort vcan0: j1939_xtp_rx_abort_one: 0xffff88813822c200: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. vcan0: j1939_xtp_rx_abort_one: 0xffff888138072600: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. vcan0: j1939_tp_rxtimer: 0xffff8881382c0400: rx timeout, send abort