random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) Not allocated shadow for addr ffff8801d39dc000 (page ffffea000af5b280) Attempted to access 270 bytes ------------[ cut here ]------------ kernel BUG at mm/kmsan/kmsan.c:1341! invalid opcode: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.17.0-rc3+ #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kmsan_get_shadow_address+0x1ce/0x1f0 mm/kmsan/kmsan.c:1340 RSP: 0018:ffff88021fc0e3c0 EFLAGS: 00010082 RAX: 000000000000001d RBX: 0000000000000740 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffff88021fc0e3d8 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d39dc000 R13: 000000000000010e R14: 0000000000000001 R15: 000000000000010e FS: 0000000000000000(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005593057334b8 CR3: 000000019cac8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmsan_internal_memset_shadow mm/kmsan/kmsan.c:172 [inline] kmsan_internal_unpoison_shadow+0x5c/0xe0 mm/kmsan/kmsan.c:209 kmsan_unpoison_shadow+0x66/0xb0 mm/kmsan/kmsan.c:223 virtqueue_get_buf_ctx+0x742/0xa20 drivers/virtio/virtio_ring.c:759 virtqueue_get_buf+0x72/0x90 drivers/virtio/virtio_ring.c:766 free_old_xmit_skbs drivers/net/virtio_net.c:1234 [inline] start_xmit+0x293/0x29a0 drivers/net/virtio_net.c:1399 __netdev_start_xmit include/linux/netdevice.h:4087 [inline] netdev_start_xmit include/linux/netdevice.h:4096 [inline] xmit_one net/core/dev.c:3053 [inline] dev_hard_start_xmit+0x5f1/0xc70 net/core/dev.c:3069 sch_direct_xmit+0x540/0x8f0 net/sched/sch_generic.c:327 qdisc_restart net/sched/sch_generic.c:399 [inline] __qdisc_run+0x1785/0x3730 net/sched/sch_generic.c:410 __dev_xmit_skb net/core/dev.c:3244 [inline] __dev_queue_xmit+0x1d50/0x3520 net/core/dev.c:3552 dev_queue_xmit+0x4b/0x60 net/core/dev.c:3617 neigh_hh_output include/net/neighbour.h:472 [inline] neigh_output include/net/neighbour.h:480 [inline] ip_finish_output2+0x12a1/0x1470 net/ipv4/ip_output.c:229 ip_finish_output+0xcb2/0xff0 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:277 [inline] ip_output+0x505/0x5d0 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:124 [inline] ip_queue_xmit+0x1a1e/0x1d10 net/ipv4/ip_output.c:504 tcp_transmit_skb+0x3d81/0x53d0 net/ipv4/tcp_output.c:1176 tcp_send_ack+0x7e3/0x910 net/ipv4/tcp_output.c:3618 __tcp_ack_snd_check net/ipv4/tcp_input.c:5034 [inline] tcp_rcv_established+0x2ad0/0x2bb0 net/ipv4/tcp_input.c:5427 tcp_v4_do_rcv+0x6cd/0xd90 net/ipv4/tcp_ipv4.c:1477 tcp_v4_rcv+0x675c/0x6cd0 net/ipv4/tcp_ipv4.c:1765 ip_local_deliver_finish+0x874/0xec0 net/ipv4/ip_input.c:215 NF_HOOK include/linux/netfilter.h:288 [inline] ip_local_deliver+0x43c/0x4e0 net/ipv4/ip_input.c:256 dst_input include/net/dst.h:450 [inline] ip_rcv_finish+0xa36/0x1d00 net/ipv4/ip_input.c:396 NF_HOOK include/linux/netfilter.h:288 [inline] ip_rcv+0x118f/0x16d0 net/ipv4/ip_input.c:492 __netif_receive_skb_core+0x47df/0x4a90 net/core/dev.c:4592 __netif_receive_skb net/core/dev.c:4657 [inline] netif_receive_skb_internal+0x49d/0x630 net/core/dev.c:4731 napi_skb_finish net/core/dev.c:5093 [inline] napi_gro_receive+0x6a2/0xb50 net/core/dev.c:5124 receive_buf+0x4be2/0x6700 drivers/net/virtio_net.c:946 virtnet_receive drivers/net/virtio_net.c:1202 [inline] virtnet_poll+0x98c/0x1520 drivers/net/virtio_net.c:1285 napi_poll net/core/dev.c:5735 [inline] net_rx_action+0x7c1/0x1a70 net/core/dev.c:5801 __do_softirq+0x56d/0x93d kernel/softirq.c:285 invoke_softirq kernel/softirq.c:365 [inline] irq_exit+0x202/0x240 kernel/softirq.c:405 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:525 do_IRQ+0x17d/0x1c0 arch/x86/kernel/irq.c:264 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:55 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:97 [inline] RIP: 0010:default_idle+0x1fb/0x3c0 arch/x86/kernel/process.c:354 RSP: 0018:ffffffff8ac0fd88 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffd9 RAX: ffff8801fd431cf8 RBX: 0000000000000000 RCX: ffff880000000000 RDX: ffff8801fd031cf8 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000 RBP: ffffffff8ac0fdc0 R08: 0000000001080020 R09: 0000000000000002 R10: 00000008f7e94bc0 R11: 0000000000000000 R12: ffffffff8ac372c0 R13: ffffffff8ac37b98 R14: ffffffff8ac0fe24 R15: ffffffff8ac37b98 arch_cpu_idle+0x20/0x30 arch/x86/kernel/process.c:345 default_idle_call kernel/sched/idle.c:93 [inline] cpuidle_idle_call kernel/sched/idle.c:153 [inline] do_idle+0x458/0x850 kernel/sched/idle.c:262 cpu_startup_entry+0x45/0x50 kernel/sched/idle.c:368 rest_init+0x1c1/0x1f0 init/main.c:442 start_kernel+0x10fa/0x1110 init/main.c:739 x86_64_start_reservations arch/x86/kernel/head64.c:454 [inline] x86_64_start_kernel+0x2fa/0x310 arch/x86/kernel/head64.c:435 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:242 Code: 75 29 48 c7 c7 a4 fe 9f 8a 31 c0 e8 cd 29 83 ff 80 3c 25 f8 73 53 8b 00 75 11 48 c7 c7 d4 fe 9f 8a 31 c0 4c 89 fe e8 b2 29 83 ff <0f> 0b eb fe 48 3d ff ff ff 1f 0f 87 a2 fe ff ff 48 8b 1c 25 10 RIP: kmsan_get_shadow_address+0x1ce/0x1f0 mm/kmsan/kmsan.c:1340 RSP: ffff88021fc0e3c0 ---[ end trace f9fffdb8cb1ff02b ]---