================================================================== BUG: KCSAN: data-race in __perf_event_overflow / fasync_remove_entry write to 0xffff888123754b00 of 8 bytes by task 8358 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 0xffff888123754b00 of 8 bytes by interrupt on cpu 1: __perf_event_overflow+0x11d/0x200 kernel/events/core.c:8429 perf_swevent_hrtimer+0x261/0x280 kernel/events/core.c:9813 __run_hrtimer kernel/time/hrtimer.c:1517 [inline] __hrtimer_run_queues+0x274/0x5f0 kernel/time/hrtimer.c:1579 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1641 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0xdc/0x280 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 get_current arch/x86/include/asm/current.h:15 [inline] __sanitizer_cov_trace_pc+0xd/0x50 kernel/kcov.c:186 skb_split_no_header net/core/skbuff.c:3227 [inline] skb_split+0x472/0x7c0 net/core/skbuff.c:3268 tso_fragment net/ipv4/tcp_output.c:1913 [inline] tcp_write_xmit+0x825/0x3190 net/ipv4/tcp_output.c:2435 __tcp_push_pending_frames+0x7b/0x1d0 net/ipv4/tcp_output.c:2617 tcp_push_pending_frames include/net/tcp.h:1827 [inline] tcp_data_snd_check net/ipv4/tcp_input.c:5217 [inline] tcp_rcv_established+0x56a/0xf50 net/ipv4/tcp_input.c:5709 tcp_v4_do_rcv+0x3b5/0x520 net/ipv4/tcp_ipv4.c:1562 tcp_v4_rcv+0x1b2a/0x1d20 net/ipv4/tcp_ipv4.c:1943 ip_protocol_deliver_rcu+0x4d/0x420 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x110/0x140 net/ipv4/ip_input.c:231 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_local_deliver+0x133/0x210 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:442 [inline] ip_rcv_finish+0x123/0x160 net/ipv4/ip_input.c:428 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_rcv+0x18f/0x1a0 net/ipv4/ip_input.c:538 __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] icmp6_send+0x4be/0x1250 net/ipv6/icmp.c:607 icmpv6_send+0x71/0xb0 net/ipv6/ip6_icmp.c:43 ip6_pkt_drop+0x20b/0x390 net/ipv6/route.c:4354 ip6_pkt_discard_out+0x54/0x70 net/ipv6/route.c:4367 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 kernel_sendmsg+0x4d/0x70 net/socket.c:679 sock_no_sendpage+0xda/0x110 net/core/sock.c:2740 kernel_sendpage+0x7b/0xc0 net/socket.c:3776 sock_sendpage+0x6c/0x90 net/socket.c:937 pipe_to_sendpage+0x102/0x1a0 fs/splice.c:458 splice_from_pipe_feed fs/splice.c:512 [inline] __splice_from_pipe+0x295/0x4a0 fs/splice.c:636 splice_from_pipe+0xbb/0x100 fs/splice.c:671 generic_splice_sendpage+0x45/0x60 fs/splice.c:844 do_splice_from fs/splice.c:863 [inline] direct_splice_actor+0xa0/0xc0 fs/splice.c:1037 splice_direct_to_actor+0x22b/0x540 fs/splice.c:992 do_splice_direct+0x161/0x1e0 fs/splice.c:1080 do_sendfile+0x384/0x7f0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0x12a/0x140 fs/read_write.c:1511 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: 8361 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 ==================================================================