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+0xd2/0xe0 lib/crc-itu-t.c:60 Read of size 1 at addr ffff8880733d8000 by task syz-executor109/5060 CPU: 1 PID: 5060 Comm: syz-executor109 Not tainted 6.2.0-rc8-syzkaller-00015-gf6feea56f66d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:306 [inline] print_report+0x15e/0x45d mm/kasan/report.c:417 kasan_report+0xbf/0x1f0 mm/kasan/report.c:517 crc_itu_t+0xd2/0xe0 lib/crc-itu-t.c:60 udf_finalize_lvid+0xe0/0x1d0 fs/udf/super.c:2021 udf_sync_fs+0xea/0x150 fs/udf/super.c:2377 sync_filesystem.part.0+0x75/0x1d0 fs/sync.c:56 sync_filesystem+0x8f/0xc0 fs/sync.c:43 generic_shutdown_super+0x74/0x410 fs/super.c:474 kill_block_super+0x9b/0xf0 fs/super.c:1386 deactivate_locked_super+0x98/0x160 fs/super.c:332 deactivate_super+0xb1/0xd0 fs/super.c:363 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1291 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xaa8/0x2950 kernel/exit.c:867 do_group_exit+0xd4/0x2a0 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+0x3e/0x50 kernel/exit.c:1021 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:0x7f5b792571d9 Code: Unable to access opcode bytes at 0x7f5b792571af. RSP: 002b:00007ffedb67fbd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f5b792d6390 RCX: 00007f5b792571d9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 00007ffe00000000 R10: 000080001d00c0d0 R11: 0000000000000246 R12: 00007f5b792d6390 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 The buggy address belongs to the physical page: page:ffffea0001ccf600 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x733d8 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0001ccf648 ffffea0001d16908 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 5054, tgid 5054 (sshd), ts 43685980973, free_ts 43693956790 prep_new_page mm/page_alloc.c:2531 [inline] get_page_from_freelist+0x119c/0x2ce0 mm/page_alloc.c:4283 __alloc_pages+0x1cb/0x5b0 mm/page_alloc.c:5549 __folio_alloc+0x16/0x40 mm/page_alloc.c:5581 vma_alloc_folio+0x155/0x870 mm/mempolicy.c:2248 alloc_page_vma include/linux/gfp.h:284 [inline] do_anonymous_page mm/memory.c:4077 [inline] handle_pte_fault mm/memory.c:4932 [inline] __handle_mm_fault+0x1822/0x3c90 mm/memory.c:5076 handle_mm_fault+0x1b6/0x850 mm/memory.c:5222 do_user_addr_fault+0x475/0x1210 arch/x86/mm/fault.c:1428 handle_page_fault arch/x86/mm/fault.c:1519 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1575 asm_exc_page_fault+0x26/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+0x65c/0xc00 mm/page_alloc.c:1496 free_unref_page_prepare mm/page_alloc.c:3369 [inline] free_unref_page_list+0x176/0xcd0 mm/page_alloc.c:3510 release_pages+0xcb1/0x1330 mm/swap.c:1076 tlb_batch_pages_flush+0xa8/0x1a0 mm/mmu_gather.c:97 tlb_flush_mmu_free mm/mmu_gather.c:292 [inline] tlb_flush_mmu mm/mmu_gather.c:299 [inline] tlb_finish_mmu+0x14b/0x7e0 mm/mmu_gather.c:391 unmap_region+0x22c/0x2b0 mm/mmap.c:2191 do_mas_align_munmap+0xc44/0x1260 mm/mmap.c:2444 do_mas_munmap+0x26e/0x2c0 mm/mmap.c:2502 __vm_munmap+0x14f/0x290 mm/mmap.c:2779 __do_sys_munmap mm/mmap.c:2804 [inline] __se_sys_munmap mm/mmap.c:2801 [inline] __x64_sys_munmap+0x59/0x80 mm/mmap.c:2801 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 Memory state around the buggy address: ffff8880733d7f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880733d7f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880733d8000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880733d8080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880733d8100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================