===================================================== BUG: KMSAN: uninit-value in __hlist_del include/linux/list.h:812 [inline] BUG: KMSAN: uninit-value in detach_timer kernel/time/timer.c:814 [inline] BUG: KMSAN: uninit-value in expire_timers kernel/time/timer.c:1438 [inline] BUG: KMSAN: uninit-value in __run_timers+0xbd9/0x11c0 kernel/time/timer.c:1773 CPU: 0 PID: 18315 Comm: syz-executor.2 Not tainted 5.8.0-rc5-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+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 __hlist_del include/linux/list.h:812 [inline] detach_timer kernel/time/timer.c:814 [inline] expire_timers kernel/time/timer.c:1438 [inline] __run_timers+0xbd9/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:_raw_spin_unlock_irqrestore+0x4b/0x70 kernel/locking/spinlock.c:192 Code: 00 8b b8 88 0c 00 00 48 8b 00 48 85 c0 75 28 48 89 df e8 f8 a4 6d f3 c6 00 00 c6 03 00 4d 85 e4 75 1c 4c 89 7d d8 ff 75 d8 9d <48> 83 c4 08 5b 41 5c 41 5e 41 5f 5d c3 e8 93 aa 6d f3 eb d1 44 89 RSP: 0018:ffff992ec0e4f3d0 EFLAGS: 00000286 RAX: ffff94a2ce1dea18 RBX: ffffffff94deba18 RCX: 00000000009f5515 RDX: ffff94a2bddd1a18 RSI: 00000000000005c0 RDI: ffffffff94deba18 RBP: ffff992ec0e4f3f8 R08: fffff06e0000000f R09: ffff94a1efffb000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000286 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] pcpu_alloc+0x1722/0x2ce0 mm/percpu.c:1678 __alloc_percpu+0x7a/0x90 mm/percpu.c:1773 snmp6_alloc_dev net/ipv6/addrconf.c:334 [inline] ipv6_add_dev+0x823/0x18e0 net/ipv6/addrconf.c:398 addrconf_notify+0xc0a/0x5ae0 net/ipv6/addrconf.c:3462 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 register_netdev+0x93/0xd0 net/core/dev.c:9645 loopback_net_init+0x10a/0x320 drivers/net/loopback.c:216 ops_init+0x2d3/0x730 net/core/net_namespace.c:151 setup_net+0x286/0x12b0 net/core/net_namespace.c:341 copy_net_ns+0x551/0xa70 net/core/net_namespace.c:482 create_new_namespaces+0x9a8/0x11e0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x25e/0x340 kernel/nsproxy.c:231 ksys_unshare+0x8d5/0x1120 kernel/fork.c:2985 __do_sys_unshare kernel/fork.c:3053 [inline] __se_sys_unshare+0x41/0x60 kernel/fork.c:3051 __x64_sys_unshare+0x32/0x50 kernel/fork.c:3051 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45f747 Code: Bad RIP value. RSP: 002b:0000000000c9ffa8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 000000000078c988 RCX: 000000000045f747 RDX: 0000000000531491 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000005 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000418700 R13: 00007fff7bc85e18 R14: 0000000000000000 R15: 0000000000000000 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 __addrconf_sysctl_register+0xe1/0x7d0 net/ipv6/addrconf.c:6882 addrconf_sysctl_register+0x2c7/0x370 net/ipv6/addrconf.c:6947 ipv6_add_dev+0x1554/0x18e0 net/ipv6/addrconf.c:443 addrconf_notify+0xc0a/0x5ae0 net/ipv6/addrconf.c:3462 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 =====================================================