==================================================================
BUG: KASAN: use-after-free in udf_close_lvid+0x508/0x5c0 fs/udf/super.c:2035
Write of size 1 at addr ffff88808efa3008 by task syz-executor.3/9111

CPU: 0 PID: 9111 Comm: syz-executor.3 Not tainted 6.7.0-rc5-syzkaller-00270-g0e389834672c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:364 [inline]
 print_report+0xc4/0x620 mm/kasan/report.c:475
 kasan_report+0xda/0x110 mm/kasan/report.c:588
 udf_close_lvid+0x508/0x5c0 fs/udf/super.c:2035
 udf_put_super+0x19c/0x200 fs/udf/super.c:2322
 generic_shutdown_super+0x161/0x3d0 fs/super.c:696
 kill_block_super+0x3b/0x90 fs/super.c:1667
 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484
 deactivate_super+0xde/0x100 fs/super.c:517
 cleanup_mnt+0x222/0x450 fs/namespace.c:1256
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa8a/0x2ad0 kernel/exit.c:869
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1018
 get_signal+0x23b5/0x2790 kernel/signal.c:2904
 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
 exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
 exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296
 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fd2ce4a7fb5
Code: Unable to access opcode bytes at 0x7fd2ce4a7f8b.
RSP: 002b:00007fd2cf1a0010 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: fffffffffffffdfc RBX: 00007fd2ce59bf80 RCX: 00007fd2ce4a7fb5
RDX: 00007fd2cf1a0050 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fd2ce4c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 000000000000000b R14: 00007fd2ce59bf80 R15: 00007ffd79879578
 </TASK>

The buggy address belongs to the physical page:
page:ffffea00023be8c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8efa3
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea00023be8c8 ffffea00023be8c8 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:
 ffff88808efa2f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88808efa2f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88808efa3000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                      ^
 ffff88808efa3080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88808efa3100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================