[ 1.0543838] panic: kernel diagnostic assertion "len <= map->dm_mapsize - offset" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/arch/x86/x86/bus_dma.c", line 816 bad length 0x0 + 1000 > 3 [ 1.0543838] cpu0: Begin traceback... [ 1.0543838] vpanic() at netbsd:vpanic+0xc9d [ 1.0543838] kern_assert() at netbsd:kern_assert+0x228 [ 1.0543838] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 _bus_dmamap_sync sys/arch/x86/x86/bus_dma.c:813 [inline] [ 1.0543838] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 sys/arch/x86/x86/bus_dma.c:1373 [ 1.0543838] virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x1ac sys/dev/pci/virtio.c:1139 [ 1.0543838] viornd_get() at netbsd:viornd_get+0x440 sys/dev/pci/viornd.c:87 [ 1.0543838] rnd_attach_source() at netbsd:rnd_attach_source+0xb65 [ 1.0543838] viornd_attach() at netbsd:viornd_attach+0xed6 [ 1.0543838] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0543838] config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 [ 1.0543838] virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 virtio_pci_rescan sys/dev/pci/virtio_pci.c:317 [inline] [ 1.0543838] virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 sys/dev/pci/virtio_pci.c:297 [ 1.0543838] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0543838] config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 [ 1.0543838] pci_probe_device() at netbsd:pci_probe_device+0x26d4 sys/dev/pci/pci.c:488 [ 1.0543838] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x10d5 sys/dev/pci/pci.c:819 [ 1.0543838] pciattach() at netbsd:pciattach+0xcc6 sys/dev/pci/pci.c:207 [ 1.0543838] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0543838] config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 [ 1.0543838] mp_pci_scan() at netbsd:mp_pci_scan+0x39e sys/arch/x86/x86/mp.c:96 [ 1.0543838] amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x737 sys/arch/amd64/amd64/amd64_mainbus.c:213 [ 1.0543838] mainbus_attach() at netbsd:mainbus_attach+0x70f sys/arch/x86/x86/mainbus.c:245 [ 1.0543838] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0543838] config_rootfound() at netbsd:config_rootfound+0x434 config_attach sys/kern/subr_autoconf.c:1810 [inline] [ 1.0543838] config_rootfound() at netbsd:config_rootfound+0x434 sys/kern/subr_autoconf.c:1290 [ 1.0543838] cpu_configure() at netbsd:cpu_configure+0xcb sys/arch/amd64/amd64/autoconf.c:112 [ 1.0543838] main() at netbsd:main+0xc04 sys/kern/init_main.c:555 [ 1.0543838] cpu0: End traceback... [ 1.0543838] fatal breakpoint trap in supervisor mode [ 1.0543838] trap type 1 code 0 rip 0xffffffff8023675d cs 0x8 rflags 0x286 cr2 0 ilevel 0x8 rsp 0xffffffff86c6e6b0 [ 1.0543838] curlwp 0xffffffff868691c0 pid 0.0 lowest kstack 0xffffffff86c682c0 Stopped in pid 0.0 (system) at netbsd:breakpoint+0x5: leave breakpoint() at netbsd:breakpoint+0x5 vpanic() at netbsd:vpanic+0xc9d kern_assert() at netbsd:kern_assert+0x228 bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 _bus_dmamap_sync sys/arch/x86/x86/bus_dma.c:813 [inline] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 sys/arch/x86/x86/bus_dma.c:1373 virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x1ac sys/dev/pci/virtio.c:1139 viornd_get() at netbsd:viornd_get+0x440 sys/dev/pci/viornd.c:87 rnd_attach_source() at netbsd:rnd_attach_source+0xb65 viornd_attach() at netbsd:viornd_attach+0xed6 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 virtio_pci_rescan sys/dev/pci/virtio_pci.c:317 [inline] virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 sys/dev/pci/virtio_pci.c:297 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 pci_probe_device() at netbsd:pci_probe_device+0x26d4 sys/dev/pci/pci.c:488 pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x10d5 sys/dev/pci/pci.c:819 pciattach() at netbsd:pciattach+0xcc6 sys/dev/pci/pci.c:207 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 mp_pci_scan() at netbsd:mp_pci_scan+0x39e sys/arch/x86/x86/mp.c:96 amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x737 sys/arch/amd64/amd64/amd64_mainbus.c:213 mainbus_attach() at netbsd:mainbus_attach+0x70f sys/arch/x86/x86/mainbus.c:245 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 --db_more--