RBP: 0000200000037f40 R08: 00007f1e61c5fef0 R09: 0000000001010084 R10: 0000000001010084 R11: 0000000000000246 R12: 00002000000008c0 R13: 00007f1e61c5feb0 R14: 0000000000037f14 R15: 0000200000000480 kobject: kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. 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+0x20c/0x3a0 fs/gfs2/super.c:1052 Read of size 8 at addr 00000000000000a8 by task syz.5.1109/10931 CPU: 1 UID: 0 PID: 10931 Comm: syz.5.1109 Not tainted 6.15.0-next-20250529-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 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+0x2b0/0x2c0 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+0x20c/0x3a0 fs/gfs2/super.c:1052 iput_final fs/inode.c:1868 [inline] iput+0x45d/0x9d0 fs/inode.c:1924 gfs2_fill_super+0x1418/0x2010 fs/gfs2/ops_fstype.c:1314 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1679 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1333 vfs_get_tree+0x8f/0x2b0 fs/super.c:1802 do_new_mount+0x24a/0xa40 fs/namespace.c:3856 do_mount fs/namespace.c:4193 [inline] __do_sys_mount fs/namespace.c:4404 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4381 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:0x7f1e60d9010a 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:00007f1e61c5fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1e61c5fef0 RCX: 00007f1e60d9010a RDX: 0000200000037f40 RSI: 00002000000008c0 RDI: 00007f1e61c5feb0 RBP: 0000200000037f40 R08: 00007f1e61c5fef0 R09: 0000000001010084 R10: 0000000001010084 R11: 0000000000000246 R12: 00002000000008c0 R13: 00007f1e61c5feb0 R14: 0000000000037f14 R15: 0000200000000480 ==================================================================