[ 1.0214400] panic: kernel diagnostic assertion "len <= map->dm_mapsize - offset" failed: file "/syzkaller/managers/ci2-netbsd/kernel/sys/arch/x86/x86/bus_dma.c", line 813 bad length 0x0 + 1000 > 3 [ 1.0214400] cpu0: Begin traceback... [ 1.0214400] vpanic() at netbsd:vpanic+0x282 sys/kern/subr_prf.c:293 [ 1.0214400] _sub_D_65535_0() at netbsd:_sub_D_65535_0+-0x23db0 [ 1.0214400] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x369 _bus_dmamap_sync sys/arch/x86/x86/bus_dma.c:813 [inline] [ 1.0214400] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x369 sys/arch/x86/x86/bus_dma.c:1373 [ 1.0214400] virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x8f sys/dev/pci/virtio.c:1139 [ 1.0214400] viornd_get() at netbsd:viornd_get+0x1c8 sys/dev/pci/viornd.c:111 [ 1.0214400] rnd_attach_source() at netbsd:rnd_attach_source+0x4fd sys/kern/kern_entropy.c:1678 [ 1.0214400] viornd_attach() at netbsd:viornd_attach+0x33e sys/dev/pci/viornd.c:202 [ 1.0214400] config_attach_internal() at netbsd:config_attach_internal+0x341 sys/kern/subr_autoconf.c:1775 [ 1.0214400] config_found() at netbsd:config_found+0x1e2 sys/kern/subr_autoconf.c:1262 [ 1.0214400] virtio_pci_rescan() at netbsd:virtio_pci_rescan+0xd4 sys/dev/pci/virtio_pci.c:317 [ 1.0214400] virtio_pci_attach() at netbsd:virtio_pci_attach+0x491 sys/dev/pci/virtio_pci.c:298 [ 1.0214400] config_attach_internal() at netbsd:config_attach_internal+0x341 sys/kern/subr_autoconf.c:1775 [ 1.0214400] config_found() at netbsd:config_found+0x1e2 sys/kern/subr_autoconf.c:1262 [ 1.0214400] pci_probe_device() at netbsd:pci_probe_device+0xf77 sys/dev/pci/pci.c:488 [ 1.0214400] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x426 sys/dev/pci/pci.c:819 [ 1.0214400] pcirescan() at netbsd:pcirescan+0x71 sys/dev/pci/pci.c:113 [ 1.0214400] pciattach() at netbsd:pciattach+0x310 sys/dev/pci/pci.c:210 [ 1.0214400] config_attach_internal() at netbsd:config_attach_internal+0x341 sys/kern/subr_autoconf.c:1775 [ 1.0214400] config_found() at netbsd:config_found+0x1e2 sys/kern/subr_autoconf.c:1262 [ 1.0214400] mp_pci_scan() at netbsd:mp_pci_scan+0x265 sys/arch/x86/x86/mp.c:96 [ 1.0214400] amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x867 sys/arch/amd64/amd64/amd64_mainbus.c:213 [ 1.0214400] mainbus_attach() at netbsd:mainbus_attach+0x1a2 sys/arch/x86/x86/mainbus.c:216 [ 1.0214400] config_attach_internal() at netbsd:config_attach_internal+0x341 sys/kern/subr_autoconf.c:1775 [ 1.0214400] config_rootfound() at netbsd:config_rootfound+0xda config_attach sys/kern/subr_autoconf.c:1810 [inline] [ 1.0214400] config_rootfound() at netbsd:config_rootfound+0xda sys/kern/subr_autoconf.c:1290 [ 1.0214400] cpu_configure() at netbsd:cpu_configure+0x68 sys/arch/amd64/amd64/autoconf.c:112 [ 1.0214400] main() at netbsd:main+0x4b8 sys/kern/init_main.c:555 [ 1.0214400] cpu0: End traceback... [ 1.0214400] fatal breakpoint trap in supervisor mode [ 1.0214400] trap type 1 code 0 rip 0xffffffff8023230d cs 0x8 rflags 0x202 cr2 0 ilevel 0x8 rsp 0xffffffff838747c0 [ 1.0214400] curlwp 0xffffffff83345d80 pid 0.0 lowest kstack 0xffffffff8386e2c0 Stopped in pid 0.0 (system) at netbsd:breakpoint+0x5: leave breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0x105 sys/ddb/db_panic.c:69 vpanic() at netbsd:vpanic+0x282 sys/kern/subr_prf.c:293 _sub_D_65535_0() at netbsd:_sub_D_65535_0+-0x23db0 bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x369 _bus_dmamap_sync sys/arch/x86/x86/bus_dma.c:813 [inline] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x369 sys/arch/x86/x86/bus_dma.c:1373 virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x8f sys/dev/pci/virtio.c:1139 viornd_get() at netbsd:viornd_get+0x1c8 sys/dev/pci/viornd.c:111 rnd_attach_source() at netbsd:rnd_attach_source+0x4fd sys/kern/kern_entropy.c:1678 viornd_attach() at netbsd:viornd_attach+0x33e sys/dev/pci/viornd.c:202 config_attach_internal() at netbsd:config_attach_internal+0x341 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x1e2 sys/kern/subr_autoconf.c:1262 virtio_pci_rescan() at netbsd:virtio_pci_rescan+0xd4 sys/dev/pci/virtio_pci.c:317 virtio_pci_attach() at netbsd:virtio_pci_attach+0x491 sys/dev/pci/virtio_pci.c:298 config_attach_internal() at netbsd:config_attach_internal+0x341 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x1e2 sys/kern/subr_autoconf.c:1262 pci_probe_device() at netbsd:pci_probe_device+0xf77 sys/dev/pci/pci.c:488 pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x426 sys/dev/pci/pci.c:819 pcirescan() at netbsd:pcirescan+0x71 sys/dev/pci/pci.c:113 pciattach() at netbsd:pciattach+0x310 sys/dev/pci/pci.c:210 config_attach_internal() at netbsd:config_attach_internal+0x341 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x1e2 sys/kern/subr_autoconf.c:1262 mp_pci_scan() at netbsd:mp_pci_scan+0x265 sys/arch/x86/x86/mp.c:96 --db_more--