================================================================== BUG: KCSAN: data-race in do_sys_poll / pollwake read to 0xffffc9000748bbc0 of 4 bytes by task 17778 on cpu 1: poll_schedule_timeout fs/select.c:240 [inline] do_poll fs/select.c:958 [inline] do_sys_poll+0x99c/0xbd0 fs/select.c:1009 __do_sys_ppoll fs/select.c:1115 [inline] __se_sys_ppoll+0x1b9/0x200 fs/select.c:1095 __x64_sys_ppoll+0x67/0x80 fs/select.c:1095 x64_sys_call+0x2de5/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:272 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffffc9000748bbc0 of 4 bytes by interrupt on cpu 0: __pollwake fs/select.c:195 [inline] pollwake+0xb6/0x100 fs/select.c:215 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock kernel/sched/wait.c:106 [inline] __wake_up+0x66/0xb0 kernel/sched/wait.c:127 bpf_ringbuf_notify+0x22/0x30 kernel/bpf/ringbuf.c:155 irq_work_single kernel/irq_work.c:221 [inline] irq_work_run_list kernel/irq_work.c:252 [inline] irq_work_run+0xe2/0x2d0 kernel/irq_work.c:261 __sysvec_irq_work+0x22/0x170 arch/x86/kernel/irq_work.c:22 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0x66/0x80 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 __wrmsrq arch/x86/include/asm/msr.h:80 [inline] native_write_msr arch/x86/include/asm/msr.h:137 [inline] wrmsrq arch/x86/include/asm/msr.h:199 [inline] native_apic_msr_write+0x3d/0x60 arch/x86/include/asm/apic.h:212 apic_write arch/x86/include/asm/apic.h:405 [inline] x2apic_send_IPI_self+0x10/0x20 arch/x86/kernel/apic/x2apic_phys.c:107 __apic_send_IPI_self arch/x86/include/asm/apic.h:455 [inline] arch_irq_work_raise+0x46/0x50 arch/x86/kernel/irq_work.c:31 irq_work_raise kernel/irq_work.c:84 [inline] __irq_work_queue_local+0x10f/0x2c0 kernel/irq_work.c:112 irq_work_queue+0x70/0x100 kernel/irq_work.c:124 bpf_ringbuf_commit kernel/bpf/ringbuf.c:-1 [inline] ____bpf_ringbuf_discard kernel/bpf/ringbuf.c:525 [inline] bpf_ringbuf_discard+0xd3/0xf0 kernel/bpf/ringbuf.c:523 bpf_prog_fe0ed97373b08409+0x4b/0x4f bpf_dispatcher_nop_func include/linux/bpf.h:1322 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2258 [inline] bpf_trace_run3+0x10f/0x1d0 kernel/trace/bpf_trace.c:2300 __traceiter_kmem_cache_free+0x35/0x60 include/trace/events/kmem.h:114 __do_trace_kmem_cache_free include/trace/events/kmem.h:114 [inline] trace_kmem_cache_free include/trace/events/kmem.h:114 [inline] kmem_cache_free+0x257/0x300 mm/slub.c:4744 kfree_skbmem net/core/skbuff.c:-1 [inline] __kfree_skb+0x109/0x150 net/core/skbuff.c:1167 tcp_rcv_established+0x953/0xef0 net/ipv4/tcp_input.c:6232 tcp_v4_do_rcv+0x672/0x740 net/ipv4/tcp_ipv4.c:1925 tcp_v4_rcv+0x1bd7/0x1f60 net/ipv4/tcp_ipv4.c:2363 ip_protocol_deliver_rcu+0x397/0x780 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x184/0x220 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:317 [inline] ip_local_deliver+0xe8/0x1c0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:469 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:579 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0x56b/0x650 net/ipv4/ip_input.c:636 ip_list_rcv+0x261/0x290 net/ipv4/ip_input.c:670 __netif_receive_skb_list_ptype net/core/dev.c:6020 [inline] __netif_receive_skb_list_core+0x4dc/0x500 net/core/dev.c:6067 __netif_receive_skb_list net/core/dev.c:6119 [inline] netif_receive_skb_list_internal+0x487/0x600 net/core/dev.c:6210 gro_normal_list include/net/gro.h:532 [inline] napi_complete_done+0x1a3/0x410 net/core/dev.c:6580 virtqueue_napi_complete drivers/net/virtio_net.c:737 [inline] virtnet_poll+0x18c5/0x1d10 drivers/net/virtio_net.c:3076 __napi_poll+0x63/0x3a0 net/core/dev.c:7414 napi_poll net/core/dev.c:7478 [inline] net_rx_action+0x391/0x830 net/core/dev.c:7605 handle_softirqs+0xb7/0x290 kernel/softirq.c:579 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:968 smpboot_thread_fn+0x328/0x530 kernel/smpboot.c:164 kthread+0x489/0x510 kernel/kthread.c:464 ret_from_fork+0xda/0x150 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 value changed: 0x00000001 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 6.16.0-rc6-syzkaller-00037-ge2291551827f #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================