================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:102 [inline] BUG: KASAN: null-ptr-deref in test_and_set_bit_lock include/asm-generic/bitops/instrumented-lock.h:57 [inline] BUG: KASAN: null-ptr-deref in trylock_buffer include/linux/buffer_head.h:390 [inline] BUG: KASAN: null-ptr-deref in lock_buffer include/linux/buffer_head.h:396 [inline] BUG: KASAN: null-ptr-deref in udf_getblk fs/udf/inode.c:384 [inline] BUG: KASAN: null-ptr-deref in udf_bread+0x29f/0x4b0 fs/udf/inode.c:1112 Write of size 8 at addr 0000000000000000 by task syz.2.33/4481 CPU: 0 PID: 4481 Comm: syz.2.33 Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_report+0xe6/0x4f0 mm/kasan/report.c:398 kasan_report+0x136/0x160 mm/kasan/report.c:495 kasan_check_range+0x27f/0x290 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] test_and_set_bit_lock include/asm-generic/bitops/instrumented-lock.h:57 [inline] trylock_buffer include/linux/buffer_head.h:390 [inline] lock_buffer include/linux/buffer_head.h:396 [inline] udf_getblk fs/udf/inode.c:384 [inline] udf_bread+0x29f/0x4b0 fs/udf/inode.c:1112 udf_fiiter_append_blk+0x37c/0x8d0 fs/udf/directory.c:462 udf_fiiter_add_entry+0xc3e/0x1f60 fs/udf/namei.c:292 udf_mkdir+0x131/0x6f0 fs/udf/namei.c:436 vfs_mkdir+0x3b6/0x590 fs/namei.c:4106 do_mkdirat+0x225/0x360 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f4d44b84587 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 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:00007f4d459cde68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f4d459cdef0 RCX: 00007f4d44b84587 RDX: 00000000000001ff RSI: 0000000020000040 RDI: 00000000ffffff9c RBP: 0000000020000000 R08: 00000000200000c0 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f4d459cdeb0 R14: 0000000000000000 R15: 0000000000000000 ==================================================================