================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x674/0x990 fs/udf/super.c:2105 Write of size 1 at addr ffff8880b162c398 by task syz-executor/4270 CPU: 1 PID: 4270 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 udf_close_lvid+0x674/0x990 fs/udf/super.c:2105 udf_put_super+0xc8/0x160 fs/udf/super.c:2392 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1191 task_work_run+0x1ca/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7d8a990a77 Code: a8 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd411a97e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f7d8aa13d7d RCX: 00007f7d8a990a77 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd411a98a0 RBP: 00007ffd411a98a0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd411aa930 R13: 00007f7d8aa13d7d R14: 0000000000000005 R15: 00007ffd411aa970 The buggy address belongs to the physical page: page:ffffea0002c58b00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb162c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0002c58b08 ffffea0002c58b08 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: ffff8880b162c280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880b162c300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8880b162c380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880b162c400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880b162c480: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================