random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) Not allocated shadow for addr ffff8801d3ba4000 (page ffffea000af65d80) Attempted to access 782 bytes ------------[ cut here ]------------ kernel BUG at mm/kmsan/kmsan.c:1344! invalid opcode: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 4511 Comm: sshd Not tainted 4.17.0-rc5+ #101 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:1343 RSP: 0018:ffff880198b9e700 EFLAGS: 00010082 RAX: 000000000000001d RBX: 0000000000000740 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffff880198b9e718 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d3ba4000 R13: 000000000000030e R14: 0000000000000001 R15: 000000000000030e FS: 00007fc1209877c0(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc11fddaf70 CR3: 000000019804c000 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_write_xmit+0x2d71/0xb290 net/ipv4/tcp_output.c:2373 __tcp_push_pending_frames+0x124/0x3f0 net/ipv4/tcp_output.c:2546 tcp_push+0x803/0x8f0 net/ipv4/tcp.c:735 tcp_sendmsg_locked+0x4eb1/0x6610 net/ipv4/tcp.c:1410 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1447 inet_sendmsg+0x48d/0x740 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg net/socket.c:639 [inline] sock_write_iter+0x3b9/0x470 net/socket.c:908 call_write_iter include/linux/fs.h:1784 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x7fb/0x9f0 fs/read_write.c:487 vfs_write+0x463/0x8d0 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 fs/read_write.c:607 [inline] __x64_sys_write+0x1bf/0x3e0 fs/read_write.c:607 do_syscall_64+0x154/0x220 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fc11ed22370 RSP: 002b:00007ffea2b01cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000138 RCX: 00007fc11ed22370 RDX: 0000000000000138 RSI: 0000557ab7616440 RDI: 0000000000000003 RBP: 0000557ab7616440 R08: 0000557ab76144e0 R09: 0000557ab5ab8820 R10: 000000002998febe R11: 0000000000000246 R12: 00007ffea2b01d5c R13: 0000000000000001 R14: 0000557ab761c4a0 R15: 0000000000000000 Code: 75 29 48 c7 c7 e3 00 a0 8a 31 c0 e8 7d 16 83 ff 80 3c 25 f8 73 53 8b 00 75 11 48 c7 c7 13 01 a0 8a 31 c0 4c 89 fe e8 62 16 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:1343 RSP: ffff880198b9e700 ---[ end trace 0045a93293e6ee23 ]---