================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff888127cf6b70 of 8 bytes by interrupt on cpu 1: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_decrypt_worker+0x6ac/0x6f0 drivers/net/wireguard/receive.c:499 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 0xffff888127cf6b70 of 8 bytes by interrupt on cpu 0: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] netif_rx+0x83/0x240 net/core/dev.c:5209 can_send+0x53d/0x5d0 net/can/af_can.c:286 raw_sendmsg+0x7bc/0x940 net/can/raw.c:971 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:745 ____sys_sendmsg+0x312/0x410 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x1e9/0x280 net/socket.c:2667 __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2674 x64_sys_call+0xae9/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000000150fc -> 0x00000000000150fd Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6246 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff8881010c56f8 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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] netif_addr_unlock_bh include/linux/netdevice.h:4510 [inline] __dev_mc_add net/core/dev_addr_lists.c:872 [inline] dev_mc_add+0x92/0xa0 net/core/dev_addr_lists.c:885 igmp6_group_added+0xf6/0x300 net/ipv6/mcast.c:680 __ipv6_dev_mc_inc+0x510/0x710 net/ipv6/mcast.c:949 ipv6_dev_mc_inc+0x1f/0x30 net/ipv6/mcast.c:957 addrconf_join_solict net/ipv6/addrconf.c:2240 [inline] addrconf_dad_begin net/ipv6/addrconf.c:4101 [inline] addrconf_dad_work+0x265/0xbd0 net/ipv6/addrconf.c:4226 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 0xffff8881010c56f8 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 kernel/softirq.c:554 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:928 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 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 value changed: 0x000000000005d338 -> 0x000000000005d339 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_can_gw_rcv / can_can_gw_rcv read-write to 0xffff88812a48c9c8 of 4 bytes by interrupt on cpu 1: can_can_gw_rcv+0x7c9/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 0xffff88812a48c9c8 of 4 bytes by interrupt on cpu 0: can_can_gw_rcv+0x7c9/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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:1595 [inline] tipc_topsrv_create_listener net/tipc/topsrv.c:529 [inline] tipc_topsrv_start net/tipc/topsrv.c:683 [inline] tipc_topsrv_init_net+0x2d4/0x4c0 net/tipc/topsrv.c:725 ops_init+0x1ef/0x2b0 net/core/net_namespace.c:139 setup_net+0x2ea/0x7c0 net/core/net_namespace.c:343 copy_net_ns+0x37b/0x510 net/core/net_namespace.c:508 create_new_namespaces+0x228/0x430 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xe6/0x120 kernel/nsproxy.c:228 ksys_unshare+0x3da/0x720 kernel/fork.c:3323 __do_sys_unshare kernel/fork.c:3394 [inline] __se_sys_unshare kernel/fork.c:3392 [inline] __x64_sys_unshare+0x1f/0x30 kernel/fork.c:3392 x64_sys_call+0x21e5/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:273 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x000604d9 -> 0x000604da Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6206 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888127cf6b08 of 8 bytes by interrupt on cpu 1: can_receive+0x4e/0x1f0 net/can/af_can.c:649 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 kernel/softirq.c:554 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:928 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 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 0xffff888127cf6b08 of 8 bytes by interrupt on cpu 0: can_receive+0x4e/0x1f0 net/can/af_can.c:649 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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] addrconf_dad_end net/ipv6/addrconf.c:2151 [inline] addrconf_dad_work+0x359/0xbd0 net/ipv6/addrconf.c:4236 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 value changed: 0x0000000000063889 -> 0x000000000006388a Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 32423 Comm: kworker/u8:46 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: ipv6_addrconf addrconf_dad_work ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888127cf6b08 of 8 bytes by interrupt on cpu 1: can_receive+0x4e/0x1f0 net/can/af_can.c:649 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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+0x402/0xac0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 0xffff888127cf6b08 of 8 bytes by interrupt on cpu 0: can_receive+0x4e/0x1f0 net/can/af_can.c:649 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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:1595 [inline] sockopt_lock_sock+0x42/0x50 net/core/sock.c:1061 do_ipv6_setsockopt+0x9bf/0x2250 net/ipv6/ipv6_sockglue.c:568 ipv6_setsockopt+0x57/0x140 net/ipv6/ipv6_sockglue.c:994 tcp_setsockopt+0x93/0xb0 net/ipv4/tcp.c:3758 sock_common_setsockopt+0x64/0x80 net/core/sock.c:3726 do_sock_setsockopt net/socket.c:2311 [inline] __sys_setsockopt+0x1d8/0x250 net/socket.c:2334 __do_sys_setsockopt net/socket.c:2343 [inline] __se_sys_setsockopt net/socket.c:2340 [inline] __x64_sys_setsockopt+0x66/0x80 net/socket.c:2340 x64_sys_call+0x1159/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x000000000008b160 -> 0x000000000008b161 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5368 Comm: syz-executor.3 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888127cf6b68 of 8 bytes by interrupt on cpu 1: can_receive+0x62/0x1f0 net/can/af_can.c:650 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 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:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 0xffff888127cf6b68 of 8 bytes by interrupt on cpu 0: can_receive+0x62/0x1f0 net/can/af_can.c:650 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 value changed: 0x0000000000009145 -> 0x0000000000009146 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 32432 Comm: kworker/u8:55 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff888127cf6b70 of 8 bytes by interrupt on cpu 1: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 kernel/softirq.c:554 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:928 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 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 0xffff888127cf6b70 of 8 bytes by interrupt on cpu 0: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline] mod_peer_timer drivers/net/wireguard/timers.c:38 [inline] wg_timers_session_derived+0xc0/0xe0 drivers/net/wireguard/timers.c:205 wg_packet_send_handshake_response+0xa2/0x120 drivers/net/wireguard/send.c:98 wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline] wg_packet_handshake_receive_worker+0x3ed/0x5f0 drivers/net/wireguard/receive.c:213 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 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 value changed: 0x000000000002e1e2 -> 0x000000000002e1e3 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6258 Comm: kworker/0:12 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff888101ab36f8 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x116/0x1f0 net/can/af_can.c:659 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 kernel/softirq.c:554 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:928 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 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 0xffff888101ab36f8 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x116/0x1f0 net/can/af_can.c:659 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5624 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5738 process_backlog+0x21d/0x3c0 net/core/dev.c:6067 __napi_poll+0x63/0x3c0 net/core/dev.c:6721 napi_poll net/core/dev.c:6790 [inline] net_rx_action+0x324/0x740 net/core/dev.c:6906 handle_softirqs+0xc8/0x290 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] release_sock+0x117/0x150 net/core/sock.c:3558 tcp_close+0x2e/0xc0 net/ipv4/tcp.c:2953 inet_release+0xce/0xf0 net/ipv4/af_inet.c:437 __sock_release net/socket.c:659 [inline] sock_close+0x68/0x150 net/socket.c:1421 __fput+0x2c1/0x660 fs/file_table.c:422 __fput_sync+0x44/0x60 fs/file_table.c:507 __do_sys_close fs/open.c:1556 [inline] __se_sys_close+0x101/0x1b0 fs/open.c:1541 __x64_sys_close+0x1f/0x30 fs/open.c:1541 x64_sys_call+0x25b9/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000082043 -> 0x0000000000082044 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5519 Comm: syz-executor.4 Not tainted 6.9.0-syzkaller-07387-g8c06da67d0bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ==================================================================