general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 22436 Comm: syz.2.4830 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:percpu_ref_kill_and_confirm+0xf1/0x130 lib/percpu-refcount.c:392 Code: 01 4c 8d 63 08 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 be c9 b2 fd 4d 8b 24 24 49 83 c4 08 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 a0 c9 b2 fd 49 8b 14 24 48 c7 c7 RSP: 0018:ffffc90003617a08 EFLAGS: 00010002 RAX: 0000000000000001 RBX: ffff8880797c40d0 RCX: 0000000000080000 RDX: ffffc90018f51000 RSI: 00000000000041d6 RDI: 00000000000041d7 RBP: 1ffff1100f2f881a R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520006c2f1c R12: 0000000000000008 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000a02 FS: 00007ffa9db3d6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f861004ff5c CR3: 000000006aa92000 CR4: 00000000003506e0 Call Trace: percpu_ref_kill include/linux/percpu-refcount.h:149 [inline] __mddev_suspend+0x2d1/0x630 drivers/md/md.c:533 mddev_suspend_and_lock drivers/md/md.h:876 [inline] raid_disks_store+0xb8/0x550 drivers/md/md.c:4320 md_attr_store+0x19c/0x390 drivers/md/md.c:5756 kernfs_fop_write_iter+0x3a4/0x520 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2019 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x474/0x9a0 fs/read_write.c:584 ksys_write+0x151/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ffa9cb9f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffa9db3d028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ffa9ce25fa0 RCX: 00007ffa9cb9f559 RDX: 0000000000000002 RSI: 0000200000000240 RDI: 0000000000000005 RBP: 00007ffa9cc36b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffa9ce26038 R14: 00007ffa9ce25fa0 R15: 00007fffbf1d79e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:percpu_ref_kill_and_confirm+0xf1/0x130 lib/percpu-refcount.c:392 Code: 01 4c 8d 63 08 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 be c9 b2 fd 4d 8b 24 24 49 83 c4 08 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 a0 c9 b2 fd 49 8b 14 24 48 c7 c7 RSP: 0018:ffffc90003617a08 EFLAGS: 00010002 RAX: 0000000000000001 RBX: ffff8880797c40d0 RCX: 0000000000080000 RDX: ffffc90018f51000 RSI: 00000000000041d6 RDI: 00000000000041d7 RBP: 1ffff1100f2f881a R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520006c2f1c R12: 0000000000000008 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000a02 FS: 00007ffa9db3d6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f861004ff5c CR3: 000000006aa92000 CR4: 00000000003506e0 ---------------- Code disassembly (best guess): 0: 01 4c 8d 63 add %ecx,0x63(%rbp,%rcx,4) 4: 08 4c 89 e0 or %cl,-0x20(%rcx,%rcx,4) 8: 48 c1 e8 03 shr $0x3,%rax c: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 11: 74 08 je 0x1b 13: 4c 89 e7 mov %r12,%rdi 16: e8 be c9 b2 fd call 0xfdb2c9d9 1b: 4d 8b 24 24 mov (%r12),%r12 1f: 49 83 c4 08 add $0x8,%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 a0 c9 b2 fd call 0xfdb2c9d9 39: 49 8b 14 24 mov (%r12),%rdx 3d: 48 rex.W 3e: c7 .byte 0xc7 3f: c7 .byte 0xc7