================================================================== BUG: KASAN: slab-use-after-free in rtl8150_start_xmit+0x71f/0x760 drivers/net/usb/rtl8150.c:712 Read of size 4 at addr ffff888105b9d1b0 by task kworker/0:5/5329 CPU: 0 UID: 0 PID: 5329 Comm: kworker/0:5 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Workqueue: mld mld_ifc_work Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1d0 mm/kasan/report.c:595 rtl8150_start_xmit+0x71f/0x760 drivers/net/usb/rtl8150.c:712 __netdev_start_xmit include/linux/netdevice.h:5343 [inline] netdev_start_xmit include/linux/netdevice.h:5352 [inline] xmit_one net/core/dev.c:3888 [inline] dev_hard_start_xmit+0x128/0x7a0 net/core/dev.c:3904 sch_direct_xmit+0x194/0x890 net/sched/sch_generic.c:372 __dev_xmit_skb net/core/dev.c:4209 [inline] __dev_queue_xmit+0x278a/0x4930 net/core/dev.c:4831 dev_queue_xmit include/linux/netdevice.h:3401 [inline] neigh_resolve_output net/core/neighbour.c:1619 [inline] neigh_resolve_output+0x51d/0x8f0 net/core/neighbour.c:1599 neigh_output include/net/neighbour.h:556 [inline] ip6_finish_output2+0xa92/0x1f20 net/ipv6/ip6_output.c:136 __ip6_finish_output+0x359/0xd10 net/ipv6/ip6_output.c:208 ip6_finish_output net/ipv6/ip6_output.c:219 [inline] NF_HOOK_COND include/linux/netfilter.h:307 [inline] ip6_output+0x2a1/0xa50 net/ipv6/ip6_output.c:246 dst_output include/net/dst.h:470 [inline] NF_HOOK.constprop.0+0x115/0x5a0 include/linux/netfilter.h:318 mld_sendpack+0x923/0xef0 net/ipv6/mcast.c:1855 mld_send_cr net/ipv6/mcast.c:2154 [inline] mld_ifc_work+0x75a/0xc10 net/ipv6/mcast.c:2693 process_one_work+0xa0e/0x1980 kernel/workqueue.c:3302 process_scheduled_works kernel/workqueue.c:3385 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3466 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 2862: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:340 [inline] __kasan_mempool_unpoison_object+0x86/0x150 mm/kasan/common.c:564 kasan_mempool_unpoison_object include/linux/kasan.h:391 [inline] napi_skb_cache_get+0x361/0x8e0 net/core/skbuff.c:306 __alloc_skb+0x5d3/0x710 net/core/skbuff.c:696 alloc_skb include/linux/skbuff.h:1383 [inline] netlink_alloc_large_skb+0x69/0x150 net/netlink/af_netlink.c:1184 netlink_sendmsg+0x680/0xda0 net/netlink/af_netlink.c:1869 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x9e1/0xb70 net/socket.c:2698 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2752 __sys_sendmsg+0x170/0x220 net/socket.c:2784 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0x7f0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 5206: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x43/0x70 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2689 [inline] slab_free mm/slub.c:6246 [inline] kmem_cache_free+0x108/0x660 mm/slub.c:6373 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1137 __kfree_skb net/core/skbuff.c:1204 [inline] consume_skb net/core/skbuff.c:1436 [inline] consume_skb+0xd1/0x110 net/core/skbuff.c:1430 netlink_recvmsg+0x51b/0x9c0 net/netlink/af_netlink.c:1972 sock_recvmsg_nosec net/socket.c:1137 [inline] sock_recvmsg+0x1a4/0x1f0 net/socket.c:1159 ____sys_recvmsg+0x218/0x640 net/socket.c:2918 ___sys_recvmsg+0x16a/0x1a0 net/socket.c:2960 __sys_recvmsg+0x16d/0x220 net/socket.c:2993 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0x7f0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888105b9d140 which belongs to the cache skbuff_head_cache of size 232 The buggy address is located 112 bytes inside of freed 232-byte region [ffff888105b9d140, ffff888105b9d228) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105b9d flags: 0x200000000000000(node=0|zone=2) page_type: f5(slab) raw: 0200000000000000 ffff888102e8c8c0 dead000000000100 dead000000000122 raw: 0000000000000000 00000008000c000c 00000000f5000000 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 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5206, tgid 5206 (udevd), ts 140991066240, free_ts 140963494053 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x153/0x170 mm/page_alloc.c:1858 prep_new_page mm/page_alloc.c:1866 [inline] get_page_from_freelist+0xf34/0x3a90 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x273/0x28a0 mm/page_alloc.c:5226 alloc_slab_page mm/slub.c:3278 [inline] allocate_slab mm/slub.c:3467 [inline] new_slab+0xa6/0x6b0 mm/slub.c:3525 refill_objects+0x277/0x420 mm/slub.c:7251 refill_sheaf mm/slub.c:2816 [inline] __pcs_replace_empty_main+0x375/0x650 mm/slub.c:4651 alloc_from_pcs mm/slub.c:4749 [inline] slab_alloc_node mm/slub.c:4883 [inline] kmem_cache_alloc_node_noprof+0x4e9/0x6b0 mm/slub.c:4950 __alloc_skb+0x140/0x710 net/core/skbuff.c:702 alloc_skb include/linux/skbuff.h:1383 [inline] netlink_alloc_large_skb+0x69/0x150 net/netlink/af_netlink.c:1184 netlink_sendmsg+0x680/0xda0 net/netlink/af_netlink.c:1869 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x9e1/0xb70 net/socket.c:2698 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2752 __sys_sendmsg+0x170/0x220 net/socket.c:2784 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0x7f0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 2851 tgid 2851 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1402 [inline] __free_frozen_pages+0x692/0xf10 mm/page_alloc.c:2943 rcu_do_batch kernel/rcu/tree.c:2617 [inline] rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2869 handle_softirqs+0x1dd/0x9e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x160/0x210 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0x8f/0xb0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Memory state around the buggy address: ffff888105b9d080: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ffff888105b9d100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb >ffff888105b9d180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888105b9d200: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc ffff888105b9d280: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================