RDX: 0000200000000280 RSI: 00000000400c0930 RDI: 0000000000000004 RBP: 00007fededc36b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fedede26038 R14: 00007fedede25fa0 R15: 00007ffe5d0edd68 ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:82 [inline] BUG: KASAN: null-ptr-deref in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] BUG: KASAN: null-ptr-deref in raid5_has_ppl drivers/md/raid5-log.h:54 [inline] BUG: KASAN: null-ptr-deref in log_exit drivers/md/raid5-log.h:128 [inline] BUG: KASAN: null-ptr-deref in log_exit drivers/md/raid5-log.h:124 [inline] BUG: KASAN: null-ptr-deref in free_conf+0x57d/0x710 drivers/md/raid5.c:7549 Read of size 8 at addr 0000000000000028 by task syz.2.7636/28861 CPU: 0 UID: 0 PID: 28861 Comm: syz.2.7636 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:186 [inline] kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200 instrument_atomic_read include/linux/instrumented.h:82 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] raid5_has_ppl drivers/md/raid5-log.h:54 [inline] log_exit drivers/md/raid5-log.h:128 [inline] log_exit drivers/md/raid5-log.h:124 [inline] free_conf+0x57d/0x710 drivers/md/raid5.c:7549 setup_conf+0xd80/0x2a20 drivers/md/raid5.c:7885 raid5_run+0x1260/0x1670 drivers/md/raid5.c:8129 md_run+0xc2f/0x2510 drivers/md/md.c:6779 do_md_run+0x36/0x660 drivers/md/md.c:6880 md_ioctl+0x27e6/0x36c0 drivers/md/md.c:8515 blkdev_ioctl+0x5ad/0x6f0 block/ioctl.c:798 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fededb9f559 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:00007fedeea33028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fedede25fa0 RCX: 00007fededb9f559 RDX: 0000200000000280 RSI: 00000000400c0930 RDI: 0000000000000004 RBP: 00007fededc36b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fedede26038 R14: 00007fedede25fa0 R15: 00007ffe5d0edd68 ================================================================== Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 0 UID: 0 PID: 28861 Comm: syz.2.7636 Tainted: G B L syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:202 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:232 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:raid5_has_ppl drivers/md/raid5-log.h:54 [inline] RIP: 0010:log_exit drivers/md/raid5-log.h:128 [inline] RIP: 0010:log_exit drivers/md/raid5-log.h:124 [inline] RIP: 0010:free_conf+0x58e/0x710 drivers/md/raid5.c:7549 Code: 4c 8b a3 08 02 00 00 be 08 00 00 00 49 8d 6c 24 28 48 89 ef e8 73 05 ec f9 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 55 01 00 00 49 8b 6c 24 28 31 ff 48 c1 ed 06 83 RSP: 0018:ffffc9000579f8d0 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888051c10000 RCX: ffffc9000ffb2000 RDX: 0000000000000005 RSI: ffffffff81c9939d RDI: 0000000000000007 RBP: 0000000000000028 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff95beab27 R11: 0000000000000000 R12: 0000000000000000 R13: ffffed100a3820cc R14: 0000000000000018 R15: 0000000000000001 FS: 00007fedeea336c0(0000) GS:ffff88812247d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb6a34cfee0 CR3: 0000000040ea6000 CR4: 0000000000350ef0 Call Trace: setup_conf+0xd80/0x2a20 drivers/md/raid5.c:7885 raid5_run+0x1260/0x1670 drivers/md/raid5.c:8129 md_run+0xc2f/0x2510 drivers/md/md.c:6779 do_md_run+0x36/0x660 drivers/md/md.c:6880 md_ioctl+0x27e6/0x36c0 drivers/md/md.c:8515 blkdev_ioctl+0x5ad/0x6f0 block/ioctl.c:798 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fededb9f559 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:00007fedeea33028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fedede25fa0 RCX: 00007fededb9f559 RDX: 0000200000000280 RSI: 00000000400c0930 RDI: 0000000000000004 RBP: 00007fededc36b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fedede26038 R14: 00007fedede25fa0 R15: 00007ffe5d0edd68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:202 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:232 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:raid5_has_ppl drivers/md/raid5-log.h:54 [inline] RIP: 0010:log_exit drivers/md/raid5-log.h:128 [inline] RIP: 0010:log_exit drivers/md/raid5-log.h:124 [inline] RIP: 0010:free_conf+0x58e/0x710 drivers/md/raid5.c:7549 Code: 4c 8b a3 08 02 00 00 be 08 00 00 00 49 8d 6c 24 28 48 89 ef e8 73 05 ec f9 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 55 01 00 00 49 8b 6c 24 28 31 ff 48 c1 ed 06 83 RSP: 0018:ffffc9000579f8d0 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888051c10000 RCX: ffffc9000ffb2000 RDX: 0000000000000005 RSI: ffffffff81c9939d RDI: 0000000000000007 RBP: 0000000000000028 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff95beab27 R11: 0000000000000000 R12: 0000000000000000 R13: ffffed100a3820cc R14: 0000000000000018 R15: 0000000000000001 FS: 00007fedeea336c0(0000) GS:ffff88812257d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5f9f4cd000 CR3: 0000000040ea6000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 4c 8b a3 08 02 00 00 mov 0x208(%rbx),%r12 7: be 08 00 00 00 mov $0x8,%esi c: 49 8d 6c 24 28 lea 0x28(%r12),%rbp 11: 48 89 ef mov %rbp,%rdi 14: e8 73 05 ec f9 call 0xf9ec058c 19: 48 89 ea mov %rbp,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 55 01 00 00 jne 0x189 34: 49 8b 6c 24 28 mov 0x28(%r12),%rbp 39: 31 ff xor %edi,%edi 3b: 48 c1 ed 06 shr $0x6,%rbp 3f: 83 .byte 0x83