netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 ================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x674/0x990 fs/udf/super.c:2108 Write of size 1 at addr ffff888064c76b78 by task syz-executor.0/4478 CPU: 1 PID: 4478 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 udf_close_lvid+0x674/0x990 fs/udf/super.c:2108 udf_put_super+0xc8/0x160 fs/udf/super.c:2395 generic_shutdown_super+0x130/0x300 fs/super.c:475 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f2c71582c87 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd3714a208 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f2c715dcc5a RCX: 00007f2c71582c87 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffd3714a2c0 RBP: 00007ffd3714a2c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd3714b380 R13: 00007f2c715dcc5a R14: 0000000000014cc3 R15: 0000000000000006 The buggy address belongs to the page: page:ffffea0001931d80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x100 pfn:0x64c76 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000100 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, ts 20165768238, free_ts 21231140205 split_map_pages+0x277/0x4c0 mm/compaction.c:99 isolate_freepages_range+0x3dd/0x430 mm/compaction.c:749 alloc_contig_range+0x97e/0xcd0 mm/page_alloc.c:9280 __alloc_contig_pages mm/page_alloc.c:9304 [inline] alloc_contig_pages+0x390/0x490 mm/page_alloc.c:9384 debug_vm_pgtable_alloc_huge_page+0xbf/0x110 mm/debug_vm_pgtable.c:1090 init_args+0xb3a/0xdd0 mm/debug_vm_pgtable.c:1212 debug_vm_pgtable+0x42/0x370 mm/debug_vm_pgtable.c:1250 do_one_initcall+0x1ee/0x680 init/main.c:1302 do_initcall_level+0x137/0x1f0 init/main.c:1375 do_initcalls+0x4b/0x90 init/main.c:1391 kernel_init_freeable+0x3ce/0x560 init/main.c:1615 kernel_init+0x19/0x1b0 init/main.c:1506 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 free_contig_range+0x96/0xf0 mm/page_alloc.c:9406 destroy_args+0x100/0xa20 mm/debug_vm_pgtable.c:1018 debug_vm_pgtable+0x318/0x370 mm/debug_vm_pgtable.c:1336 do_one_initcall+0x1ee/0x680 init/main.c:1302 do_initcall_level+0x137/0x1f0 init/main.c:1375 do_initcalls+0x4b/0x90 init/main.c:1391 kernel_init_freeable+0x3ce/0x560 init/main.c:1615 kernel_init+0x19/0x1b0 init/main.c:1506 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff888064c76a00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888064c76a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888064c76b00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888064c76b80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888064c76c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================