===================================================== BUG: KMSAN: uninit-value in expire_timers kernel/time/timer.c:1442 [inline] BUG: KMSAN: uninit-value in __run_timers+0xf19/0x11c0 kernel/time/timer.c:1773 CPU: 1 PID: 1584 Comm: kworker/u4:22 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+0x1df/0x240 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 expire_timers kernel/time/timer.c:1442 [inline] __run_timers+0xf19/0x11c0 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x311/0x83d kernel/softirq.c:293 asm_call_on_stack+0x12/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:metadata_is_contiguous+0x0/0x1b0 mm/kmsan/kmsan.c:464 Code: c7 43 27 ca b2 48 c7 c6 8c 27 ca b2 48 89 da 4c 89 f9 31 c0 e8 93 0a 45 ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b 0f 1f 40 00 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 28 48 c7 c0 9c ed RSP: 0018:ffffa66ec365baa8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000000096a7 RCX: 0000000000000004 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffffb476eb90 RBP: ffffa66ec365bac8 R08: ffffdae84000000f R09: ffffa160afffb000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 000000000000000a R14: ffffffffb476eb90 R15: 0000000000000000 __msan_metadata_ptr_for_load_4+0x10/0x20 mm/kmsan/kmsan_instr.c:54 inet_twsk_purge+0x8fe/0x950 net/ipv4/inet_timewait_sock.c:264 tcpv6_net_exit_batch+0x31/0x40 net/ipv6/tcp_ipv6.c:2159 ops_exit_list net/core/net_namespace.c:189 [inline] cleanup_net+0xf37/0x1a70 net/core/net_namespace.c:603 process_one_work+0x1540/0x1f30 kernel/workqueue.c:2269 worker_thread+0xed2/0x23f0 kernel/workqueue.c:2415 kthread+0x515/0x550 kernel/kthread.c:292 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:293 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_alloc+0x8a/0xe0 mm/kmsan/kmsan_hooks.c:80 slab_alloc_node mm/slub.c:2839 [inline] slab_alloc mm/slub.c:2848 [inline] __kmalloc_track_caller+0x8ce/0xef0 mm/slub.c:4447 kmemdup+0x95/0x140 mm/util.c:127 __devinet_sysctl_register+0xe4/0x770 net/ipv4/devinet.c:2560 devinet_sysctl_register+0x2ef/0x3a0 net/ipv4/devinet.c:2612 inetdev_init+0x580/0xad0 net/ipv4/devinet.c:276 inetdev_event+0x3dd/0x1e80 net/ipv4/devinet.c:1531 notifier_call_chain kernel/notifier.c:83 [inline] __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x130/0x250 kernel/notifier.c:368 call_netdevice_notifiers_info net/core/dev.c:2027 [inline] call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] register_netdevice+0x2c5d/0x3290 net/core/dev.c:9545 veth_newlink+0xad9/0x1430 drivers/net/veth.c:1366 __rtnl_newlink net/core/rtnetlink.c:3339 [inline] rtnl_newlink+0x2973/0x3900 net/core/rtnetlink.c:3397 rtnetlink_rcv_msg+0x1184/0x15c0 net/core/rtnetlink.c:5460 netlink_rcv_skb+0x451/0x650 net/netlink/af_netlink.c:2469 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5478 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0xf9e/0x1100 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x1246/0x14d0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] __sys_sendto+0xc56/0xc90 net/socket.c:1995 __do_sys_sendto net/socket.c:2007 [inline] __se_sys_sendto+0x107/0x130 net/socket.c:2003 __x64_sys_sendto+0x6e/0x90 net/socket.c:2003 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 =====================================================