================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x6a4/0x9a0 fs/udf/super.c:2099 Write of size 1 at addr ffff8880a4c4b980 by task syz-executor.0/4410 CPU: 0 PID: 4410 Comm: syz-executor.0 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 print_address_description+0x63/0x3b0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x16b/0x1c0 mm/kasan/report.c:451 udf_close_lvid+0x6a4/0x9a0 fs/udf/super.c:2099 udf_put_super+0xc9/0x160 fs/udf/super.c:2386 generic_shutdown_super+0x130/0x310 fs/super.c:475 kill_block_super+0x7a/0xe0 fs/super.c:1427 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/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+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa18f217c87 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:00007ffe09f723d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa18f217c87 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe09f72490 RBP: 00007ffe09f72490 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe09f73550 R13: 00007fa18f271c5a R14: 0000000000013eab R15: 0000000000000006 The buggy address belongs to the page: page:ffffea00029312c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa4c4b flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea00029312c8 ffffea00029312c8 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: ffff8880a4c4b880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880a4c4b900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8880a4c4b980: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880a4c4ba00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880a4c4ba80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================