===================================================== 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+0x38d/0x780 kernel/time/timer.c:1438 CPU: 1 PID: 17556 Comm: syz-executor.4 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+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 __hlist_del include/linux/list.h:812 [inline] detach_timer kernel/time/timer.c:814 [inline] expire_timers+0x38d/0x780 kernel/time/timer.c:1438 __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:tomoyo_compare_number_union security/tomoyo/file.c:115 [inline] RIP: 0010:tomoyo_check_path_number_acl+0x143/0x510 security/tomoyo/file.c:282 Code: 48 89 45 a8 48 89 df e8 0b 48 ed fc 48 8b 4d a0 48 8d 59 40 4c 8b 38 8b 02 89 45 d0 48 83 7d b0 00 0f 85 40 01 00 00 4c 8b 23 <48> 89 df e8 e5 47 ed fc 48 8b 18 44 8b 32 48 85 db 74 0f 48 89 d8 RSP: 0018:ffff8880774b3a78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888069c619a0 RCX: ffff888069c61960 RDX: ffff8880770b3c40 RSI: 00000000000001c0 RDI: ffff8880774b3c40 RBP: ffff8880774b3ae0 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000002 R11: ffff888060119e80 R12: 0000000000000000 R13: ffff88806011a858 R14: ffff888069c61904 R15: 0000000000000000 tomoyo_check_acl+0x239/0x5a0 security/tomoyo/domain.c:175 tomoyo_path_number_perm+0x62e/0xaf0 security/tomoyo/file.c:733 tomoyo_file_ioctl+0x74/0x90 security/tomoyo/tomoyo.c:329 security_file_ioctl+0x10a/0x210 security/security.c:1480 ksys_ioctl fs/ioctl.c:747 [inline] __do_sys_ioctl fs/ioctl.c:762 [inline] __se_sys_ioctl+0x143/0x4d0 fs/ioctl.c:760 __x64_sys_ioctl+0x4a/0x70 fs/ioctl.c:760 do_syscall_64+0xad/0x160 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cce7 Code: Bad RIP value. RSP: 002b:000000000169f768 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045cce7 RDX: 000000000169f770 RSI: 0000000000008933 RDI: 0000000000000004 RBP: 00000000004c24a9 R08: 000000000000000c R09: 000000000169f898 R10: 0000000000000008 R11: 0000000000000246 R12: 00000000004c24a9 R13: 0000000000000000 R14: 0000000000000003 R15: 000000000169f898 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+0xbe8/0xe10 mm/slub.c:4447 kmemdup+0x95/0x140 mm/util.c:127 __devinet_sysctl_register+0xe4/0x770 net/ipv4/devinet.c:2560 devinet_sysctl_register+0x344/0x410 net/ipv4/devinet.c:2612 inetdev_init+0x5fb/0xc10 net/ipv4/devinet.c:276 inetdev_event+0xd19/0x2100 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+0x123/0x290 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+0x3120/0x37d0 net/core/dev.c:9545 veth_newlink+0xb5c/0x15c0 drivers/net/veth.c:1366 __rtnl_newlink net/core/rtnetlink.c:3339 [inline] rtnl_newlink+0x2e03/0x3ed0 net/core/rtnetlink.c:3397 rtnetlink_rcv_msg+0x142b/0x18c0 net/core/rtnetlink.c:5460 netlink_rcv_skb+0x6d7/0x7e0 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+0x11c8/0x1490 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x173a/0x1840 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] __sys_sendto+0x9f8/0xca0 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+0xad/0x160 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 =====================================================