================================================================== BUG: KMSAN: uninit-value in memcmp lib/string.c:865 [inline] BUG: KMSAN: uninit-value in bcmp+0x117/0x180 lib/string.c:887 CPU: 0 PID: 16965 Comm: syz-executor.5 Not tainted 5.1.0-rc7+ #5 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+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x130/0x2a0 mm/kmsan/kmsan.c:619 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:310 memcmp lib/string.c:865 [inline] bcmp+0x117/0x180 lib/string.c:887 __hw_addr_del_ex net/core/dev_addr_lists.c:123 [inline] __dev_mc_del+0x16c/0x690 net/core/dev_addr_lists.c:810 dev_mc_del+0x6d/0x80 net/core/dev_addr_lists.c:828 ip_mc_filter_del net/ipv4/igmp.c:1142 [inline] __igmp_group_dropped+0x260/0x1320 net/ipv4/igmp.c:1276 igmp_group_dropped net/ipv4/igmp.c:1306 [inline] ip_mc_down+0x1e7/0x3b0 net/ipv4/igmp.c:1714 inetdev_event+0x22d/0x1df0 net/ipv4/devinet.c:1534 notifier_call_chain kernel/notifier.c:93 [inline] __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x13d/0x240 kernel/notifier.c:401 call_netdevice_notifiers_info net/core/dev.c:1753 [inline] call_netdevice_notifiers_extack net/core/dev.c:1765 [inline] call_netdevice_notifiers net/core/dev.c:1779 [inline] dev_close_many+0x60d/0x9e0 net/core/dev.c:1522 rollback_registered_many+0x94a/0x2210 net/core/dev.c:8177 rollback_registered net/core/dev.c:8242 [inline] unregister_netdevice_queue+0x593/0xab0 net/core/dev.c:9289 unregister_netdevice include/linux/netdevice.h:2658 [inline] __tun_detach+0x21be/0x2b10 drivers/net/tun.c:727 tun_detach drivers/net/tun.c:744 [inline] tun_chr_close+0xda/0x1c0 drivers/net/tun.c:3443 __fput+0x4d1/0xbc0 fs/file_table.c:278 ____fput+0x37/0x40 fs/file_table.c:309 task_work_run+0x22e/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:166 [inline] prepare_exit_to_usermode+0x31d/0x420 arch/x86/entry/common.c:197 syscall_return_slowpath+0x90/0x5c0 arch/x86/entry/common.c:268 do_syscall_64+0xe2/0xf0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x412b61 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 e4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:0000000000a4fbc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000412b61 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 00000000fa479b4b R09: ffffffffffffffff R10: 0000000000a4fca0 R11: 0000000000000293 R12: 0000000000740620 R13: 0000000000061fea R14: 0000000000062017 R15: 000000000073bf0c Local variable description: ----buf.i@__igmp_group_dropped Variable was created at: ip_mc_filter_del net/ipv4/igmp.c:1139 [inline] __igmp_group_dropped+0x170/0x1320 net/ipv4/igmp.c:1276 igmp_group_dropped net/ipv4/igmp.c:1306 [inline] ip_mc_down+0x1e7/0x3b0 net/ipv4/igmp.c:1714 ==================================================================