================================================================== BUG: KASAN: use-after-free in __hlist_del include/linux/list.h:906 [inline] BUG: KASAN: use-after-free in hlist_del_init_rcu include/linux/rculist.h:184 [inline] BUG: KASAN: use-after-free in __xfrm_state_delete+0x384/0x918 net/xfrm/xfrm_state.c:700 Write of size 8 at addr ffff0000d5b99410 by task udevd/5055 CPU: 1 PID: 5055 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_store8_noabort+0x2c/0x38 mm/kasan/report_generic.c:356 __hlist_del include/linux/list.h:906 [inline] hlist_del_init_rcu include/linux/rculist.h:184 [inline] __xfrm_state_delete+0x384/0x918 net/xfrm/xfrm_state.c:700 xfrm_timer_handler+0xec/0x810 net/xfrm/xfrm_state.c:631 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x444/0xc58 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x164/0x408 kernel/time/hrtimer.c:1832 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:901 do_softirq_own_stack+0x1c/0x28 arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x430 kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:585 __sanitizer_cov_trace_const_cmp4+0xc/0xac kernel/kcov.c:310 validate_mm_mt+0xc8/0x3bc mm/mmap.c:295 validate_mm+0xc8/0x29c mm/mmap.c:332 remove_mt mm/mmap.c:2330 [inline] do_mas_align_munmap+0xcd8/0xf28 mm/mmap.c:2603 do_mas_munmap mm/mmap.c:2658 [inline] __vm_munmap+0x260/0x390 mm/mmap.c:2944 __do_sys_munmap mm/mmap.c:2969 [inline] __se_sys_munmap mm/mmap.c:2966 [inline] __arm64_sys_munmap+0x64/0x7c mm/mmap.c:2966 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 Allocated by task 4338: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] kmalloc_node_trace+0x78/0x90 mm/slab_common.c:1043 kmalloc_node include/linux/slab.h:585 [inline] kzalloc_node include/linux/slab.h:710 [inline] __get_vm_area_node+0x14c/0x31c mm/vmalloc.c:2563 __vmalloc_node_range+0x1d4/0xe70 mm/vmalloc.c:3260 __vmalloc_node mm/vmalloc.c:3365 [inline] vzalloc+0x9c/0xd4 mm/vmalloc.c:3438 alloc_counters+0x80/0x608 net/ipv4/netfilter/ip_tables.c:801 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:844 [inline] get_entries net/ipv6/netfilter/ip6_tables.c:1044 [inline] do_ip6t_get_ctl+0xae8/0x13d0 net/ipv6/netfilter/ip6_tables.c:1681 nf_getsockopt+0x254/0x274 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x2c4/0x3f4 net/ipv6/ipv6_sockglue.c:1512 tcp_getsockopt+0xcc/0xe8 net/ipv4/tcp.c:4490 sock_common_getsockopt+0xa8/0xc4 net/core/sock.c:3703 __sys_getsockopt+0x1e0/0x474 net/socket.c:2332 __do_sys_getsockopt net/socket.c:2347 [inline] __se_sys_getsockopt net/socket.c:2344 [inline] __arm64_sys_getsockopt+0xc0/0xdc net/socket.c:2344 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 Freed by task 4338: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:516 ____kasan_slab_free+0x148/0x1b0 mm/kasan/common.c:237 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:245 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1735 [inline] slab_free_freelist_hook+0x16c/0x1e8 mm/slub.c:1761 slab_free mm/slub.c:3694 [inline] __kmem_cache_free+0xbc/0x21c mm/slub.c:3707 kfree+0xd0/0x1a8 mm/slab_common.c:988 __vunmap+0x904/0x9e0 mm/vmalloc.c:2792 __vfree mm/vmalloc.c:2832 [inline] vfree+0xbc/0x150 mm/vmalloc.c:2863 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:887 [inline] get_entries net/ipv6/netfilter/ip6_tables.c:1044 [inline] do_ip6t_get_ctl+0x10e0/0x13d0 net/ipv6/netfilter/ip6_tables.c:1681 nf_getsockopt+0x254/0x274 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x2c4/0x3f4 net/ipv6/ipv6_sockglue.c:1512 tcp_getsockopt+0xcc/0xe8 net/ipv4/tcp.c:4490 sock_common_getsockopt+0xa8/0xc4 net/core/sock.c:3703 __sys_getsockopt+0x1e0/0x474 net/socket.c:2332 __do_sys_getsockopt net/socket.c:2347 [inline] __se_sys_getsockopt net/socket.c:2344 [inline] __arm64_sys_getsockopt+0xc0/0xdc net/socket.c:2344 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 The buggy address belongs to the object at ffff0000d5b99400 which belongs to the cache kmalloc-128 of size 128 The buggy address is located 16 bytes inside of 128-byte region [ffff0000d5b99400, ffff0000d5b99480) The buggy address belongs to the physical page: page:000000006b71d577 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x115b99 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 fffffc000378cdc0 dead000000000002 ffff0000c0002300 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d5b99300: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d5b99380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000d5b99400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000d5b99480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d5b99500: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== vkms_vblank_simulate: vblank timer overrun