======================================================= 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 crc_itu_t+0xd2/0xe0 lib/crc-itu-t.c:60 Read of size 1 at addr ffff88806ba7f000 by task syz-executor422/4995 CPU: 1 PID: 4995 Comm: syz-executor422 Not tainted 6.4.0-syzkaller-00082-gc0a572d9d32f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 print_address_description.constprop.0+0x2c/0x3c0 mm/kasan/report.c:351 print_report mm/kasan/report.c:462 [inline] kasan_report+0x11c/0x130 mm/kasan/report.c:572 crc_itu_t+0xd2/0xe0 lib/crc-itu-t.c:60 udf_finalize_lvid+0xe0/0x1d0 fs/udf/super.c:1988 udf_sync_fs+0xea/0x150 fs/udf/super.c:2344 sync_filesystem.part.0+0x75/0x1d0 fs/sync.c:56 sync_filesystem+0x8f/0xc0 fs/sync.c:43 generic_shutdown_super+0x74/0x480 fs/super.c:473 kill_block_super+0xa1/0x100 fs/super.c:1411 deactivate_locked_super+0x98/0x160 fs/super.c:331 deactivate_super+0xb1/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1254 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xaa3/0x29b0 kernel/exit.c:874 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1033 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f8fe94359 Code: Unable to access opcode bytes at 0x7f5f8fe9432f. RSP: 002b:00007ffd6740b198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f5f8ff2c410 RCX: 00007f5f8fe94359 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 00007f5f8ff2c410 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 The buggy address belongs to the physical page: page:ffffea0001ae9fc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x6ba7f flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 ffffea0001aea008 ffffea0001d12e88 0000000000000000 raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 0, migratetype Movable, gfp_mask 0x8(__GFP_MOVABLE), pid 1, tgid 1 (swapper/0), ts 9015827618, free_ts 9529194656 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2db/0x350 mm/page_alloc.c:1731 split_map_pages+0x1ef/0x520 mm/compaction.c:97 isolate_freepages_range+0x313/0x350 mm/compaction.c:735 alloc_contig_range+0x2fa/0x4a0 mm/page_alloc.c:6869 __alloc_contig_pages mm/page_alloc.c:6892 [inline] alloc_contig_pages+0x361/0x4d0 mm/page_alloc.c:6972 debug_vm_pgtable_alloc_huge_page mm/debug_vm_pgtable.c:1090 [inline] init_args mm/debug_vm_pgtable.c:1273 [inline] debug_vm_pgtable+0x91f/0x4210 mm/debug_vm_pgtable.c:1311 do_one_initcall+0x102/0x540 init/main.c:1246 do_initcall_level init/main.c:1319 [inline] do_initcalls init/main.c:1335 [inline] do_basic_setup init/main.c:1354 [inline] kernel_init_freeable+0x64e/0xba0 init/main.c:1571 kernel_init+0x1e/0x2c0 init/main.c:1462 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1302 [inline] free_unref_page_prepare+0x62e/0xcb0 mm/page_alloc.c:2564 free_unref_page+0x33/0x370 mm/page_alloc.c:2659 free_contig_range+0xb5/0x180 mm/page_alloc.c:6994 destroy_args+0x6c4/0x920 mm/debug_vm_pgtable.c:1023 debug_vm_pgtable+0x2412/0x4210 mm/debug_vm_pgtable.c:1403 do_one_initcall+0x102/0x540 init/main.c:1246 do_initcall_level init/main.c:1319 [inline] do_initcalls init/main.c:1335 [inline] do_basic_setup init/main.c:1354 [inline] kernel_init_freeable+0x64e/0xba0 init/main.c:1571 kernel_init+0x1e/0x2c0 init/main.c:1462 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Memory state around the buggy address: ffff88806ba7ef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806ba7ef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88806ba7f000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88806ba7f080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88806ba7f100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================