================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:72 [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 free_conf+0x90/0x4b0 drivers/md/raid5.c:7419 Read of size 8 at addr 0000000000000028 by task syz.4.649/6604 CPU: 0 PID: 6604 Comm: syz.4.649 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 kasan_report+0x10b/0x140 mm/kasan/report.c:524 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x235/0x290 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:72 [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] free_conf+0x90/0x4b0 drivers/md/raid5.c:7419 setup_conf+0x1679/0x29f0 drivers/md/raid5.c:7752 raid5_run+0x8af/0x2960 drivers/md/raid5.c:7931 md_run+0x10bf/0x2260 drivers/md/md.c:6028 do_md_run+0x30/0x400 drivers/md/md.c:6160 md_ioctl+0x249b/0x2880 drivers/md/md.c:7823 blkdev_ioctl+0x37b/0x740 block/ioctl.c:626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f44f279fb19 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:00007f44f3744028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f44f2a25fa0 RCX: 00007f44f279fb19 RDX: 0000000000000000 RSI: 00000000400c0930 RDI: 0000000000000004 RBP: 00007f44f2837af8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f44f2a26038 R14: 00007f44f2a25fa0 R15: 00007ffcbbee2578 ==================================================================