===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238 CPU: 1 PID: 239 Comm: kworker/u4:3 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net 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:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 update_stack_state+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238 unwind_next_frame+0x8c6/0xed0 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x338/0x3d0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1a0 kernel/stacktrace.c:123 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:116 pskb_expand_head+0x3fd/0x1e30 net/core/skbuff.c:1636 __skb_pad+0x641/0x9d0 net/core/skbuff.c:1804 __skb_put_padto include/linux/skbuff.h:3218 [inline] skb_put_padto include/linux/skbuff.h:3237 [inline] send_hsr_supervision_frame+0x129c/0x15b0 net/hsr/hsr_device.c:299 hsr_announce+0x21f/0x3c0 net/hsr/hsr_device.c:330 call_timer_fn+0x226/0x550 kernel/time/timer.c:1404 expire_timers+0x4fc/0x780 kernel/time/timer.c:1449 __run_timers+0xaf4/0xd30 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x2ea/0x7f5 kernel/softirq.c:293 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:23 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] do_softirq_own_stack+0x7c/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:390 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:420 irq_exit_rcu+0xe/0x10 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0x107/0x130 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:593 RIP: 0010:console_unlock+0x195c/0x1e10 kernel/printk/printk.c:2503 Code: c8 00 00 00 48 8b 9c 24 c0 00 00 00 e8 5d d3 00 00 48 85 db 0f 85 89 00 00 00 4c 89 bc 24 28 01 00 00 ff b4 24 28 01 00 00 9d <44> 89 f0 34 01 22 44 24 3f 44 89 f3 0a 5c 24 2a 3c 01 74 76 f6 c3 RSP: 0018:ffff8881278c33c0 EFLAGS: 00000282 RAX: 00007ffffffff000 RBX: 0000000000000000 RCX: ffff8881278b3d00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 000000000001b9a0 RBP: ffff8881278c3548 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000000 R11: 00000000ffffffff R12: ffffffff925cad60 R13: ffff8881278b46d8 R14: 0000000000000000 R15: 0000000000000282 vprintk_emit+0x48f/0x990 kernel/printk/printk.c:2028 vprintk_default+0x90/0xa0 kernel/printk/printk.c:2046 vprintk_func+0x2f7/0x300 kernel/printk/printk_safe.c:393 printk+0x18b/0x1d3 kernel/printk/printk.c:2077 report_bug+0x80c/0x9d0 lib/bug.c:194 handle_bug+0x6c/0xd0 arch/x86/kernel/traps.c:235 exc_invalid_op+0x34/0x80 arch/x86/kernel/traps.c:255 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:548 RIP: 0010:rollback_registered_many+0x2374/0x2820 net/core/dev.c:8991 Code: d7 f3 e9 cf eb ff ff 48 83 bd 68 ff ff ff 00 75 03 44 8b 2a 44 89 ef e8 6a d2 53 f4 4d 39 fe 0f 84 2e fe ff ff e8 6c e1 d7 f3 <0f> 0b e9 27 fe ff ff 8b 7d 9c 4d 85 e4 75 02 8b 3a e8 46 d2 53 f4 RSP: 0018:ffff8881278c39d8 EFLAGS: 00010293 RAX: ffffffff8de305e4 RBX: 0000000000000000 RCX: ffff8881278b3d00 RDX: 0000000000000000 RSI: 0000000000000740 RDI: ffff8881d01a50a8 RBP: ffff8881278c3af8 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000004 R11: 0000000000000000 R12: ffff8881278b46d8 R13: 0000000000000000 R14: ffff8881d0281d58 R15: ffff8881d01a50a8 unregister_netdevice_many net/core/dev.c:10113 [inline] default_device_exit_batch+0x735/0xc50 net/core/dev.c:10596 ops_exit_list net/core/net_namespace.c:189 [inline] cleanup_net+0xf72/0x1b60 net/core/net_namespace.c:603 process_one_work+0x1688/0x2140 kernel/workqueue.c:2269 worker_thread+0x10bc/0x2730 kernel/workqueue.c:2415 kthread+0x551/0x590 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Local variable ----dev_stack.i@netdev_upper_dev_unlink created at: __netdev_walk_all_upper_dev net/core/dev.c:6998 [inline] netdev_upper_dev_unlink+0x1ac4/0x22d0 net/core/dev.c:7794 __netdev_walk_all_upper_dev net/core/dev.c:6998 [inline] netdev_upper_dev_unlink+0x1ac4/0x22d0 net/core/dev.c:7794 =====================================================