WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ================================================================== BUG: KASAN: use-after-free in crc_itu_t+0x224/0x2b0 lib/crc-itu-t.c:60 Read of size 1 at addr ffff888072ee4000 by task syz-executor271/5066 CPU: 1 PID: 5066 Comm: syz-executor271 Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 print_address_description+0x74/0x340 mm/kasan/report.c:306 print_report+0x107/0x1f0 mm/kasan/report.c:417 kasan_report+0xcd/0x100 mm/kasan/report.c:517 crc_itu_t+0x224/0x2b0 lib/crc-itu-t.c:60 udf_finalize_lvid fs/udf/super.c:2021 [inline] udf_sync_fs+0x1bc/0x360 fs/udf/super.c:2377 sync_filesystem+0xe8/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x310 fs/super.c:474 kill_block_super+0x79/0xd0 fs/super.c:1386 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1291 task_work_run+0x243/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x644/0x2150 kernel/exit.c:867 do_group_exit+0x1fd/0x2b0 kernel/exit.c:1012 __do_sys_exit_group kernel/exit.c:1023 [inline] __se_sys_exit_group kernel/exit.c:1021 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1021 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+0x63/0xcd RIP: 0033:0x7fd58b617099 Code: Unable to access opcode bytes at 0x7fd58b61706f. RSP: 002b:00007ffd3bf463e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fd58b687350 RCX: 00007fd58b617099 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 000000000000000c R10: 000080001d00c0d0 R11: 0000000000000246 R12: 00007fd58b687350 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 The buggy address belongs to the physical page: page:ffffea0001cbb900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x72ee4 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0001ddde48 ffffea0001dc1c08 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 0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), pid 5062, tgid 5062 (scp), ts 65441830241, free_ts 65559597064 prep_new_page mm/page_alloc.c:2531 [inline] get_page_from_freelist+0x742/0x7c0 mm/page_alloc.c:4283 __alloc_pages+0x259/0x560 mm/page_alloc.c:5549 __folio_alloc+0xf/0x30 mm/page_alloc.c:5581 vma_alloc_folio+0x660/0xb60 mm/mempolicy.c:2247 alloc_page_vma include/linux/gfp.h:284 [inline] do_anonymous_page+0x357/0x10b0 mm/memory.c:4074 handle_pte_fault mm/memory.c:4929 [inline] __handle_mm_fault mm/memory.c:5073 [inline] handle_mm_fault+0x1610/0x26b0 mm/memory.c:5219 do_user_addr_fault+0x69b/0xcb0 arch/x86/mm/fault.c:1428 handle_page_fault arch/x86/mm/fault.c:1519 [inline] exc_page_fault+0x7a/0x110 arch/x86/mm/fault.c:1575 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1446 [inline] free_pcp_prepare+0x751/0x780 mm/page_alloc.c:1496 free_unref_page_prepare mm/page_alloc.c:3369 [inline] free_unref_page_list+0xb2/0x830 mm/page_alloc.c:3510 release_pages+0x233e/0x25e0 mm/swap.c:1076 tlb_batch_pages_flush mm/mmu_gather.c:97 [inline] tlb_flush_mmu_free mm/mmu_gather.c:292 [inline] tlb_flush_mmu+0x860/0xa80 mm/mmu_gather.c:299 tlb_finish_mmu+0xcd/0x200 mm/mmu_gather.c:391 exit_mmap+0x275/0x630 mm/mmap.c:3096 __mmput+0x114/0x3b0 kernel/fork.c:1207 exit_mm+0x1ec/0x2c0 kernel/exit.c:563 do_exit+0x5c7/0x2150 kernel/exit.c:854 do_group_exit+0x1fd/0x2b0 kernel/exit.c:1012 __do_sys_exit_group kernel/exit.c:1023 [inline] __se_sys_exit_group kernel/exit.c:1021 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1021 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+0x63/0xcd Memory state around the buggy address: ffff888072ee3f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888072ee3f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888072ee4000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888072ee4080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888072ee4100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================