===================================================== BUG: KMSAN: uninit-value in bpf_prog_run_generic_xdp+0x1a74/0x1ff0 net/core/dev.c:5305 bpf_prog_run_generic_xdp+0x1a74/0x1ff0 net/core/dev.c:5305 netif_receive_generic_xdp net/core/dev.c:5388 [inline] do_xdp_generic+0xd52/0x1690 net/core/dev.c:5450 tun_get_user+0x45be/0x6ca0 drivers/net/tun.c:1872 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] __ia32_sys_write+0x1f9/0x4d0 fs/read_write.c:746 ia32_sys_call+0x35bc/0x4310 arch/x86/include/generated/asm/syscalls_32.h:5 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was stored to memory at: pskb_expand_head+0x310/0x1610 net/core/skbuff.c:2248 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 tun_get_user+0x45be/0x6ca0 drivers/net/tun.c:1872 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] __ia32_sys_write+0x1f9/0x4d0 fs/read_write.c:746 ia32_sys_call+0x35bc/0x4310 arch/x86/include/generated/asm/syscalls_32.h:5 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4186 [inline] slab_alloc_node mm/slub.c:4229 [inline] __do_kmalloc_node mm/slub.c:4364 [inline] __kmalloc_node_track_caller_noprof+0x96d/0x12f0 mm/slub.c:4384 kmalloc_reserve+0x22f/0x4b0 net/core/skbuff.c:600 __alloc_skb+0x347/0x7d0 net/core/skbuff.c:669 alloc_skb include/linux/skbuff.h:1336 [inline] alloc_skb_with_frags+0xc5/0xa60 net/core/skbuff.c:6665 sock_alloc_send_pskb+0xad8/0xc70 net/core/sock.c:2980 tun_alloc_skb drivers/net/tun.c:1461 [inline] tun_get_user+0x113f/0x6ca0 drivers/net/tun.c:1794 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] __ia32_sys_write+0x1f9/0x4d0 fs/read_write.c:746 ia32_sys_call+0x35bc/0x4310 arch/x86/include/generated/asm/syscalls_32.h:5 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 6378 Comm: syz.1.137 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================