RBP: 00007f21c0730120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000002 R13: 000000000000000b R14: 00007f21c0cdcf80 R15: 00007ffd61b7d9f8 ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3526 [inline] BUG: KASAN: double-free or invalid-free in kfree+0xc4/0x270 mm/slub.c:4588 CPU: 1 PID: 379 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 kasan_report_invalid_free+0x58/0x90 mm/kasan/report.c:370 ____kasan_slab_free+0x13d/0x160 mm/kasan/common.c:-1 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373 kasan_slab_free include/linux/kasan.h:193 [inline] slab_free_hook mm/slub.c:1728 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1754 slab_free mm/slub.c:3526 [inline] kfree+0xc4/0x270 mm/slub.c:4588 anon_vma_name_free+0x15/0x20 mm/madvise.c:91 kref_put include/linux/kref.h:65 [inline] anon_vma_name_put include/linux/mm_inline.h:391 [inline] free_anon_vma_name include/linux/mm_inline.h:422 [inline] vm_area_free_no_check+0xa9/0x140 kernel/fork.c:409 vm_area_free kernel/fork.c:422 [inline] dup_mmap kernel/fork.c:685 [inline] dup_mm kernel/fork.c:1533 [inline] copy_mm+0xe8f/0x13a0 kernel/fork.c:1585 copy_process+0x1130/0x3230 kernel/fork.c:2355 kernel_clone+0x233/0x960 kernel/fork.c:2744 __do_sys_clone kernel/fork.c:2870 [inline] __se_sys_clone kernel/fork.c:2854 [inline] __x64_sys_clone+0x198/0x210 kernel/fork.c:2854 x64_sys_call+0x41f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:57 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f21c0b9e079 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f21c0730068 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f21c0cdcf80 RCX: 00007f21c0b9e079 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000012201000 RBP: 00007f21c0730120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000002 R13: 000000000000000b R14: 00007f21c0cdcf80 R15: 00007ffd61b7d9f8 Allocated by task 350: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] __kasan_slab_alloc+0xb7/0xe0 mm/kasan/common.c:466 kasan_slab_alloc include/linux/kasan.h:217 [inline] slab_post_alloc_hook+0x4f/0x2b0 mm/slab.h:550 slab_alloc_node mm/slub.c:3245 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc+0xf7/0x260 mm/slub.c:3260 vm_area_dup+0x26/0x210 kernel/fork.c:371 dup_mmap kernel/fork.c:605 [inline] dup_mm kernel/fork.c:1533 [inline] copy_mm+0x963/0x13a0 kernel/fork.c:1585 copy_process+0x1130/0x3230 kernel/fork.c:2355 kernel_clone+0x233/0x960 kernel/fork.c:2744 __do_sys_clone kernel/fork.c:2870 [inline] __se_sys_clone kernel/fork.c:2854 [inline] __x64_sys_clone+0x198/0x210 kernel/fork.c:2854 x64_sys_call+0x41f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:57 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88811d196de0 which belongs to the cache vm_area_struct of size 232 The buggy address is located 88 bytes inside of 232-byte region [ffff88811d196de0, ffff88811d196ec8) The buggy address belongs to the page: page:ffffea0004746580 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11d196 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff888100186180 raw: 0000000000000000 00000000000d000d 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 350, ts 28679012961, free_ts 28671255076 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2610 prep_new_page+0x1c/0x110 mm/page_alloc.c:2616 get_page_from_freelist+0x2d42/0x2dd0 mm/page_alloc.c:4492 __alloc_pages+0x1a2/0x460 mm/page_alloc.c:5829 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1937 [inline] new_slab+0xa0/0x4d0 mm/slub.c:2000 ___slab_alloc+0x3ac/0x840 mm/slub.c:3033 __slab_alloc+0x49/0x90 mm/slub.c:3120 slab_alloc_node mm/slub.c:3211 [inline] slab_alloc mm/slub.c:3255 [inline] kmem_cache_alloc+0x138/0x260 mm/slub.c:3260 vm_area_alloc+0x24/0x130 kernel/fork.c:363 __mmap_region mm/mmap.c:1795 [inline] mmap_region+0x87d/0x1700 mm/mmap.c:2960 do_mmap+0x812/0xf10 mm/mmap.c:1599 vm_mmap_pgoff+0x1d6/0x410 mm/util.c:555 ksys_mmap_pgoff+0x161/0x1d0 mm/mmap.c:1648 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0xfa/0x110 arch/x86/kernel/sys_x86_64.c:86 x64_sys_call+0x83/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1477 [inline] free_pcp_prepare mm/page_alloc.c:1549 [inline] free_unref_page_prepare+0x5fa/0x600 mm/page_alloc.c:3540 free_unref_page+0xae/0x540 mm/page_alloc.c:3622 free_the_page mm/page_alloc.c:808 [inline] __free_pages+0x6c/0x100 mm/page_alloc.c:5905 free_pages+0x82/0x90 mm/page_alloc.c:5916 do_proc_readlink fs/proc/base.c:1838 [inline] proc_pid_readlink+0x1a2/0x200 fs/proc/base.c:1850 vfs_readlink+0x38c/0x3e0 fs/namei.c:5077 do_readlinkat+0x251/0x490 fs/stat.c:454 __do_sys_readlinkat fs/stat.c:469 [inline] __se_sys_readlinkat fs/stat.c:466 [inline] __x64_sys_readlinkat+0x9a/0xb0 fs/stat.c:466 x64_sys_call+0x243/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:268 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff88811d196d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88811d196d80: 00 00 00 00 fc fc fc fc fc fc fc fc 00 00 00 00 >ffff88811d196e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88811d196e80: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc ffff88811d196f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================