================================================================== BUG: KCSAN: data-race in fasync_remove_entry / kill_fasync write to 0xffff8880a546c700 of 8 bytes by task 18255 on cpu 0: fasync_remove_entry+0xd5/0x140 fs/fcntl.c:884 fasync_helper+0x92/0xc0 fs/fcntl.c:983 perf_fasync+0x5a/0x80 kernel/events/core.c:6190 __fput+0x420/0x460 fs/file_table.c:278 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:216 [inline] __prepare_exit_to_usermode+0x1c6/0x230 arch/x86/entry/common.c:246 __syscall_return_slowpath+0x47/0x60 arch/x86/entry/common.c:329 do_syscall_64+0x5d/0xb0 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a546c700 of 8 bytes by interrupt on cpu 1: kill_fasync+0x1e/0x160 fs/fcntl.c:1021 perf_event_wakeup kernel/events/core.c:6230 [inline] perf_pending_event+0x258/0x300 kernel/events/core.c:6286 irq_work_single kernel/irq_work.c:148 [inline] irq_work_run_list kernel/irq_work.c:170 [inline] irq_work_run+0xf7/0x2c0 kernel/irq_work.c:179 __sysvec_irq_work+0x22/0xd0 arch/x86/kernel/irq_work.c:22 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] sysvec_irq_work+0x8f/0xe0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x12/0x20 arch/x86/include/asm/idtentry.h:626 neigh_flush_dev+0x4a0/0x550 include/linux/refcount.h:274 __neigh_ifdown+0x39/0x2b0 net/core/neighbour.c:352 neigh_ifdown+0x1b/0x30 net/core/neighbour.c:369 rt6_disable_ip+0x3f2/0x420 net/ipv6/route.c:4782 addrconf_ifdown+0x9e/0xe40 net/ipv6/addrconf.c:3677 addrconf_notify+0x2a2/0x1e30 net/ipv6/addrconf.c:3602 notifier_call_chain kernel/notifier.c:83 [inline] __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x53/0xb0 kernel/notifier.c:368 call_netdevice_notifiers_info net/core/dev.c:2027 [inline] call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] dev_close_many+0x1ff/0x310 net/core/dev.c:1628 dev_close+0xc2/0x130 net/core/dev.c:1650 team_port_add drivers/net/team/team.c:1305 [inline] team_add_slave+0xff9/0x16f0 drivers/net/team/team.c:1967 do_set_master net/core/rtnetlink.c:2476 [inline] do_setlink+0x8a6/0x2010 net/core/rtnetlink.c:2611 rtnl_setlink+0x227/0x270 net/core/rtnetlink.c:2902 rtnetlink_rcv_msg+0x71b/0x7b0 net/core/rtnetlink.c:5460 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2469 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:5478 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x5e2/0x6b0 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x6d8/0x7a0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2352 ___sys_sendmsg net/socket.c:2406 [inline] __sys_sendmsg+0x1df/0x260 net/socket.c:2439 __do_sys_sendmsg net/socket.c:2448 [inline] __se_sys_sendmsg net/socket.c:2446 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2446 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 18259 Comm: syz-executor.0 Not tainted 5.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================