================================================================== BUG: KCSAN: data-race in fasync_remove_entry / kill_fasync write to 0xffff88808aeffb00 of 8 bytes by task 12382 on cpu 1: fasync_remove_entry+0xb7/0x120 fs/fcntl.c:882 fasync_helper+0xc9/0xd6 fs/fcntl.c:981 perf_fasync+0x64/0x90 kernel/events/core.c:6011 __fput+0x448/0x4f0 fs/file_table.c:277 ____fput+0x1b/0x30 fs/file_table.c:313 task_work_run+0xf5/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x36e/0x390 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88808aeffb00 of 8 bytes by interrupt on cpu 0: kill_fasync+0x3c/0x170 fs/fcntl.c:1019 perf_event_wakeup+0x115/0x160 kernel/events/core.c:6051 perf_pending_event+0x129/0x170 kernel/events/core.c:6107 irq_work_run_list+0x13e/0x190 kernel/irq_work.c:156 irq_work_run+0x43/0x90 kernel/irq_work.c:172 smp_irq_work_interrupt+0x3b/0xf0 arch/x86/kernel/irq_work.c:21 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:860 vsscanf+0x16/0x1410 lib/vsprintf.c:3189 sscanf+0x6c/0xa0 lib/vsprintf.c:3481 __dev_alloc_name net/core/dev.c:1111 [inline] dev_alloc_name_ns+0x16d/0x390 net/core/dev.c:1145 dev_get_valid_name+0x71/0xf0 net/core/dev.c:1180 register_netdevice+0xf6/0xad0 net/core/dev.c:9299 bond_newlink drivers/net/bonding/bond_netlink.c:458 [inline] bond_newlink+0x51/0xa0 drivers/net/bonding/bond_netlink.c:448 __rtnl_newlink+0xbe5/0xfb0 net/core/rtnetlink.c:3319 rtnl_newlink+0x5f/0x90 net/core/rtnetlink.c:3377 rtnetlink_rcv_msg+0x1d0/0x4e0 net/core/rtnetlink.c:5438 netlink_rcv_skb+0xaf/0x260 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x22/0x30 net/core/rtnetlink.c:5456 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x390/0x4c0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x4cf/0x8a0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0x98/0xc0 net/socket.c:672 ____sys_sendmsg+0x493/0x4c0 net/socket.c:2343 ___sys_sendmsg+0xb5/0x100 net/socket.c:2397 __sys_sendmsg+0x9b/0x150 net/socket.c:2430 __do_sys_sendmsg net/socket.c:2439 [inline] __se_sys_sendmsg net/socket.c:2437 [inline] __x64_sys_sendmsg+0x4c/0x60 net/socket.c:2437 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12402 Comm: syz-executor.5 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================