================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x691/0x9b0 fs/udf/super.c:2130 Write of size 1 at addr ffff88816d781a60 by task syz.5.1170/9449 CPU: 1 PID: 9449 Comm: syz.5.1170 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 udf_close_lvid+0x691/0x9b0 fs/udf/super.c:2130 udf_put_super+0xc8/0x160 fs/udf/super.c:2411 generic_shutdown_super+0x130/0x300 fs/super.c:475 kill_block_super+0x7c/0xe0 fs/super.c:1438 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x426/0x4d0 fs/namespace.c:1148 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:184 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217 __syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa78d1ff1d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa78b457028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fa78d486fa0 RCX: 00007fa78d1ff1d9 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000200000000040 RBP: 00007fa78d296888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa78d487038 R14: 00007fa78d486fa0 R15: 00007ffe1d7e47d8 The buggy address belongs to the page: page:ffffea0005b5e040 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x16d781 flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff) raw: 057ff00000000000 ffffea0005b5e048 ffffea0005b5e048 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffff88816d781900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88816d781980: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88816d781a00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88816d781a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88816d781b00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================