================================================================== BUG: KCSAN: data-race in __percpu_ref_switch_mode / percpu_ref_switch_to_atomic_rcu write to 0xffff8881427dda50 of 8 bytes by interrupt on cpu 1: percpu_ref_call_confirm_rcu lib/percpu-refcount.c:156 [inline] percpu_ref_switch_to_atomic_rcu+0x188/0x360 lib/percpu-refcount.c:205 rcu_do_batch kernel/rcu/tree.c:2550 [inline] rcu_core+0xb95/0xd50 kernel/rcu/tree.c:2785 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2798 __do_softirq+0x12c/0x26e kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x9a/0xb0 kernel/softirq.c:636 sysvec_apic_timer_interrupt+0x32/0x80 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 read to 0xffff8881427dda50 of 8 bytes by task 26390 on cpu 0: __percpu_ref_switch_mode+0xe6/0x3b0 lib/percpu-refcount.c:275 percpu_ref_resurrect+0xc2/0x110 lib/percpu-refcount.c:473 io_refs_resurrect fs/io_uring.c:1116 [inline] __io_uring_register fs/io_uring.c:10116 [inline] __do_sys_io_uring_register+0xd27/0x1ea0 fs/io_uring.c:10248 __se_sys_io_uring_register fs/io_uring.c:10228 [inline] __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10228 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffffffff818aca20 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26390 Comm: syz-executor.2 Not tainted 5.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================