===================================================== BUG: KMSAN: uninit-value in ip_tunnel_xmit+0x585/0x3a70 net/ipv4/ip_tunnel.c:654 CPU: 0 PID: 8795 Comm: syz-executor976 Not tainted 5.10.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197 ip_tunnel_xmit+0x585/0x3a70 net/ipv4/ip_tunnel.c:654 __gre_xmit net/ipv4/ip_gre.c:466 [inline] ipgre_xmit+0x1127/0x11e0 net/ipv4/ip_gre.c:648 __netdev_start_xmit include/linux/netdevice.h:4718 [inline] netdev_start_xmit include/linux/netdevice.h:4732 [inline] xmit_one+0x2b9/0x770 net/core/dev.c:3564 dev_hard_start_xmit net/core/dev.c:3580 [inline] __dev_queue_xmit+0x33f2/0x4520 net/core/dev.c:4140 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4173 garp_queue_xmit net/802/garp.c:259 [inline] garp_join_timer+0x1fc/0x380 net/802/garp.c:410 call_timer_fn+0x7d/0x450 kernel/time/timer.c:1410 expire_timers+0x318/0x6c0 kernel/time/timer.c:1455 __run_timers+0x624/0x9e0 kernel/time/timer.c:1747 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1760 __do_softirq+0x1a9/0x6fa kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x6e/0x90 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:423 irq_exit_rcu+0xe/0x10 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x106/0x130 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:console_unlock+0x18b8/0x1c40 kernel/printk/printk.c:2509 Code: 31 f6 e8 fb c6 00 00 48 83 bc 24 90 00 00 00 00 75 3c 48 8b 84 24 98 00 00 00 48 89 84 24 c8 00 00 00 ff b4 24 c8 00 00 00 9d <44> 89 f0 34 01 22 44 24 27 44 89 f3 0a 5c 24 0f 3c 01 74 1b f6 c3 RSP: 0018:ffff88812e74aa00 EFLAGS: 00000286 RAX: 0000000000000286 RBX: 0000000000000000 RCX: ffff88811287dc40 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 000000000001b8a0 RBP: ffff88812e74ab98 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 00000000ffffffff R12: 0000000000000000 R13: ffff88811287e640 R14: 0000000000000000 R15: ffffffff90c99400 vprintk_emit+0x427/0x820 kernel/printk/printk.c:2035 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2052 vprintk_func+0x2ed/0x2f0 kernel/printk/printk_safe.c:393 printk+0x180/0x1cd kernel/printk/printk.c:2083 __dev_set_promiscuity+0x5b0/0xbe0 net/core/dev.c:8214 __dev_change_flags+0x8e1/0xce0 net/core/dev.c:8432 rtnl_configure_link+0x2fa/0x4d0 net/core/rtnetlink.c:3123 __rtnl_newlink net/core/rtnetlink.c:3460 [inline] rtnl_newlink+0x3008/0x3ec0 net/core/rtnetlink.c:3500 rtnetlink_rcv_msg+0x1447/0x18b0 net/core/rtnetlink.c:5562 netlink_rcv_skb+0x70a/0x820 net/netlink/af_netlink.c:2494 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5580 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x11da/0x14b0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x173c/0x1840 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] ____sys_sendmsg+0xc7a/0x1240 net/socket.c:2353 ___sys_sendmsg net/socket.c:2407 [inline] __sys_sendmsg+0x6d5/0x830 net/socket.c:2440 __do_sys_sendmsg net/socket.c:2449 [inline] __se_sys_sendmsg+0x97/0xb0 net/socket.c:2447 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2447 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x443f89 Code: e8 6c 05 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 9b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc6b4f6bf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000443f89 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00007ffc6b4f6c00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000027725 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2906 [inline] __kmalloc_node_track_caller+0xc61/0x15f0 mm/slub.c:4512 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0x309/0xae0 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1094 [inline] garp_pdu_init net/802/garp.c:212 [inline] garp_pdu_append_attr+0x2ed/0x13c0 net/802/garp.c:283 garp_attr_event+0x25d/0x360 net/802/garp.c:325 garp_gid_event net/802/garp.c:389 [inline] garp_join_timer+0x10e/0x380 net/802/garp.c:406 call_timer_fn+0x7d/0x450 kernel/time/timer.c:1410 expire_timers+0x318/0x6c0 kernel/time/timer.c:1455 __run_timers+0x624/0x9e0 kernel/time/timer.c:1747 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1760 __do_softirq+0x1a9/0x6fa kernel/softirq.c:298 =====================================================