================================================================== BUG: KCSAN: data-race in __percpu_ref_switch_mode / percpu_ref_switch_to_atomic_rcu write to 0xffff88813ddd1e10 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:2506 [inline] rcu_core+0x7f7/0xeb0 kernel/rcu/tree.c:2741 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2754 __do_softirq+0x158/0x2de kernel/softirq.c:558 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:921 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164 kthread+0x2c7/0x2e0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 read to 0xffff88813ddd1e10 of 8 bytes by task 14612 on cpu 0: __percpu_ref_switch_mode+0xd9/0x3a0 lib/percpu-refcount.c:275 percpu_ref_resurrect+0xcb/0x110 lib/percpu-refcount.c:473 io_refs_resurrect fs/io_uring.c:1274 [inline] io_ctx_quiesce+0xe0/0x212 fs/io_uring.c:10922 __io_uring_register fs/io_uring.c:10950 [inline] __do_sys_io_uring_register+0x37f/0xf2e fs/io_uring.c:11088 __se_sys_io_uring_register fs/io_uring.c:11068 [inline] __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:11068 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 14612 Comm: syz-executor.5 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================