loop0: detected capacity change from 0 to 2048 UDF-fs: error (device loop0): udf_read_tagged: tag checksum failed, block 99: 0x27 != 0x4d UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) ================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x6a4/0x9a0 fs/udf/super.c:2076 Write of size 1 at addr ffff8880b3b66980 by task syz-executor162/3497 CPU: 1 PID: 3497 Comm: syz-executor162 Not tainted 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb 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:2076 udf_put_super+0xc9/0x160 fs/udf/super.c:2363 generic_shutdown_super+0x136/0x2c0 fs/super.c:475 kill_block_super+0x7a/0xe0 fs/super.c:1405 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:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:872 do_group_exit+0x144/0x310 kernel/exit.c:994 __do_sys_exit_group kernel/exit.c:1005 [inline] __se_sys_exit_group kernel/exit.c:1003 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1003 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7eff21cadbf9 Code: Unable to access opcode bytes at RIP 0x7eff21cadbcf. RSP: 002b:00007ffc0c938698 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007eff21d42330 RCX: 00007eff21cadbf9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 00007eff21d42330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 The buggy address belongs to the page: page:ffffea0002ced980 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb3b66 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0002ced988 ffffea0002ced988 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: ffff8880b3b66880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880b3b66900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8880b3b66980: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880b3b66a00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880b3b66a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================