gfs2: fsid=syz:syz: error -17 adding sysfs files ================================================================== 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:1062 Read of size 8 at addr 00000000000000a8 by task syz.3.18/6772 CPU: 0 UID: 0 PID: 6772 Comm: syz.3.18 Not tainted 6.15.0-rc5-next-20250507-syzkaller-09308-g08710e696081 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Call Trace: dump_stack_lvl+0xfc/0x190 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:1062 iput_final fs/inode.c:1868 [inline] iput+0x344/0x780 fs/inode.c:1924 gfs2_fill_super+0x115e/0x1b40 fs/gfs2/ops_fstype.c:1320 get_tree_bdev_flags+0x3d1/0x470 fs/super.c:1686 gfs2_get_tree+0x4c/0x1a0 fs/gfs2/ops_fstype.c:1339 vfs_get_tree+0x84/0x260 fs/super.c:1809 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+0x222/0x2b0 fs/namespace.c:4409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd16ef772da Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 7e 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:00007fd16fca3e78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd16fca3f00 RCX: 00007fd16ef772da RDX: 00000000200124c0 RSI: 0000000020000180 RDI: 00007fd16fca3ec0 RBP: 00000000200124c0 R08: 00007fd16fca3f00 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000180 R13: 00007fd16fca3ec0 R14: 00000000000125b0 R15: 0000000020000480 ==================================================================