================================================================== BUG: KCSAN: data-race in __percpu_ref_switch_mode / percpu_ref_switch_to_atomic_rcu write to 0xffff8881003ffa90 of 8 bytes by interrupt on cpu 0: 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:2508 [inline] rcu_core+0xbd5/0xd90 kernel/rcu/tree.c:2743 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2756 __do_softirq+0x12c/0x26e kernel/softirq.c:558 run_ksoftirqd+0x13/0x20 kernel/softirq.c:920 smpboot_thread_fn+0x22f/0x330 kernel/smpboot.c:164 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 read to 0xffff8881003ffa90 of 8 bytes by task 28657 on cpu 1: __percpu_ref_switch_mode+0xf6/0x3c0 lib/percpu-refcount.c:275 percpu_ref_resurrect+0xc2/0x110 lib/percpu-refcount.c:473 io_refs_resurrect fs/io_uring.c:1196 [inline] io_ctx_quiesce fs/io_uring.c:10707 [inline] __io_uring_register fs/io_uring.c:10735 [inline] __do_sys_io_uring_register+0x124b/0x21a0 fs/io_uring.c:10873 __se_sys_io_uring_register fs/io_uring.c:10853 [inline] __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10853 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffffffff818d4940 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 28657 Comm: syz-executor.1 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================