================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x674/0x990 fs/udf/super.c:2099 Write of size 1 at addr ffff8880a28da980 by task syz-executor.0/4492 CPU: 1 PID: 4492 Comm: syz-executor.0 Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 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+0x674/0x990 fs/udf/super.c:2099 udf_put_super+0xc8/0x160 fs/udf/super.c:2386 generic_shutdown_super+0x130/0x300 fs/super.c:475 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1143 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:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f77df512c87 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe8a83fbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f77df56cc5a RCX: 00007f77df512c87 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe8a83fc70 RBP: 00007ffe8a83fc70 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe8a840d30 R13: 00007f77df56cc5a R14: 000000000001471d R15: 0000000000000006 The buggy address belongs to the page: page:ffffea00028a3680 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa28da flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea00028a3688 ffffea00028a3688 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: ffff8880a28da880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880a28da900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8880a28da980: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880a28daa00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880a28daa80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================