================================================================== BUG: KCSAN: data-race in pollwake / pollwake write to 0xffffc900013279d0 of 4 bytes by interrupt on cpu 1: __pollwake fs/select.c:195 [inline] pollwake+0xc1/0x110 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+0x65/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+0xe1/0x2d0 kernel/irq_work.c:261 __sysvec_irq_work+0x23/0x1a0 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 native_apic_mem_write arch/x86/include/asm/apic.h:101 [inline] __default_send_IPI_shortcut arch/x86/kernel/apic/ipi.c:167 [inline] default_send_IPI_self+0x38/0x80 arch/x86/kernel/apic/ipi.c:248 __apic_send_IPI_self arch/x86/include/asm/apic.h:455 [inline] arch_irq_work_raise+0x48/0x50 arch/x86/kernel/irq_work.c:31 irq_work_raise kernel/irq_work.c:84 [inline] __irq_work_queue_local+0x82/0x1d0 kernel/irq_work.c:112 irq_work_queue+0x85/0x120 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+0xcd/0xf0 kernel/bpf/ringbuf.c:523 bpf_prog_fe0ed97373b08409+0x47/0x4b bpf_dispatcher_nop_func include/linux/bpf.h:1316 [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:2363 [inline] bpf_trace_run3+0x10e/0x1d0 kernel/trace/bpf_trace.c:2405 __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+0x243/0x2e0 mm/slub.c:4757 ext4_free_io_end_vec fs/ext4/page-io.c:76 [inline] ext4_release_io_end+0x174/0x1f0 fs/ext4/page-io.c:162 ext4_put_io_end+0xfc/0x130 fs/ext4/page-io.c:337 ext4_do_writepages+0xb81/0x21d0 fs/ext4/inode.c:2772 ext4_writepages+0x183/0x320 fs/ext4/inode.c:2829 do_writepages+0x1d8/0x480 mm/page-writeback.c:2656 __writeback_single_inode+0x89/0x850 fs/fs-writeback.c:1680 writeback_sb_inodes+0x458/0xa10 fs/fs-writeback.c:1976 wb_writeback+0x264/0x650 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x1aa/0x960 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x4de/0xa20 kernel/workqueue.c:3319 worker_thread+0x52c/0x710 kernel/workqueue.c:3400 kthread+0x4b7/0x540 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 write to 0xffffc900013279d0 of 4 bytes by task 6069 on cpu 0: __pollwake fs/select.c:195 [inline] pollwake+0xc1/0x110 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_sync_key+0x51/0x80 kernel/sched/wait.c:173 sock_def_readable+0x70/0x1b0 net/core/sock.c:3533 packet_rcv+0x92b/0x990 net/packet/af_packet.c:2263 dev_queue_xmit_nit+0x63c/0x6a0 net/core/dev.c:2533 xmit_one net/core/dev.c:3772 [inline] dev_hard_start_xmit+0xe1/0x400 net/core/dev.c:3792 __dev_queue_xmit+0x101a/0x20b0 net/core/dev.c:4629 dev_queue_xmit include/linux/netdevice.h:3350 [inline] neigh_resolve_output+0x3ea/0x460 net/core/neighbour.c:1512 neigh_output include/net/neighbour.h:539 [inline] ip6_finish_output2+0xa96/0xd70 net/ipv6/ip6_output.c:141 __ip6_finish_output net/ipv6/ip6_output.c:-1 [inline] ip6_finish_output+0x43b/0x540 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0xf7/0x240 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:459 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0x4de/0x700 net/ipv6/ndisc.c:513 ndisc_send_rs+0x2e6/0x360 net/ipv6/ndisc.c:723 addrconf_dad_completed+0x61b/0x8a0 net/ipv6/addrconf.c:4361 addrconf_dad_work+0x8e6/0xc30 net/ipv6/addrconf.c:-1 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x4de/0xa20 kernel/workqueue.c:3319 worker_thread+0x52c/0x710 kernel/workqueue.c:3400 kthread+0x4b7/0x540 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 6069 Comm: kworker/u8:24 Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: ipv6_addrconf addrconf_dad_work ==================================================================