netlink: 'syz-executor1': attribute type 4 has an invalid length. ================================================================== BUG: KMSAN: uninit-value in virtio_net_hdr_to_skb include/linux/virtio_net.h:32 [inline] BUG: KMSAN: uninit-value in receive_buf+0x53a7/0x81f0 drivers/net/virtio_net.c:1030 CPU: 0 PID: 10147 Comm: syz-fuzzer Not tainted 5.0.0-rc1+ #7 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+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313 virtio_net_hdr_to_skb include/linux/virtio_net.h:32 [inline] receive_buf+0x53a7/0x81f0 drivers/net/virtio_net.c:1030 virtnet_receive drivers/net/virtio_net.c:1304 [inline] virtnet_poll+0xddf/0x1c60 drivers/net/virtio_net.c:1391 napi_poll net/core/dev.c:6346 [inline] net_rx_action+0x78b/0x1a60 net/core/dev.c:6412 __do_softirq+0x53f/0x93a kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x214/0x250 kernel/softirq.c:416 exiting_irq arch/x86/include/asm/apic.h:536 [inline] do_IRQ+0x2bb/0x3b0 arch/x86/kernel/irq.c:258 common_interrupt+0x2e/0x2e arch/x86/entry/entry_64.S:588 RIP: 0010:metadata_is_contiguous+0x8/0xbc0 mm/kmsan/kmsan.c:708 Code: b2 68 81 8b 4c 89 ee 48 89 da 31 c0 e8 51 70 7a ff 41 c6 86 83 09 00 00 00 0f 0b 0f 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 <41> 55 41 54 53 48 83 ec 48 48 c7 c0 6e ac 92 8b 49 c7 c5 ee 2c 7f RSP: 0018:ffff8880a896f720 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffda RAX: 0000000000000000 RBX: ffffffff8c625000 RCX: ccccccccccccd000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880a71190c0 RBP: ffff8880a896f730 R08: 0000000000000001 R09: ffff8880a896f7b8 R10: ffff8880a3b9fd10 R11: ffffffff88f66010 R12: 0000000000000000 R13: 00000000000005b4 R14: ffff8880a71190c0 R15: 0000000000000008 kmsan_get_shadow_origin_ptr+0x60/0x440 mm/kmsan/kmsan.c:819 __msan_metadata_ptr_for_load_8+0x10/0x20 mm/kmsan/kmsan_instr.c:55 tcp_established_options net/ipv4/tcp_output.c:735 [inline] tcp_current_mss+0x24f/0x5a0 net/ipv4/tcp_output.c:1578 tcp_send_mss net/ipv4/tcp.c:931 [inline] tcp_sendmsg_locked+0xcde/0x6c50 net/ipv4/tcp.c:1259 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1443 inet_sendmsg+0x54a/0x720 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg net/socket.c:631 [inline] sock_write_iter+0x3f4/0x4d0 net/socket.c:900 call_write_iter include/linux/fs.h:1862 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x98a/0xc20 fs/read_write.c:487 vfs_write+0x481/0x920 fs/read_write.c:549 ksys_write fs/read_write.c:598 [inline] __do_sys_write fs/read_write.c:610 [inline] __se_sys_write+0x17a/0x370 fs/read_write.c:607 __x64_sys_write+0x4a/0x70 fs/read_write.c:607 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x47fcb4 Code: ff ff cc cc cc cc e8 2b 41 fb ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 45 31 d2 45 31 c0 45 31 c9 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 RSP: 002b:000000c420381500 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000047fcb4 RDX: 00000000000000f0 RSI: 000000c420372020 RDI: 0000000000000003 RBP: 000000c420381550 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000c4203409a0 R13: 000000000000007f R14: 0000000000bd9700 R15: fffffffffffcc494 Uninit was created at: No stack ==================================================================