================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff888116cb8070 of 8 bytes by interrupt on cpu 1: can_send+0x570/0x5d0 net/can/af_can.c:290 j1939_send_one+0x1a9/0x1e0 net/can/j1939/main.c:353 j1939_tp_tx_dat net/can/j1939/transport.c:646 [inline] j1939_session_tx_dat net/can/j1939/transport.c:838 [inline] j1939_xtp_txnext_transmiter net/can/j1939/transport.c:900 [inline] j1939_tp_txtimer+0xca9/0x1a70 net/can/j1939/transport.c:1160 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20d/0x5e0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0xe4/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0xc3/0x280 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x36/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x3db/0xac0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3329 worker_thread+0x526/0x720 kernel/workqueue.c:3409 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff888116cb8070 of 8 bytes by interrupt on cpu 0: can_send+0x570/0x5d0 net/can/af_can.c:290 j1939_send_one+0x1a9/0x1e0 net/can/j1939/main.c:353 j1939_tp_tx_dat net/can/j1939/transport.c:646 [inline] j1939_session_tx_dat net/can/j1939/transport.c:838 [inline] j1939_xtp_txnext_transmiter net/can/j1939/transport.c:900 [inline] j1939_tp_txtimer+0xca9/0x1a70 net/can/j1939/transport.c:1160 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20d/0x5e0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0xe4/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0xc3/0x280 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x36/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] lock_sock_nested+0x10f/0x140 net/core/sock.c:3541 lock_sock include/net/sock.h:1602 [inline] netlink_insert+0x64/0x9b0 net/netlink/af_netlink.c:575 netlink_autobind+0xa8/0x150 net/netlink/af_netlink.c:857 netlink_sendmsg+0x4c5/0x6e0 net/netlink/af_netlink.c:1868 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:745 ____sys_sendmsg+0x312/0x410 net/socket.c:2585 ___sys_sendmsg net/socket.c:2639 [inline] __sys_sendmsg+0x1e9/0x280 net/socket.c:2668 __do_sys_sendmsg net/socket.c:2677 [inline] __se_sys_sendmsg net/socket.c:2675 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2675 x64_sys_call+0xb25/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000000016f5 -> 0x00000000000016f6 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12679 Comm: syz.4.2540 Not tainted 6.10.0-rc7-syzkaller-00003-g4376e966ecb7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 ================================================================== vxcan0: j1939_xtp_rx_dat: no tx connection found vxcan0: j1939_tp_rxtimer: 0xffff888112ed6400: rx timeout, send abort vxcan0: j1939_tp_rxtimer: 0xffff888112ed6400: abort rx timeout. Force session deactivation