Not allocated shadow for addr ffff880113af8000 (page ffffea0006761d00) Attempted to access 694 bytes ------------[ cut here ]------------ kernel BUG at mm/kmsan/kmsan.c:1378! invalid opcode: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 4460 Comm: sshd Not tainted 4.17.0+ #6 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:1377 RSP: 0018:ffff8801a1f1e6f0 EFLAGS: 00010082 RAX: 000000000000001d RBX: 0000000000000440 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffff8801a1f1e708 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff86575770 R12: ffff880113af8000 R13: 00000000000002b6 R14: 0000000000000001 R15: 00000000000002b6 FS: 00007f46c36567c0(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000701138 CR3: 000000019c2c0000 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+0x73f/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:1233 [inline] start_xmit+0x293/0x29c0 drivers/net/virtio_net.c:1398 __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+0x5f6/0xc80 net/core/dev.c:3069 sch_direct_xmit+0x578/0x8f0 net/sched/sch_generic.c:327 qdisc_restart net/sched/sch_generic.c:399 [inline] __qdisc_run+0x1822/0x3730 net/sched/sch_generic.c:410 __dev_xmit_skb net/core/dev.c:3244 [inline] __dev_queue_xmit+0x2069/0x3540 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+0x12a8/0x1480 net/ipv4/ip_output.c:229 ip_finish_output+0xcbc/0x1000 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+0x1b0f/0x1d00 net/ipv4/ip_output.c:504 tcp_transmit_skb+0x3db5/0x5350 net/ipv4/tcp_output.c:1176 tcp_write_xmit+0x2d81/0xb200 net/ipv4/tcp_output.c:2373 __tcp_push_pending_frames+0x124/0x400 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+0x3fc/0x760 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg net/socket.c:639 [inline] sock_write_iter+0x3bc/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+0x808/0x9f0 fs/read_write.c:487 vfs_write+0x467/0x8c0 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+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f46c19f1370 RSP: 002b:00007ffdd10e9518 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000002818 RCX: 00007f46c19f1370 RDX: 0000000000002818 RSI: 000055eb0cf1c210 RDI: 0000000000000003 RBP: 000055eb0cf1c210 R08: 0000000000000001 R09: 0101010101010101 R10: 0000000000000008 R11: 0000000000000246 R12: 00007ffdd10e957c R13: 000055eb0c1f9fb4 R14: 0000000000000028 R15: 000055eb0c1fbca0 Code: 75 29 48 c7 c7 59 38 97 8a 31 c0 e8 fd 4c 80 ff 80 3c 25 f8 93 53 8b 00 75 11 48 c7 c7 89 38 97 8a 31 c0 4c 89 fe e8 e2 4c 80 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:1377 RSP: ffff8801a1f1e6f0 ---[ end trace b0d73c001d38a48c ]---