================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:68 [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 gfs2_drop_inode+0x1b2/0x340 fs/gfs2/super.c:1056 Read of size 8 at addr 00000000000000a8 by task syz.6.20/4456 CPU: 1 UID: 0 PID: 4456 Comm: syz.6.20 Not tainted 6.15.0-rc3-syzkaller #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0xf4/0x170 lib/dump_stack.c:120 kasan_report+0x118/0x150 mm/kasan/report.c:634 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x29a/0x2b0 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] gfs2_drop_inode+0x1b2/0x340 fs/gfs2/super.c:1056 iput_final fs/inode.c:1868 [inline] iput+0x30d/0x6a0 fs/inode.c:1924 gfs2_fill_super+0x10ed/0x1b40 fs/gfs2/ops_fstype.c:1316 get_tree_bdev_flags+0x3d1/0x470 fs/super.c:1636 gfs2_get_tree+0x4c/0x1a0 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x84/0x1a0 fs/super.c:1759 do_new_mount+0x1c7/0x850 fs/namespace.c:3881 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x218/0x2b0 fs/namespace.c:4409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x8f/0x170 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f190159010a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1902329e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1902329ef0 RCX: 00007f190159010a RDX: 0000200000021140 RSI: 0000200000021180 RDI: 00007f1902329eb0 RBP: 0000200000021140 R08: 00007f1902329ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000021180 R13: 00007f1902329eb0 R14: 000000000002113b R15: 00002000000211c0 ==================================================================