syz-executor542[5049]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set ================================================================== BUG: KASAN: use-after-free in udf_close_lvid+0x508/0x5c0 fs/udf/super.c:2035 Write of size 1 at addr ffff8880816b71d8 by task syz-executor542/5049 CPU: 1 PID: 5049 Comm: syz-executor542 Not tainted 6.5.0-next-20230831-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xc4/0x620 mm/kasan/report.c:475 kasan_report+0xda/0x110 mm/kasan/report.c:588 udf_close_lvid+0x508/0x5c0 fs/udf/super.c:2035 udf_put_super+0x19c/0x200 fs/udf/super.c:2322 generic_shutdown_super+0x161/0x3c0 fs/super.c:693 kill_block_super+0x3b/0x70 fs/super.c:1620 deactivate_locked_super+0x9a/0x170 fs/super.c:481 deactivate_super+0xde/0x100 fs/super.c:514 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254 task_work_run+0x14d/0x240 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa99/0x2a20 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+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f56b1c44ca9 Code: Unable to access opcode bytes at 0x7f56b1c44c7f. RSP: 002b:00007ffd1d5f5018 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f56b1c44ca9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 00007f56b1ce2390 R08: ffffffffffffffb8 R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 00007f56b1ce2390 R13: 0000000000000000 R14: 00007f56b1ce51c0 R15: 00007f56b1c12470 The buggy address belongs to the physical page: page:ffffea000205adc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x816b7 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 ffffea000205adc8 ffffea000205adc8 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: ffff8880816b7080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880816b7100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8880816b7180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880816b7200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880816b7280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================