loop0: detected capacity change from 0 to 2048 UDF-fs: error (device loop0): udf_read_tagged: read failed, block=17146, location=17146 UDF-fs: INFO Mounting volume 'LiuxUDF', timestamp 2022/11/22 14:59 (1000) ================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x6a4/0x9a0 fs/udf/super.c:2073 Write of size 1 at addr ffff8881561b3dc0 by task syz-executor424/3546 CPU: 1 PID: 3546 Comm: syz-executor424 Not tainted 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x15f/0x4f0 mm/kasan/report.c:395 kasan_report+0x136/0x160 mm/kasan/report.c:495 udf_close_lvid+0x6a4/0x9a0 fs/udf/super.c:2073 udf_put_super+0xc9/0x160 fs/udf/super.c:2360 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7a/0xe0 fs/super.c:1459 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa73/0x26a0 kernel/exit.c:869 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe0357bca79 Code: Unable to access opcode bytes at 0x7fe0357bca4f. RSP: 002b:00007ffffa5fe8c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fe0357bca79 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 00007fe03583a390 R08: ffffffffffffffb8 R09: 000000000000000d R10: 00000000200001c0 R11: 0000000000000246 R12: 00007fe03583a390 R13: 0000000000000000 R14: 00007fe03583c160 R15: 00007fe035783170 The buggy address belongs to the physical page: page:ffffea0005586cc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1561b3 flags: 0x57ff80000000000(node=1|zone=2|lastcpupid=0xfff) raw: 057ff80000000000 ffffea0005586cc8 ffffea0005586cc8 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: ffff8881561b3c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8881561b3d00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8881561b3d80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8881561b3e00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8881561b3e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================