================================================================== 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+0x3db/0x940 net/xfrm/xfrm_state.c:700 Write of size 8 at addr ffff888055ec3990 by task syz-executor/4287 CPU: 1 PID: 4287 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 __hlist_del include/linux/list.h:906 [inline] hlist_del_init_rcu include/linux/rculist.h:184 [inline] __xfrm_state_delete+0x3db/0x940 net/xfrm/xfrm_state.c:700 xfrm_timer_handler+0x10b/0x970 net/xfrm/xfrm_state.c:631 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:console_emit_next_record+0x92f/0xb50 kernel/printk/printk.c:2786 Code: 0f 85 af 00 00 00 e8 00 ba 1a 00 0f b6 5c 24 0f 4d 85 f6 75 07 e8 f1 b9 1a 00 eb 06 e8 ea b9 1a 00 fb 66 43 c7 44 2f 24 f8 f8 <43> c6 44 2f 26 f8 48 b8 f8 f2 f2 f2 f8 f8 f8 f8 48 05 00 06 06 06 RSP: 0018:ffffc900045976e0 EFLAGS: 00000293 RAX: ffffffff8167aeb6 RBX: 0000000000000001 RCX: ffff88807dc00000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004597900 R08: ffffffff91b62247 R09: 1ffffffff236c448 R10: dffffc0000000000 R11: fffffbfff236c449 R12: 1ffff920008b2f27 R13: dffffc0000000000 R14: 0000000000000200 R15: 1ffff920008b2ee8 console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x223/0x630 kernel/printk/printk.c:2906 vprintk_emit+0x4b3/0x6a0 kernel/printk/printk.c:2303 _printk+0xda/0x130 kernel/printk/printk.c:2328 __ext4_msg+0x2b2/0x2c0 fs/ext4/super.c:939 ext4_put_super+0xb3/0xc00 fs/ext4/super.c:1291 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1481 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x471/0x4f0 fs/namespace.c:1191 task_work_run+0x1d0/0x260 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:295 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:306 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc32dda0d57 Code: a2 c7 05 9c a9 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc654b3118 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000064 RCX: 00007fc32dda0d57 RDX: 0000000000000200 RSI: 0000000000000009 RDI: 00007ffc654b42c0 RBP: 00007fc32de36f3b R08: 0000000000020550 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffc654b42c0 R13: 00007fc32de36f3b R14: 00005555738164e8 R15: 00007ffc654b6480 Allocated by task 4385: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc+0xb3/0x240 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] ieee802_11_parse_elems_full+0xb4/0x1240 net/mac80211/util.c:1503 ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2270 [inline] ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2277 [inline] ieee80211_bss_info_update+0x7df/0xbf0 net/mac80211/scan.c:212 ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1608 [inline] ieee80211_ibss_rx_queued_mgmt+0x1931/0x2eb0 net/mac80211/ibss.c:1637 ieee80211_iface_process_skb net/mac80211/iface.c:1711 [inline] ieee80211_iface_work+0x72c/0xc70 net/mac80211/iface.c:1765 cfg80211_wiphy_work+0x224/0x260 net/wireless/core.c:440 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Freed by task 4385: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1735 [inline] slab_free_freelist_hook+0x133/0x1b0 mm/slub.c:1761 slab_free mm/slub.c:3694 [inline] __kmem_cache_free+0xb6/0x200 mm/slub.c:3707 ieee80211_bss_info_update+0x889/0xbf0 net/mac80211/scan.c:223 ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1608 [inline] ieee80211_ibss_rx_queued_mgmt+0x1931/0x2eb0 net/mac80211/ibss.c:1637 ieee80211_iface_process_skb net/mac80211/iface.c:1711 [inline] ieee80211_iface_work+0x72c/0xc70 net/mac80211/iface.c:1765 cfg80211_wiphy_work+0x224/0x260 net/wireless/core.c:440 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff888055ec3800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 400 bytes inside of 1024-byte region [ffff888055ec3800, ffff888055ec3c00) The buggy address belongs to the physical page: page:ffffea000157b000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x55ec0 head:ffffea000157b000 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffffea0001f8b400 dead000000000002 ffff888018441dc0 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 58, tgid 58 (kworker/u4:4), ts 82755374129, free_ts 30112403830 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560 prep_new_page mm/page_alloc.c:2567 [inline] get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658 alloc_slab_page+0x5d/0x180 mm/slub.c:1805 allocate_slab mm/slub.c:1950 [inline] new_slab+0x87/0x2d0 mm/slub.c:2003 ___slab_alloc+0xbc5/0x1240 mm/slub.c:3161 __slab_alloc mm/slub.c:3247 [inline] slab_alloc_node mm/slub.c:3332 [inline] __kmem_cache_alloc_node+0x126/0x270 mm/slub.c:3405 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc_node_track_caller+0xa0/0x240 mm/slab_common.c:956 kmalloc_reserve net/core/skbuff.c:446 [inline] __alloc_skb+0x226/0x7d0 net/core/skbuff.c:515 __netdev_alloc_skb+0x114/0x4f0 net/core/skbuff.c:579 __netdev_alloc_skb_ip_align include/linux/skbuff.h:3289 [inline] netdev_alloc_skb_ip_align include/linux/skbuff.h:3299 [inline] batadv_iv_ogm_aggregate_new net/batman-adv/bat_iv_ogm.c:567 [inline] batadv_iv_ogm_queue_add+0x833/0xdb0 net/batman-adv/bat_iv_ogm.c:683 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:857 [inline] batadv_iv_ogm_schedule+0x860/0x1080 net/batman-adv/bat_iv_ogm.c:908 batadv_iv_send_outstanding_bat_ogm_packet+0x6e9/0x800 net/batman-adv/bat_iv_ogm.c:1805 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1487 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3509 free_contig_range+0x9d/0x150 mm/page_alloc.c:9506 destroy_args+0xef/0xa0e mm/debug_vm_pgtable.c:1031 debug_vm_pgtable+0x33c/0x38e mm/debug_vm_pgtable.c:1359 do_one_initcall+0x257/0x800 init/main.c:1271 do_initcall_level+0x13d/0x1ed init/main.c:1344 do_initcalls+0x4b/0x8a init/main.c:1360 kernel_init_freeable+0x401/0x5ab init/main.c:1599 kernel_init+0x19/0x1b0 init/main.c:1487 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Memory state around the buggy address: ffff888055ec3880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888055ec3900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888055ec3980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888055ec3a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888055ec3a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ---------------- Code disassembly (best guess): 0: 0f 85 af 00 00 00 jne 0xb5 6: e8 00 ba 1a 00 call 0x1aba0b b: 0f b6 5c 24 0f movzbl 0xf(%rsp),%ebx 10: 4d 85 f6 test %r14,%r14 13: 75 07 jne 0x1c 15: e8 f1 b9 1a 00 call 0x1aba0b 1a: eb 06 jmp 0x22 1c: e8 ea b9 1a 00 call 0x1aba0b 21: fb sti 22: 66 43 c7 44 2f 24 f8 movw $0xf8f8,0x24(%r15,%r13,1) 29: f8 * 2a: 43 c6 44 2f 26 f8 movb $0xf8,0x26(%r15,%r13,1) <-- trapping instruction 30: 48 b8 f8 f2 f2 f2 f8 movabs $0xf8f8f8f8f2f2f2f8,%rax 37: f8 f8 f8 3a: 48 05 00 06 06 06 add $0x6060600,%rax