Warning: Permanently added '10.128.1.83' (ED25519) to the list of known hosts. 2024/08/19 18:07:55 ignoring optional flag "sandboxArg"="0" 2024/08/19 18:07:55 parsed 1 programs 2024/08/19 18:07:56 executed programs: 0 vnd0: sloppy read from proc 76818 (syz-executor.2): blkno 64 bcount 2048 vnd0: sloppy read from proc 76818 (syz-executor.2): blkno 1024 bcount 2048 panic: Non dma-reachable buffer at curaddr 0xffffffff82a1435d(raw) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *350960 9791 0 0x8000002 0 0 syz-executor.6 db_enter() at db_enter+0x25 panic(ffffffff83078bb1) at panic+0x1cf _bus_dmamap_load_buffer(ffff80002a61abc0,ffff800000195c00,ffff8000225f2000,800,0,401,68576736dbf8d59e,800,ffff800000195c00) at _bus_dmamap_load_buffer+0x57f _bus_dmamap_load(ffffffff833e8270,ffff800000195c00,ffff8000225f2000,800,0,401) at _bus_dmamap_load+0xb9 vioscsi_scsi_cmd(fffffd807e4ec6f8) at vioscsi_scsi_cmd+0x221 sdstart(fffffd807e4ec6f8) at sdstart+0x4b2 scsi_iopool_run(ffff8000000a2048) at scsi_iopool_run+0x165 scsi_xsh_runqueue(ffff80000002f800) at scsi_xsh_runqueue+0x39d scsi_xsh_add(ffff800000024b80) at scsi_xsh_add+0x115 sdstrategy(fffffd8078ff5260) at sdstrategy+0x21b spec_strategy(ffff80002a61ae88) at spec_strategy+0x45 VOP_STRATEGY(fffffd807ec3f6c0,fffffd8078ff5260) at VOP_STRATEGY+0xcc ufs_strategy(ffff80002a61af38) at ufs_strategy+0x1f6 VOP_STRATEGY(fffffd8075a3ab50,fffffd8078ff5260) at VOP_STRATEGY+0xcc end trace frame: 0xffff80002a61afd0, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: Non dma-reachable buffer at curaddr 0xffffffff82a1435d(raw) ddb> trace db_enter() at db_enter+0x25 panic(ffffffff83078bb1) at panic+0x1cf _bus_dmamap_load_buffer(ffff80002a61abc0,ffff800000195c00,ffff8000225f2000,800,0,401,68576736dbf8d59e,800,ffff800000195c00) at _bus_dmamap_load_buffer+0x57f _bus_dmamap_load(ffffffff833e8270,ffff800000195c00,ffff8000225f2000,800,0,401) at _bus_dmamap_load+0xb9 vioscsi_scsi_cmd(fffffd807e4ec6f8) at vioscsi_scsi_cmd+0x221 sdstart(fffffd807e4ec6f8) at sdstart+0x4b2 scsi_iopool_run(ffff8000000a2048) at scsi_iopool_run+0x165 scsi_xsh_runqueue(ffff80000002f800) at scsi_xsh_runqueue+0x39d scsi_xsh_add(ffff800000024b80) at scsi_xsh_add+0x115 sdstrategy(fffffd8078ff5260) at sdstrategy+0x21b spec_strategy(ffff80002a61ae88) at spec_strategy+0x45 VOP_STRATEGY(fffffd807ec3f6c0,fffffd8078ff5260) at VOP_STRATEGY+0xcc ufs_strategy(ffff80002a61af38) at ufs_strategy+0x1f6 VOP_STRATEGY(fffffd8075a3ab50,fffffd8078ff5260) at VOP_STRATEGY+0xcc bwrite(fffffd8078ff5260) at bwrite+0x28a VOP_BWRITE(fffffd8078ff5260) at VOP_BWRITE+0x60 ufs_mkdir(ffff80002a61b1b0) at ufs_mkdir+0x581 VOP_MKDIR(fffffd806b9efb48,ffff80002a61b310,ffff80002a61b340,ffff80002a61b240) at VOP_MKDIR+0x102 domkdirat(ffff80002a4b0a30,ffffff9c,7d89177759f0,1ff) at domkdirat+0x179 syscall(ffff80002a61b4c0) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d8917775a60, count: -21 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a61aa30 rbx 0xffff8000225f2000 rdx 0x3fd rcx 0 rax 0x43 r8 0x101010101010101 r9 0x8080808080808080 r10 0x9d15d0d5418afc18 r11 0x59df842e07af8485 r12 0 r13 0xffffffff82a1435d poison_check+0xfd r14 0 r15 0x1 rip 0xffffffff822880b5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a61aa20 ss 0 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor.6) tid=350960 pid=9791 tcnt=1 stat=onproc flags process=8000002 proc=0 runpri=17, usrpri=51, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a572020,0xffff80002a48ccd0 process=0xffff80002a465128 user=0xffff80002a616000, vmspace=0xfffffd80692ee6c8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28017 194529 58170 0 2 0x8000000 syz-executor.4 28017 83141 58170 0 2 0xc000000 syz-executor.4 34227 493771 58065 0 2 0x18100002 ndp 58065 423701 14103 0 3 0x810008a sigsusp sh 43104 49102 36616 0 2 0x8000000 syz-executor.3 76818 308355 18518 0 2 0x8000000 syz-executor.2 76818 319450 18518 0 2 0xc000000 syz-executor.2 76818 178928 18518 0 3 0xc000080 fsleep syz-executor.2 96542 516744 61804 0 2 0x8000000 syz-executor.0 72442 96224 11197 0 2 0x8000000 syz-executor.1 45872 485109 51331 0 2 0x8000000 syz-executor.7 45872 491483 51331 0 3 0xc000080 fsleep syz-executor.7 14103 47420 27151 0 3 0x8000082 wait syz-executor.5 51331 9873 27151 0 2 0x8000482 syz-executor.7 * 9791 350960 27151 0 7 0x8000002 syz-executor.6 36616 498605 27151 0 2 0x8000482 syz-executor.3 58170 468728 27151 0 2 0x8000482 syz-executor.4 18518 280476 27151 0 2 0x8000482 syz-executor.2 11197 159068 27151 0 2 0x8000482 syz-executor.1 61804 490680 27151 0 2 0x8000002 syz-executor.0 27151 129969 45638 0 3 0x18000082 wait syz-execprog 27151 280933 45638 0 2 0x1c000002 syz-execprog 27151 1019 45638 0 3 0x1c000082 wait syz-execprog 27151 14412 45638 0 3 0x1c000082 wait syz-execprog 27151 214592 45638 0 3 0x1c000082 wait syz-execprog 27151 63697 45638 0 3 0x1c000082 wait syz-execprog 27151 338173 45638 0 3 0x1c000082 wait syz-execprog 27151 44994 45638 0 3 0x1c000082 thrsleep syz-execprog 27151 487210 45638 0 3 0x1c000082 thrsleep syz-execprog 27151 147070 45638 0 3 0x1c000082 thrsleep syz-execprog 27151 339898 45638 0 3 0x1c000082 wait syz-execprog 27151 256105 45638 0 3 0x1c000082 wait syz-execprog 27151 278508 45638 0 3 0x1c000082 kqread syz-execprog 45638 64365 82209 0 3 0x810008a sigsusp ksh 82209 251152 73607 0 3 0x18000098 kqread sshd-session 73607 244729 41218 0 3 0x18000092 kqread sshd-session 52559 140445 1 0 3 0x18100083 ttyin getty 41218 444845 1 0 3 0x18000088 kqread sshd 60037 96562 64427 73 2 0x19100090 syslogd 64427 454225 1 0 3 0x18100082 sbwait syslogd 47460 232319 1 0 3 0x18100080 kqread resolvd 9108 172686 97689 77 3 0x18100092 kqread dhcpleased 52075 448647 97689 77 3 0x18100092 kqread dhcpleased 97689 312151 1 0 3 0x18000080 kqread dhcpleased 45811 218911 0 0 3 0x14200 bored smr 36113 518669 0 0 2 0x14200 zerothread 46161 175331 0 0 3 0x14200 aiodoned aiodoned 94687 498314 0 0 3 0x14200 syncer update 40190 168544 0 0 3 0x14200 cleaner cleaner 26810 88658 0 0 3 0x14200 reaper reaper 39284 244256 0 0 3 0x14200 pgdaemon pagedaemon 29081 3261 0 0 3 0x14200 bored viomb 19540 328750 0 0 3 0x40014200 acpi0 acpi0 37209 479595 0 0 3 0x14200 bored softnet3 7763 330073 0 0 3 0x14200 bored softnet2 69888 97999 0 0 3 0x14200 bored softnet1 63286 336158 0 0 3 0x14200 bored softnet0 57836 306381 0 0 3 0x14200 bored systqmp 79307 187519 0 0 3 0x14200 bored systq 18125 390768 0 0 3 0x40014200 tmoslp softclock 27137 488270 0 0 3 0x40014200 idle0 1 294603 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10163 10081K 10093K 166960K 11244 0 pcb 17 12K 12K 166960K 17 0 rtable 232 6K 6K 166960K 376 0 pf 30 12K 12K 166960K 33 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 55 0 counters 30 17K 17K 166960K 31 0 ioctlops 0 0K 2K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1259 79K 79K 166960K 1276 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 73K 166960K 153 0 proc 55 58K 83K 166960K 498 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 409 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 240 73K 74K 166960K 4171 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 41 82K 104K 166960K 1482 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 27 2K 2K 166960K 30 0 temp 1 6800K 6864K 166960K 4655 0 kqueue 13 20K 20K 166960K 46 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 39 0 35 1 0 1 1 0 8 0 rtentry 112 121 0 12 4 0 4 4 0 8 0 unpcb 144 67 0 52 1 0 1 1 0 8 0 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpqe 32 36 0 36 1 0 1 1 0 8 1 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 88 20 0 2 1 0 1 1 0 8 0 inpcb 336 66 0 60 1 0 1 1 0 8 0 nd6 104 26 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 500 0 48 29 0 29 29 0 8 0 art_table 32 501 0 48 4 0 4 4 0 8 0 art_node 16 120 0 21 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1609 0 88 96 0 96 96 0 8 0 ffsino 240 1609 0 88 90 0 90 90 0 8 0 nchpl 144 1890 0 115 66 0 66 66 0 8 0 uvmvnodes 80 1619 0 0 34 0 34 34 0 8 0 vnodes 216 1619 0 0 90 0 90 90 0 8 0 namei 1024 7448 0 7446 3 0 3 3 0 8 2 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 8802 0 8801 8 0 8 8 1 8 7 plimitpl 152 58 0 42 1 0 1 1 0 8 0 sigapl 424 495 0 449 6 0 6 6 0 8 0 futexpl 64 12 0 10 1 0 1 1 0 8 0 knotepl 120 7473 0 7392 4 0 4 4 0 8 0 kqueuepl 184 42 0 33 1 0 1 1 0 8 0 pipepl 288 184 0 156 3 0 3 3 0 8 0 fdescpl 432 479 0 449 4 0 4 4 0 8 0 filepl 120 2036 0 1900 5 0 5 5 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 112 0 100 1 0 1 1 0 8 0 zombiepl 144 449 0 449 1 0 1 1 0 8 1 processpl 1096 495 0 449 4 0 4 4 0 8 0 procpl 648 523 0 461 6 0 6 6 0 8 0 sockpl 504 172 0 147 4 0 4 4 0 8 0 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 1 0 1 1 0 8 1 mcl2k 2048 18962 0 18857 47 25 22 38 0 8 8 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 23171 0 22984 20 5 15 20 0 8 3 bufpl 280 4537 0 156 313 0 313 313 0 8 0 anonpl 24 308706 0 304238 55 0 55 55 0 187 23 amapchunkpl 152 15232 0 14703 27 0 27 27 0 158 5 amappl16 200 8770 0 8690 5 0 5 5 0 8 0 amappl15 192 16 0 16 1 0 1 1 0 8 1 amappl14 184 232 0 219 2 0 2 2 0 8 0 amappl13 176 22 0 22 1 0 1 1 0 8 1 amappl12 168 1205 0 1175 2 0 2 2 0 8 0 amappl11 160 64 0 53 1 0 1 1 0 8 0 amappl10 152 71 0 61 1 0 1 1 0 8 0 amappl9 144 397 0 396 1 0 1 1 0 8 0 amappl8 136 156 0 132 2 0 2 2 0 8 1 amappl7 128 239 0 223 2 0 2 2 0 8 0 amappl6 120 294 0 289 1 0 1 1 0 8 0 amappl5 112 195 0 187 1 0 1 1 0 8 0 amappl4 104 502 0 482 2 0 2 2 0 8 1 amappl3 96 4085 0 4008 3 0 3 3 0 8 0 amappl2 88 1148 0 1076 4 0 4 4 0 8 1 amappl1 80 15407 0 14825 26 7 19 23 0 8 6 amappl 88 3437 0 3279 4 0 4 4 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 479 0 449 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 479 0 449 1 0 1 1 0 8 0 vmmpekpl 168 12749 0 12716 2 0 2 2 0 8 0 vmmpepl 168 68410 0 66610 120 0 120 120 0 357 39 vmsppl 344 478 0 449 3 0 3 3 0 8 0 rwobjpl 24 31358 0 28754 20 0 20 20 0 8 1 pdppl 4096 964 0 898 112 42 70 70 0 8 4 pvpl 32 654474 0 644252 400 102 298 400 0 265 210 pmappl 216 478 0 449 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 416 0 72 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 panic(ffffffff83078bb1) at panic+0x1cf _bus_dmamap_load_buffer(ffff80002a61abc0,ffff800000195c00,ffff8000225f2000,800,0,401,68576736dbf8d59e,800,ffff800000195c00) at _bus_dmamap_load_buffer+0x57f _bus_dmamap_load(ffffffff833e8270,ffff800000195c00,ffff8000225f2000,800,0,401) at _bus_dmamap_load+0xb9 vioscsi_scsi_cmd(fffffd807e4ec6f8) at vioscsi_scsi_cmd+0x221 sdstart(fffffd807e4ec6f8) at sdstart+0x4b2 scsi_iopool_run(ffff8000000a2048) at scsi_iopool_run+0x165 scsi_xsh_runqueue(ffff80000002f800) at scsi_xsh_runqueue+0x39d scsi_xsh_add(ffff800000024b80) at scsi_xsh_add+0x115 sdstrategy(fffffd8078ff5260) at sdstrategy+0x21b spec_strategy(ffff80002a61ae88) at spec_strategy+0x45 VOP_STRATEGY(fffffd807ec3f6c0,fffffd8078ff5260) at VOP_STRATEGY+0xcc ufs_strategy(ffff80002a61af38) at ufs_strategy+0x1f6 VOP_STRATEGY(fffffd8075a3ab50,fffffd8078ff5260) at VOP_STRATEGY+0xcc bwrite(fffffd8078ff5260) at bwrite+0x28a VOP_BWRITE(fffffd8078ff5260) at VOP_BWRITE+0x60 ufs_mkdir(ffff80002a61b1b0) at ufs_mkdir+0x581 VOP_MKDIR(fffffd806b9efb48,ffff80002a61b310,ffff80002a61b340,ffff80002a61b240) at VOP_MKDIR+0x102 domkdirat(ffff80002a4b0a30,ffffff9c,7d89177759f0,1ff) at domkdirat+0x179 syscall(ffff80002a61b4c0) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d8917775a60, count: -21 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 panic(ffffffff83078bb1) at panic+0x1cf _bus_dmamap_load_buffer(ffff80002a61abc0,ffff800000195c00,ffff8000225f2000,800,0,401,68576736dbf8d59e,800,ffff800000195c00) at _bus_dmamap_load_buffer+0x57f _bus_dmamap_load(ffffffff833e8270,ffff800000195c00,ffff8000225f2000,800,0,401) at _bus_dmamap_load+0xb9 vioscsi_scsi_cmd(fffffd807e4ec6f8) at vioscsi_scsi_cmd+0x221 sdstart(fffffd807e4ec6f8) at sdstart+0x4b2 scsi_iopool_run(ffff8000000a2048) at scsi_iopool_run+0x165 scsi_xsh_runqueue(ffff80000002f800) at scsi_xsh_runqueue+0x39d scsi_xsh_add(ffff800000024b80) at scsi_xsh_add+0x115 sdstrategy(fffffd8078ff5260) at sdstrategy+0x21b spec_strategy(ffff80002a61ae88) at spec_strategy+0x45 VOP_STRATEGY(fffffd807ec3f6c0,fffffd8078ff5260) at VOP_STRATEGY+0xcc ufs_strategy(ffff80002a61af38) at ufs_strategy+0x1f6 VOP_STRATEGY(fffffd8075a3ab50,fffffd8078ff5260) at VOP_STRATEGY+0xcc bwrite(fffffd8078ff5260) at bwrite+0x28a VOP_BWRITE(fffffd8078ff5260) at VOP_BWRITE+0x60 ufs_mkdir(ffff80002a61b1b0) at ufs_mkdir+0x581 VOP_MKDIR(fffffd806b9efb48,ffff80002a61b310,ffff80002a61b340,ffff80002a61b240) at VOP_MKDIR+0x102 domkdirat(ffff80002a4b0a30,ffffff9c,7d89177759f0,1ff) at domkdirat+0x179 syscall(ffff80002a61b4c0) at syscall+0x97e Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d8917775a60, count: -21