Not allocated shadow for addr ffff8801a2a86000 (page ffffea0009cff240) Attempted to access 2160 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: 4467 Comm: syz-fuzzer 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:ffff88021fc0e3b0 EFLAGS: 00010082 RAX: 000000000000001e RBX: 0000000000000680 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffff88021fc0e3c8 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff86575770 R12: ffff8801a2a86000 R13: 0000000000000870 R14: 0000000000000001 R15: 0000000000000870 FS: 000000c42015a068(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c429361008 CR3: 00000001c7c9c000 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_send_ack+0x7e8/0x900 net/ipv4/tcp_output.c:3621 __tcp_ack_snd_check net/ipv4/tcp_input.c:5034 [inline] tcp_rcv_established+0x2ad8/0x2bb0 net/ipv4/tcp_input.c:5427 tcp_v4_do_rcv+0x6d2/0xd90 net/ipv4/tcp_ipv4.c:1477 tcp_v4_rcv+0x676e/0x6cd0 net/ipv4/tcp_ipv4.c:1765 ip_local_deliver_finish+0x887/0xed0 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+0xa1b/0x1d10 net/ipv4/ip_input.c:396 NF_HOOK include/linux/netfilter.h:288 [inline] ip_rcv+0x1168/0x16a0 net/ipv4/ip_input.c:492 __netif_receive_skb_core+0x47f3/0x4aa0 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+0x6a7/0xb60 net/core/dev.c:5124 receive_buf+0x4c96/0x6ae0 drivers/net/virtio_net.c:945 virtnet_receive drivers/net/virtio_net.c:1201 [inline] virtnet_poll+0x98c/0x1530 drivers/net/virtio_net.c:1284 napi_poll net/core/dev.c:5735 [inline] net_rx_action+0x766/0x1a80 net/core/dev.c:5801 __do_softirq+0x592/0x979 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:pipe_write+0xd6/0x1c40 fs/pipe.c:356 RSP: 0018:ffff8801a8f9faf8 EFLAGS: 00000292 ORIG_RAX: ffffffffffffffd9 RAX: 0000000000000000 RBX: ffff8801979df7c8 RCX: ffff880000000000 RDX: ffff8801979e17c8 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000 RBP: ffff8801a8f9fc80 R08: 0000000001080020 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff81cf2bb0 R12: 0000000000000000 R13: ffff8801c279a618 R14: 0000000000000000 R15: ffff8801a8f9fcc0 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:0x47fc44 RSP: 002b:000000c42003d5f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000047fc44 RDX: 0000000000000038 RSI: 000000c42003d860 RDI: 0000000000000016 RBP: 000000c42003d640 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000013 R15: 000000c42003d8c0 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: ffff88021fc0e3b0 ---[ end trace 31cd8cf62ef05582 ]---