================================================================== BUG: KCSAN: data-race in fasync_remove_entry / kill_fasync write to 0xffff8880b5444700 of 8 bytes by task 11490 on cpu 0: fasync_remove_entry+0xba/0x120 fs/fcntl.c:882 fasync_helper+0xcf/0xdc fs/fcntl.c:981 perf_fasync+0x6c/0xa0 kernel/events/core.c:6002 __fput+0x46a/0x520 fs/file_table.c:277 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/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+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880b5444700 of 8 bytes by interrupt on cpu 1: kill_fasync+0x3f/0x180 fs/fcntl.c:1019 perf_event_wakeup+0x11f/0x160 kernel/events/core.c:6042 perf_pending_event+0x12d/0x170 kernel/events/core.c:6098 irq_work_run_list+0x136/0x190 kernel/irq_work.c:156 irq_work_run+0x48/0xa0 kernel/irq_work.c:172 smp_irq_work_interrupt+0x3f/0x100 arch/x86/kernel/irq_work.c:21 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:860 xt_get_this_cpu_counter include/linux/netfilter/x_tables.h:434 [inline] ip6t_do_table+0x62b/0xf40 net/ipv6/netfilter/ip6_tables.c:321 ip6table_raw_hook+0x4a/0x60 net/ipv6/netfilter/ip6table_raw.c:43 nf_hook_entry_hookfn include/linux/netfilter.h:135 [inline] nf_hook_slow+0x83/0x160 net/netfilter/core.c:512 nf_hook include/linux/netfilter.h:262 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ipv6_rcv+0x141/0x1b0 net/ipv6/ip6_input.c:306 __netif_receive_skb_one_core+0xa7/0xe0 net/core/dev.c:5150 __netif_receive_skb+0x37/0xf0 net/core/dev.c:5264 process_backlog+0x207/0x4b0 net/core/dev.c:6095 napi_poll net/core/dev.c:6532 [inline] net_rx_action+0x3ae/0xa90 net/core/dev.c:6600 __do_softirq+0x115/0x33f kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1082 do_softirq.part.0+0x6b/0x80 kernel/softirq.c:337 do_softirq kernel/softirq.c:329 [inline] __local_bh_enable_ip+0x76/0x80 kernel/softirq.c:189 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:706 [inline] ip6_finish_output2+0x730/0xf60 net/ipv6/ip6_output.c:117 __ip6_finish_output net/ipv6/ip6_output.c:142 [inline] __ip6_finish_output+0x2d7/0x330 net/ipv6/ip6_output.c:127 ip6_finish_output+0x41/0x160 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x108/0x290 net/ipv6/ip6_output.c:175 dst_output include/net/dst.h:436 [inline] ip6_local_out+0x74/0x90 net/ipv6/output_core.c:179 ip6_send_skb+0x53/0x110 net/ipv6/ip6_output.c:1795 udp_v6_send_skb.isra.0+0x3ec/0xa70 net/ipv6/udp.c:1173 udpv6_sendmsg+0x19dc/0x1d30 net/ipv6/udp.c:1471 inet6_sendmsg+0x6d/0x90 net/ipv6/af_inet6.c:576 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:659 ____sys_sendmsg+0x212/0x4d0 net/socket.c:2330 ___sys_sendmsg+0xb5/0x100 net/socket.c:2384 __sys_sendmmsg+0x123/0x350 net/socket.c:2474 __do_sys_sendmmsg net/socket.c:2503 [inline] __se_sys_sendmmsg net/socket.c:2500 [inline] __x64_sys_sendmmsg+0x64/0x80 net/socket.c:2500 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11491 Comm: syz-executor.2 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================