================================================================== BUG: KASAN: slab-use-after-free in read_pnet include/net/net_namespace.h:419 [inline] BUG: KASAN: slab-use-after-free in dev_net include/linux/netdevice.h:2741 [inline] BUG: KASAN: slab-use-after-free in nf_hook_entry_head+0x1f1/0x2c0 net/netfilter/core.c:319 Read of size 8 at addr ffff88802b194108 by task kworker/u8:3/49 CPU: 0 UID: 0 PID: 49 Comm: kworker/u8:3 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Workqueue: netns cleanup_net 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 read_pnet include/net/net_namespace.h:419 [inline] dev_net include/linux/netdevice.h:2741 [inline] nf_hook_entry_head+0x1f1/0x2c0 net/netfilter/core.c:319 __nf_unregister_net_hook+0x74/0x6f0 net/netfilter/core.c:491 nft_unregister_flowtable_ops net/netfilter/nf_tables_api.c:9059 [inline] __nft_unregister_flowtable_net_hooks net/netfilter/nf_tables_api.c:9074 [inline] __nft_release_hook net/netfilter/nf_tables_api.c:12063 [inline] __nft_release_hooks net/netfilter/nf_tables_api.c:12077 [inline] nf_tables_pre_exit_net+0x64a/0x900 net/netfilter/nf_tables_api.c:12228 ops_pre_exit_list net/core/net_namespace.c:161 [inline] ops_undo_list+0x187/0x940 net/core/net_namespace.c:234 cleanup_net+0x56b/0x800 net/core/net_namespace.c:704 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0xaec/0x17a0 kernel/workqueue.c:3358 worker_thread+0xa50/0xfc0 kernel/workqueue.c:3439 kthread+0x388/0x470 kernel/kthread.c:467 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 5188: 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:4459 [inline] slab_alloc_node mm/slub.c:4788 [inline] kmem_cache_alloc_node_noprof+0x384/0x690 mm/slub.c:4840 kmalloc_reserve net/core/skbuff.c:613 [inline] __alloc_skb+0x27d/0x7d0 net/core/skbuff.c:713 napi_alloc_skb+0x7a/0xaf0 net/core/skbuff.c:853 page_to_skb+0x2ce/0x870 drivers/net/virtio_net.c:887 receive_mergeable drivers/net/virtio_net.c:2497 [inline] receive_buf+0x546/0x1900 drivers/net/virtio_net.c:2643 virtnet_receive_packets drivers/net/virtio_net.c:2970 [inline] virtnet_receive drivers/net/virtio_net.c:2994 [inline] virtnet_poll+0x21f0/0x2fe0 drivers/net/virtio_net.c:3083 __napi_poll+0xae/0x340 net/core/dev.c:7678 napi_poll net/core/dev.c:7741 [inline] net_rx_action+0x627/0xf70 net/core/dev.c:7893 handle_softirqs+0x22a/0x7c0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 common_interrupt+0xbb/0xe0 arch/x86/kernel/irq.c:326 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688 Freed by task 5188: 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:2670 [inline] slab_free mm/slub.c:6082 [inline] kmem_cache_free+0x180/0x610 mm/slub.c:6212 skb_kfree_head net/core/skbuff.c:1087 [inline] skb_free_head net/core/skbuff.c:1101 [inline] skb_release_data+0x6c3/0x940 net/core/skbuff.c:1128 skb_release_all net/core/skbuff.c:1203 [inline] __kfree_skb+0x5d/0x210 net/core/skbuff.c:1217 tcp_data_queue+0x1b7/0x5e50 net/ipv4/tcp_input.c:-1 tcp_rcv_established+0x1270/0x2670 net/ipv4/tcp_input.c:6710 tcp_v4_do_rcv+0xa90/0x1430 net/ipv4/tcp_ipv4.c:1880 tcp_v4_rcv+0x2825/0x31f0 net/ipv4/tcp_ipv4.c:2315 ip_protocol_deliver_rcu+0x221/0x440 net/ipv4/ip_input.c:207 ip_local_deliver_finish+0x3bb/0x6f0 net/ipv4/ip_input.c:241 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:318 dst_input include/net/dst.h:480 [inline] ip_sublist_rcv_finish+0x221/0x2a0 net/ipv4/ip_input.c:584 ip_list_rcv_finish net/ipv4/ip_input.c:636 [inline] ip_sublist_rcv+0x761/0xa70 net/ipv4/ip_input.c:644 ip_list_rcv+0x3f1/0x450 net/ipv4/ip_input.c:678 __netif_receive_skb_list_ptype net/core/dev.c:6192 [inline] __netif_receive_skb_list_core+0x7e5/0x810 net/core/dev.c:6239 __netif_receive_skb_list net/core/dev.c:6291 [inline] netif_receive_skb_list_internal+0x995/0xcf0 net/core/dev.c:6382 gro_normal_list include/net/gro.h:523 [inline] gro_flush_normal include/net/gro.h:531 [inline] napi_complete_done+0x299/0x730 net/core/dev.c:6751 virtqueue_napi_complete drivers/net/virtio_net.c:749 [inline] virtnet_poll+0x259e/0x2fe0 drivers/net/virtio_net.c:3091 __napi_poll+0xae/0x340 net/core/dev.c:7678 napi_poll net/core/dev.c:7741 [inline] net_rx_action+0x627/0xf70 net/core/dev.c:7893 handle_softirqs+0x22a/0x7c0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 common_interrupt+0xbb/0xe0 arch/x86/kernel/irq.c:326 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688 The buggy address belongs to the object at ffff88802b194000 which belongs to the cache skbuff_small_head of size 704 The buggy address is located 264 bytes inside of freed 704-byte region [ffff88802b194000, ffff88802b1942c0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2b194 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801f2e8a00 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801f2e8a00 dead000000000100 dead000000000122 head: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffea0000ac6501 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 49, tgid 49 (kworker/u8:3), ts 1875227170468, free_ts 1832961237139 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x231/0x280 mm/page_alloc.c:1883 prep_new_page mm/page_alloc.c:1891 [inline] get_page_from_freelist+0x24dc/0x2580 mm/page_alloc.c:3956 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5244 alloc_slab_page mm/slub.c:3238 [inline] allocate_slab+0x77/0x660 mm/slub.c:3411 new_slab mm/slub.c:3469 [inline] refill_objects+0x331/0x3c0 mm/slub.c:7091 refill_sheaf mm/slub.c:2787 [inline] __pcs_replace_empty_main+0x2b9/0x620 mm/slub.c:4536 alloc_from_pcs mm/slub.c:4639 [inline] slab_alloc_node mm/slub.c:4773 [inline] kmem_cache_alloc_node_noprof+0x441/0x690 mm/slub.c:4840 kmalloc_reserve net/core/skbuff.c:613 [inline] __alloc_skb+0x27d/0x7d0 net/core/skbuff.c:713 alloc_skb include/linux/skbuff.h:1383 [inline] nlmsg_new include/net/netlink.h:1055 [inline] inet6_ifmcaddr_notify+0xfa/0x1e0 net/ipv6/mcast.c:909 __ipv6_dev_mc_dec+0x2dc/0x330 net/ipv6/mcast.c:1002 addrconf_leave_solict net/ipv6/addrconf.c:2257 [inline] __ipv6_ifa_notify+0x77c/0xc60 net/ipv6/addrconf.c:6304 addrconf_ifdown+0xea6/0x1a40 net/ipv6/addrconf.c:3982 addrconf_notify+0x1bc/0x1050 net/ipv6/addrconf.c:-1 notifier_call_chain+0x19d/0x3a0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2280 [inline] call_netdevice_notifiers net/core/dev.c:2294 [inline] netif_close_many+0x2ae/0x420 net/core/dev.c:1797 unregister_netdevice_many_notify+0xb47/0x2370 net/core/dev.c:12366 page last free pid 28106 tgid 28106 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1432 [inline] __free_frozen_pages+0xc01/0xd80 mm/page_alloc.c:2972 vhost_vq_free_iovecs drivers/vhost/vhost.c:499 [inline] vhost_dev_free_iovecs drivers/vhost/vhost.c:542 [inline] vhost_dev_cleanup+0x358/0xa00 drivers/vhost/vhost.c:1217 vhost_vsock_dev_release+0x3d2/0x6d0 drivers/vhost/vsock.c:781 __fput+0x44f/0xa70 fs/file_table.c:469 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 Memory state around the buggy address: ffff88802b194000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88802b194080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88802b194100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88802b194180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88802b194200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================