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.3.13/5967 CPU: 0 UID: 0 PID: 5967 Comm: syz.3.13 Not tainted 6.15.0-syzkaller-08297-ge0797d3b91de #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+0x40e/0x4d0 fs/super.c:1686 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1333 vfs_get_tree+0x92/0x2b0 fs/super.c:1809 do_new_mount+0x24a/0xa40 fs/namespace.c:3882 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4410 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:0x7fe52019010a 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:00007fe521029e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe521029ef0 RCX: 00007fe52019010a RDX: 0000200000037f40 RSI: 0000200000037f80 RDI: 00007fe521029eb0 RBP: 0000200000037f40 R08: 00007fe521029ef0 R09: 0000000000010000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000200000037f80 R13: 00007fe521029eb0 R14: 0000000000037fe8 R15: 00002000000000c0 ==================================================================