===================================================== BUG: KMSAN: uninit-value in bpf_prog_run_generic_xdp+0x14a3/0x1ff0 net/core/dev.c:5303 bpf_prog_run_generic_xdp+0x14a3/0x1ff0 net/core/dev.c:5303 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0xd52/0x1690 net/core/dev.c:5450 __netif_receive_skb_core+0x2524/0x6df0 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0xcc/0xac0 net/core/dev.c:6104 process_backlog+0x485/0xa00 net/core/dev.c:6456 __napi_poll+0xda/0x8a0 net/core/dev.c:7506 napi_poll net/core/dev.c:7569 [inline] net_rx_action+0xa59/0x1ac0 net/core/dev.c:7696 handle_softirqs+0x166/0x6e0 kernel/softirq.c:579 __do_softirq+0x14/0x1b kernel/softirq.c:613 do_softirq+0x99/0x100 kernel/softirq.c:480 __local_bh_enable_ip+0xa1/0xb0 kernel/softirq.c:407 local_bh_enable include/linux/bottom_half.h:33 [inline] tun_rx_batched+0x889/0x980 drivers/net/tun.c:-1 tun_get_user+0x5028/0x6ca0 drivers/net/tun.c:1950 tun_chr_write_iter+0x3e9/0x5c0 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0xbe2/0x15d0 fs/read_write.c:686 ksys_write fs/read_write.c:738 [inline] __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __x64_sys_write+0x1fb/0x4d0 fs/read_write.c:746 x64_sys_call+0x3014/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4186 [inline] slab_alloc_node mm/slub.c:4229 [inline] kmem_cache_alloc_node_noprof+0x818/0xf00 mm/slub.c:4281 kmalloc_reserve+0x13c/0x4b0 net/core/skbuff.c:578 pskb_expand_head+0x1fc/0x1610 net/core/skbuff.c:2240 netif_skb_check_for_xdp net/core/dev.c:5351 [inline] netif_receive_generic_xdp net/core/dev.c:5382 [inline] do_xdp_generic+0xa79/0x1690 net/core/dev.c:5450 __netif_receive_skb_core+0x2524/0x6df0 net/core/dev.c:5801 __netif_receive_skb_one_core net/core/dev.c:5989 [inline] __netif_receive_skb+0xcc/0xac0 net/core/dev.c:6104 process_backlog+0x485/0xa00 net/core/dev.c:6456 __napi_poll+0xda/0x8a0 net/core/dev.c:7506 napi_poll net/core/dev.c:7569 [inline] net_rx_action+0xa59/0x1ac0 net/core/dev.c:7696 handle_softirqs+0x166/0x6e0 kernel/softirq.c:579 __do_softirq+0x14/0x1b kernel/softirq.c:613 CPU: 0 UID: 0 PID: 10655 Comm: syz.1.981 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================