================================================================== BUG: KCSAN: data-race in can_can_gw_rcv / can_can_gw_rcv read-write to 0xffff8881353f0358 of 4 bytes by interrupt on cpu 0: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff8881353f0358 of 4 bytes by interrupt on cpu 1: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 local_bh_enable include/linux/bottom_half.h:33 [inline] netif_rx+0x83/0x240 net/core/dev.c:5478 can_send+0x586/0x6d0 net/can/af_can.c:287 bcm_can_tx+0x314/0x420 net/can/bcm.c:314 bcm_tx_setup+0x911/0xd30 net/can/bcm.c:1060 bcm_sendmsg+0x38b/0x470 net/can/bcm.c:1397 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:733 ____sys_sendmsg+0x326/0x4b0 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmsg+0x19d/0x230 net/socket.c:2659 __do_sys_sendmsg net/socket.c:2664 [inline] __se_sys_sendmsg net/socket.c:2662 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2662 x64_sys_call+0x2734/0x2dc0 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: 0x001cbfec -> 0x001cbfed Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 20505 Comm: syz.0.6952 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff8881012e6518 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 local_bh_enable include/linux/bottom_half.h:33 [inline] update_defense_level+0x575/0x5b0 net/netfilter/ipvs/ip_vs_ctl.c:210 defense_work_handler+0x1f/0x80 net/netfilter/ipvs/ip_vs_ctl.c:235 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff8881012e6518 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x522/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000001d29e3 -> 0x00000000001d29e4 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 19978 Comm: kworker/u8:19 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound nsim_dev_trap_report_work ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888117e02008 of 8 bytes by interrupt on cpu 0: can_receive+0x4e/0x1f0 net/can/af_can.c:650 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_encrypt_worker+0x180/0xb80 drivers/net/wireguard/send.c:293 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff888117e02008 of 8 bytes by interrupt on cpu 1: can_receive+0x4e/0x1f0 net/can/af_can.c:650 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x522/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000001d49c2 -> 0x00000000001d49c3 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 19978 Comm: kworker/u8:19 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound nsim_dev_trap_report_work ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888117e02068 of 8 bytes by interrupt on cpu 0: can_receive+0x62/0x1f0 net/can/af_can.c:651 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] release_sock+0x117/0x150 net/core/sock.c:3669 tcp_recvmsg+0x147/0x490 net/ipv4/tcp.c:2872 inet_recvmsg+0xbd/0x290 net/ipv4/af_inet.c:883 sock_recvmsg_nosec net/socket.c:1023 [inline] sock_recvmsg+0xfe/0x170 net/socket.c:1045 sock_read_iter+0x14c/0x1a0 net/socket.c:1115 new_sync_read fs/read_write.c:484 [inline] vfs_read+0x5cc/0x6f0 fs/read_write.c:565 ksys_read+0xe8/0x1b0 fs/read_write.c:708 __do_sys_read fs/read_write.c:717 [inline] __se_sys_read fs/read_write.c:715 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:715 x64_sys_call+0x2874/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:1 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 read-write to 0xffff888117e02068 of 8 bytes by interrupt on cpu 1: can_receive+0x62/0x1f0 net/can/af_can.c:651 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x0000000000000664 -> 0x0000000000000665 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 23 Comm: ksoftirqd/1 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff888117e02070 of 8 bytes by interrupt on cpu 0: can_send+0x5b6/0x6d0 net/can/af_can.c:291 can_can_gw_rcv+0x77d/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff888117e02070 of 8 bytes by interrupt on cpu 1: can_send+0x5b6/0x6d0 net/can/af_can.c:291 can_can_gw_rcv+0x77d/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_encrypt_worker+0x180/0xb80 drivers/net/wireguard/send.c:293 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x0000000000002f41 -> 0x0000000000002f42 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3359 Comm: kworker/1:2 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888117e02078 of 8 bytes by interrupt on cpu 0: can_receive+0x1ca/0x1f0 net/can/af_can.c:673 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] addrconf_ifdown+0x3b7/0xed0 net/ipv6/addrconf.c:3903 addrconf_notify+0x2ff/0x950 notifier_call_chain kernel/notifier.c:85 [inline] raw_notifier_call_chain+0x6f/0x1d0 kernel/notifier.c:453 call_netdevice_notifiers_info+0xae/0x100 net/core/dev.c:2212 call_netdevice_notifiers_extack net/core/dev.c:2250 [inline] call_netdevice_notifiers net/core/dev.c:2264 [inline] unregister_netdevice_many_notify+0x98a/0x1280 net/core/dev.c:11890 rtnl_delete_link net/core/rtnetlink.c:3486 [inline] rtnl_dellink+0x38b/0x590 net/core/rtnetlink.c:3528 rtnetlink_rcv_msg+0x651/0x710 net/core/rtnetlink.c:6912 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6939 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1348 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:733 ____sys_sendmsg+0x326/0x4b0 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmsg+0x19d/0x230 net/socket.c:2659 __do_sys_sendmsg net/socket.c:2664 [inline] __se_sys_sendmsg net/socket.c:2662 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2662 x64_sys_call+0x2734/0x2dc0 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 read-write to 0xffff888117e02078 of 8 bytes by interrupt on cpu 1: can_receive+0x1ca/0x1f0 net/can/af_can.c:673 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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+0x220/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x3db/0xad0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000000082ed -> 0x00000000000082ee Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 17533 Comm: kworker/u8:12 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff8881012e6518 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] mod_peer_timer drivers/net/wireguard/timers.c:38 [inline] wg_timers_any_authenticated_packet_traversal+0xe5/0x110 drivers/net/wireguard/timers.c:215 wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline] wg_packet_tx_worker+0xe9/0x360 drivers/net/wireguard/send.c:276 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff8881012e6518 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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+0x220/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xad0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000001f3c5d -> 0x00000000001f3c5e Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 17533 Comm: kworker/u8:12 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888117e02008 of 8 bytes by interrupt on cpu 0: can_receive+0x4e/0x1f0 net/can/af_can.c:650 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff888117e02008 of 8 bytes by interrupt on cpu 1: can_receive+0x4e/0x1f0 net/can/af_can.c:650 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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+0x220/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xad0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000001f66d5 -> 0x00000000001f66d6 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 17533 Comm: kworker/u8:12 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888117e02018 of 8 bytes by interrupt on cpu 0: can_receive+0x1b6/0x1f0 net/can/af_can.c:672 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] addrconf_ifdown+0x3b7/0xed0 net/ipv6/addrconf.c:3903 addrconf_notify+0x2ff/0x950 notifier_call_chain kernel/notifier.c:85 [inline] raw_notifier_call_chain+0x6f/0x1d0 kernel/notifier.c:453 call_netdevice_notifiers_info+0xae/0x100 net/core/dev.c:2212 call_netdevice_notifiers_extack net/core/dev.c:2250 [inline] call_netdevice_notifiers net/core/dev.c:2264 [inline] unregister_netdevice_many_notify+0x98a/0x1280 net/core/dev.c:11890 rtnl_delete_link net/core/rtnetlink.c:3486 [inline] rtnl_dellink+0x38b/0x590 net/core/rtnetlink.c:3528 rtnetlink_rcv_msg+0x651/0x710 net/core/rtnetlink.c:6912 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6939 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1348 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:733 ____sys_sendmsg+0x326/0x4b0 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmsg+0x19d/0x230 net/socket.c:2659 __do_sys_sendmsg net/socket.c:2664 [inline] __se_sys_sendmsg net/socket.c:2662 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2662 x64_sys_call+0x2734/0x2dc0 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 read-write to 0xffff888117e02018 of 8 bytes by interrupt on cpu 1: can_receive+0x1b6/0x1f0 net/can/af_can.c:672 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x000000000020f84f -> 0x000000000020f850 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 23 Comm: ksoftirqd/1 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff8881012e64c8 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] wg_index_hashtable_insert+0x26e/0x2a0 drivers/net/wireguard/peerlookup.c:161 wg_noise_handshake_create_initiation+0x4f6/0x5b0 drivers/net/wireguard/noise.c:569 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:34 [inline] wg_packet_handshake_send_worker+0xb3/0x150 drivers/net/wireguard/send.c:51 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff8881012e64c8 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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:3652 lock_sock include/net/sock.h:1624 [inline] sockopt_lock_sock+0x42/0x50 net/core/sock.c:1133 do_ip_setsockopt+0x13c2/0x2340 net/ipv4/ip_sockglue.c:1078 ip_setsockopt+0x63/0x100 net/ipv4/ip_sockglue.c:1417 tcp_setsockopt+0x93/0xb0 net/ipv4/tcp.c:4049 sock_common_setsockopt+0x64/0x80 net/core/sock.c:3837 do_sock_setsockopt net/socket.c:2303 [inline] __sys_setsockopt+0x187/0x200 net/socket.c:2328 __do_sys_setsockopt net/socket.c:2334 [inline] __se_sys_setsockopt net/socket.c:2331 [inline] __x64_sys_setsockopt+0x66/0x80 net/socket.c:2331 x64_sys_call+0x282e/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:55 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: 0x0000000000217185 -> 0x0000000000217186 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 13177 Comm: syz-executor Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_can_gw_rcv / can_can_gw_rcv read-write to 0xffff8881353f0358 of 4 bytes by interrupt on cpu 0: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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] release_sock+0x117/0x150 net/core/sock.c:3669 tcp_recvmsg+0x147/0x490 net/ipv4/tcp.c:2872 inet_recvmsg+0xbd/0x290 net/ipv4/af_inet.c:883 sock_recvmsg_nosec net/socket.c:1023 [inline] sock_recvmsg+0xfe/0x170 net/socket.c:1045 sock_read_iter+0x14c/0x1a0 net/socket.c:1115 new_sync_read fs/read_write.c:484 [inline] vfs_read+0x5cc/0x6f0 fs/read_write.c:565 ksys_read+0xe8/0x1b0 fs/read_write.c:708 __do_sys_read fs/read_write.c:717 [inline] __se_sys_read fs/read_write.c:715 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:715 x64_sys_call+0x2874/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:1 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 read-write to 0xffff8881353f0358 of 4 bytes by interrupt on cpu 1: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __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+0x220/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xad0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x002302d7 -> 0x002302d8 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 17533 Comm: kworker/u8:12 Not tainted 6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker ==================================================================