================================================================== 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 ffff0000cf90cd98 by task syz.0.2036/11221 CPU: 0 PID: 11221 Comm: syz.0.2036 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/23/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 el0_interrupt+0x80/0x1bc arch/arm64/kernel/entry-common.c:717 __el0_irq_handler_common+0x18/0x24 arch/arm64/kernel/entry-common.c:724 el0t_64_irq_handler+0x10/0x1c arch/arm64/kernel/entry-common.c:729 el0t_64_irq+0x18c/0x190 arch/arm64/kernel/entry.S:590 Allocated by task 4452: 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] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc+0xd8/0x180 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] xfrm_hash_alloc+0x40/0xe0 net/xfrm/xfrm_hash.c:21 xfrm_hash_resize+0x88/0xda4 net/xfrm/xfrm_state.c:156 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 process_scheduled_works kernel/workqueue.c:2355 [inline] worker_thread+0xafc/0xfe8 kernel/workqueue.c:2441 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 insert_work+0x64/0x37c kernel/workqueue.c:1361 __queue_work+0xd00/0x1280 kernel/workqueue.c:1520 delayed_work_timer_fn+0x74/0x94 kernel/workqueue.c:1646 call_timer_fn+0x1b8/0x96c kernel/time/timer.c:1701 expire_timers kernel/time/timer.c:1747 [inline] __run_timers+0x4d0/0x6d8 kernel/time/timer.c:2023 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:2036 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 run_ksoftirqd+0x7c/0x2ac kernel/softirq.c:968 smpboot_thread_fn+0x4e8/0x960 kernel/smpboot.c:164 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Second to last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 call_rcu+0x104/0x958 kernel/rcu/tree.c:2849 fib6_info_release include/net/ip6_fib.h:342 [inline] fib6_del_route net/ipv6/ip6_fib.c:2004 [inline] fib6_del+0xdd0/0x121c net/ipv6/ip6_fib.c:2037 fib6_clean_node+0x230/0x4bc net/ipv6/ip6_fib.c:2199 fib6_walk_continue+0x578/0x7a0 net/ipv6/ip6_fib.c:2121 fib6_walk+0x144/0x254 net/ipv6/ip6_fib.c:2169 fib6_clean_tree net/ipv6/ip6_fib.c:2249 [inline] __fib6_clean_all+0x1f8/0x338 net/ipv6/ip6_fib.c:2265 fib6_clean_all+0x3c/0x50 net/ipv6/ip6_fib.c:2276 rt6_sync_down_dev net/ipv6/route.c:4950 [inline] rt6_disable_ip+0x108/0x7c4 net/ipv6/route.c:4955 addrconf_ifdown+0x150/0x1630 net/ipv6/addrconf.c:3813 addrconf_notify+0x344/0xc98 net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd8/0x168 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2014 [inline] call_netdevice_notifiers_extack net/core/dev.c:2052 [inline] call_netdevice_notifiers net/core/dev.c:2066 [inline] __dev_notify_flags+0x1fc/0x490 net/core/dev.c:8736 dev_change_flags+0xd0/0x15c net/core/dev.c:8772 do_setlink+0x9d0/0x2158 net/core/rtnetlink.c:2845 rtnl_group_changelink net/core/rtnetlink.c:3375 [inline] __rtnl_newlink net/core/rtnetlink.c:3632 [inline] rtnl_newlink+0xd58/0x1af0 net/core/rtnetlink.c:3669 rtnetlink_rcv_msg+0x694/0xcc4 net/core/rtnetlink.c:6166 netlink_rcv_skb+0x220/0x3ec net/netlink/af_netlink.c:2516 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6184 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5fc/0x80c net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6f0/0x9d8 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x588/0x90c net/socket.c:2519 ___sys_sendmsg net/socket.c:2573 [inline] __sys_sendmsg+0x288/0x374 net/socket.c:2602 __do_sys_sendmsg net/socket.c:2611 [inline] __se_sys_sendmsg net/socket.c:2609 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609 __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 ffff0000cf90cc00 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 408 bytes inside of 512-byte region [ffff0000cf90cc00, ffff0000cf90ce00) The buggy address belongs to the physical page: page:0000000025c2f612 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff0000cf90cc00 pfn:0x10f90c head:0000000025c2f612 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 fffffc0003d93f08 fffffc0003cb4f08 ffff0000c0002600 raw: ffff0000cf90cc00 0000000000100004 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000cf90cc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000cf90cd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff0000cf90cd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000cf90ce00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000cf90ce80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================