================================================================== BUG: KASAN: slab-use-after-free in __list_del_entry_valid_or_report+0x92/0x190 lib/list_debug.c:62 Read of size 8 at addr ffff88807d4a73f8 by task syz.3.1422/9804 CPU: 1 UID: 0 PID: 9804 Comm: syz.3.1422 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xba/0x230 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 __list_del_entry_valid_or_report+0x92/0x190 lib/list_debug.c:62 __list_del_entry_valid include/linux/list.h:132 [inline] __list_del_entry include/linux/list.h:223 [inline] list_del_init include/linux/list.h:295 [inline] trace_transfers fs/pnode.c:132 [inline] bulk_make_private+0xd9/0x8b0 fs/pnode.c:168 umount_tree+0x582/0xd90 fs/namespace.c:1786 put_mnt_ns+0x1d6/0x2f0 fs/namespace.c:6240 nsproxy_free kernel/nsproxy.c:65 [inline] deactivate_nsproxy+0x41/0x140 kernel/nsproxy.c:79 do_exit+0x696/0x2320 kernel/exit.c:970 do_group_exit+0x21b/0x2d0 kernel/exit.c:1112 get_signal+0x1284/0x1330 kernel/signal.c:3034 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f353695c84e Code: Unable to access opcode bytes at 0x7f353695c824. RSP: 002b:00007f3534bd4f58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007f3534bd56c0 RCX: 00007f353695c84e RDX: 00007f3534bd4fb0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f3536a327e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3536c16128 R14: 00007f3536c16090 R15: 00007fffb5aa5898 Allocated by task 11003: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:340 [inline] __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:366 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4501 [inline] slab_alloc_node mm/slub.c:4830 [inline] kmem_cache_alloc_noprof+0x2bc/0x650 mm/slub.c:4837 alloc_vfsmnt+0x23/0x420 fs/namespace.c:287 clone_mnt+0x4b/0x9a0 fs/namespace.c:1246 create_new_namespace fs/namespace.c:3093 [inline] open_new_namespace+0x22f/0xd60 fs/namespace.c:3168 vfs_open_tree+0x331/0x3d0 fs/namespace.c:3217 __do_sys_open_tree fs/namespace.c:3229 [inline] __se_sys_open_tree fs/namespace.c:3227 [inline] __x64_sys_open_tree+0x96/0x110 fs/namespace.c:3227 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 11005: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2687 [inline] slab_free mm/slub.c:6124 [inline] kmem_cache_free+0x187/0x630 mm/slub.c:6254 rcu_do_batch kernel/rcu/tree.c:2617 [inline] rcu_core+0x7cd/0x1070 kernel/rcu/tree.c:2869 handle_softirqs+0x22a/0x870 kernel/softirq.c:626 __do_softirq kernel/softirq.c:660 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:727 irq_exit_rcu+0x9/0x30 kernel/softirq.c:743 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:57 kasan_record_aux_stack+0xbd/0xd0 mm/kasan/generic.c:556 __call_rcu_common kernel/rcu/tree.c:3131 [inline] call_rcu+0xee/0x890 kernel/rcu/tree.c:3251 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f Second to last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:57 kasan_record_aux_stack+0xbd/0xd0 mm/kasan/generic.c:556 task_work_add+0xb6/0x440 kernel/task_work.c:70 mntput_no_expire_slowpath+0x70c/0xbd0 fs/namespace.c:1379 create_new_namespace fs/namespace.c:3161 [inline] open_new_namespace+0x262/0xd60 fs/namespace.c:3168 vfs_open_tree+0x331/0x3d0 fs/namespace.c:3217 __do_sys_open_tree fs/namespace.c:3229 [inline] __se_sys_open_tree fs/namespace.c:3227 [inline] __x64_sys_open_tree+0x96/0x110 fs/namespace.c:3227 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88807d4a7340 which belongs to the cache mnt_cache of size 352 The buggy address is located 184 bytes inside of freed 352-byte region [ffff88807d4a7340, ffff88807d4a74a0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807d4a6380 pfn:0x7d4a6 head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88807d4a6171 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff888140413640 ffffea00008db390 ffffea0001f12f10 raw: ffff88807d4a6380 000001c000120002 00000000f5000000 ffff88807d4a6171 head: 00fff00000000240 ffff888140413640 ffffea00008db390 ffffea0001f12f10 head: ffff88807d4a6380 000001c000120002 00000000f5000000 ffff88807d4a6171 head: 00fff00000000001 ffffea0001f52981 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5827, tgid 5827 (syz-executor), ts 94072265406, free_ts 94070174792 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x231/0x280 mm/page_alloc.c:1889 prep_new_page mm/page_alloc.c:1897 [inline] get_page_from_freelist+0x24dc/0x2580 mm/page_alloc.c:3962 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5250 alloc_slab_page mm/slub.c:3255 [inline] allocate_slab+0x77/0x660 mm/slub.c:3444 new_slab mm/slub.c:3502 [inline] refill_objects+0x331/0x3c0 mm/slub.c:7134 refill_sheaf mm/slub.c:2804 [inline] __pcs_replace_empty_main+0x2b9/0x620 mm/slub.c:4578 alloc_from_pcs mm/slub.c:4681 [inline] slab_alloc_node mm/slub.c:4815 [inline] kmem_cache_alloc_noprof+0x37d/0x650 mm/slub.c:4837 alloc_vfsmnt+0x23/0x420 fs/namespace.c:287 vfs_create_mount+0x69/0x320 fs/namespace.c:1178 fc_mount fs/namespace.c:1196 [inline] do_new_mount_fc fs/namespace.c:3762 [inline] do_new_mount+0x3bf/0xd30 fs/namespace.c:3838 do_mount fs/namespace.c:4161 [inline] __do_sys_mount fs/namespace.c:4350 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4327 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5827 tgid 5827 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1433 [inline] __free_frozen_pages+0xc2b/0xdb0 mm/page_alloc.c:2978 __slab_free+0x263/0x2b0 mm/slub.c:5532 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4501 [inline] slab_alloc_node mm/slub.c:4830 [inline] __do_kmalloc_node mm/slub.c:5218 [inline] __kmalloc_noprof+0x316/0x760 mm/slub.c:5231 kmalloc_noprof include/linux/slab.h:966 [inline] kzalloc_noprof include/linux/slab.h:1204 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x28b/0x550 security/tomoyo/realpath.c:80 tomoyo_mount_acl security/tomoyo/mount.c:152 [inline] tomoyo_mount_permission+0x4c1/0x9d0 security/tomoyo/mount.c:239 security_sb_mount+0xe4/0x320 security/security.c:1062 path_mount+0xbc/0x10e0 fs/namespace.c:4090 do_mount fs/namespace.c:4161 [inline] __do_sys_mount fs/namespace.c:4350 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4327 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88807d4a7280: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff88807d4a7300: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb >ffff88807d4a7380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88807d4a7400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88807d4a7480: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================