panic: vopWAR_NInNrGi _Pa doTp OWERtEoD ed Nat SYSCALL 73 -672526336 E XI T d0b_ n ter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *303357 28755 0 0x2 0 0K syz-executor.5 156964 75874 0 0x12 0 1 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82742aec) at panic+0x177 sys/kern/subr_prf.c:198 vop_generic_badop(ffff800026151098) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd806423ac28,fffffd806964c258) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd806964c258) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd806964c258) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:640 ufs_mkdir(ffff800026151330) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1236 VOP_MKDIR(fffffd806423a3b8,ffff800026151490,ffff8000261514c0,ffff8000261513c0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 domkdirat(ffff8000211f5600,ffffff9c,7f7ffffe53a0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 syscall(ffff800026151640) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800026151640) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5410, count: 4 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: vop_generic_badop ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82742aec) at panic+0x177 sys/kern/subr_prf.c:198 vop_generic_badop(ffff800026151098) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd806423ac28,fffffd806964c258) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd806964c258) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd806964c258) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:640 ufs_mkdir(ffff800026151330) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1236 VOP_MKDIR(fffffd806423a3b8,ffff800026151490,ffff8000261514c0,ffff8000261513c0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 domkdirat(ffff8000211f5600,ffffff9c,7f7ffffe53a0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 syscall(ffff800026151640) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800026151640) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5410, count: -11 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800026150fc0 rbx 0xffffffff82b25b8f cpu_info_full_primary+0x2b8f rdx 0 rcx 0 rax 0xffff8000211f5600 r8 0x101010101010101 r9 0x8080808080808080 r10 0x224e894c64b8b9e2 r11 0x3397bde92956411 r12 0xffffffff82b25990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff81b420b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800026150fb0 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.5) pid=303357 stat=onproc flags process=2 proc=0 pri=17, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff80002128c878,0xffff80002122a030 process=0xffff8000212c29f8 user=0xffff80002614c000, vmspace=0xfffffd80089b2370 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65409 373299 58158 0 2 0 syz-executor.0 38931 372581 10426 0 2 0 syz-executor.3 58390 85370 53800 0 2 0x2 syz-executor.6 58158 38203 53800 0 3 0x82 nanoslp syz-executor.0 48347 434592 1 0 3 0x100083 ttyopn getty 4335 100514 53800 0 2 0x2 syz-executor.4 *28755 303357 53800 0 7 0x2 syz-executor.5 72997 151 53800 0 3 0x82 nanoslp syz-executor.1 10426 59182 53800 0 3 0x82 nanoslp syz-executor.3 99406 287579 53800 0 3 0x82 piperd syz-executor.7 40045 360152 53800 0 2 0x2 syz-executor.2 80519 141813 1 0 3 0 vmmaplk syz-executor.4 80519 261592 1 0 3 0x4000000 vmmaplk syz-executor.4 80519 26829 1 0 3 0x4000000 vmmapbsy syz-executor.4 1731 267530 0 0 3 0x14200 bored sosplice 53800 281686 91709 0 3 0x82 wait syz-fuzzer 53800 72225 91709 0 3 0x4000082 nanoslp syz-fuzzer 53800 24992 91709 0 3 0x4000082 wait syz-fuzzer 53800 90858 91709 0 3 0x4000082 wait syz-fuzzer 53800 438520 91709 0 3 0x4000082 thrsleep syz-fuzzer 53800 400395 91709 0 3 0x4000082 wait syz-fuzzer 53800 331899 91709 0 3 0x4000082 wait syz-fuzzer 53800 130153 91709 0 3 0x4000082 thrsleep syz-fuzzer 53800 259788 91709 0 3 0x4000082 wait syz-fuzzer 53800 238977 91709 0 3 0x4000082 thrsleep syz-fuzzer 53800 67624 91709 0 3 0x4000082 thrsleep syz-fuzzer 53800 20002 91709 0 3 0x4000082 thrsleep syz-fuzzer 53800 325178 91709 0 3 0x4000082 wait syz-fuzzer 53800 472356 91709 0 3 0x4000082 thrsleep syz-fuzzer 53800 309152 91709 0 3 0x4000082 kqread syz-fuzzer 53800 239300 91709 0 3 0x4000082 wait syz-fuzzer 91709 126151 75874 0 3 0x10008a sigsusp ksh 75874 156964 51219 0 7 0x12 sshd 51219 496143 1 0 3 0x88 kqread sshd 53807 500888 29461 74 3 0x1100092 bpf pflogd 29461 250655 1 0 3 0x80 netio pflogd 34923 238704 34666 73 3 0x1100090 kqread syslogd 34666 123868 1 0 3 0x100082 netio syslogd 51824 520971 1 0 3 0x100080 kqread resolvd 1845 12897 32664 77 3 0x100092 kqread dhcpleased 54808 4334 32664 77 3 0x100092 kqread dhcpleased 32664 435544 1 0 3 0x80 kqread dhcpleased 31271 39066 0 0 3 0x14200 bored smr 112 468184 0 0 2 0x14200 zerothread 45252 438733 0 0 3 0x14200 aiodoned aiodoned 74601 223509 0 0 3 0x14200 syncer update 8853 148927 0 0 3 0x14200 cleaner cleaner 55051 277999 0 0 3 0x14200 reaper reaper 13399 233506 0 0 3 0x14200 pgdaemon pagedaemon 49019 430884 0 0 3 0x14200 bored viomb 4257 394997 0 0 3 0x40014200 acpi0 acpi0 95398 106926 0 0 3 0x40014200 idle1 61845 222936 0 0 3 0x14200 bored softnet 93715 250356 0 0 3 0x14200 bored softnet 47145 215873 0 0 3 0x14200 bored softnet 62143 416101 0 0 3 0x14200 bored softnet 13112 482211 0 0 3 0x14200 bored systqmp 14739 441123 0 0 3 0x14200 bored systq 48842 470301 0 0 3 0x40014200 bored softclock 77432 371429 0 0 3 0x40014200 idle0 1 134819 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10258 6525K 7225K 78643K 27492 0 pcb 13 20K 25K 78643K 1244 0 rtable 214 16K 19K 78643K 1815 0 ifaddr 89 28K 30K 78643K 718 0 sysctl 3 1K 1K 78643K 5 0 counters 64 36K 37K 78643K 712 0 ioctlops 0 0K 4K 78643K 3196 0 iov 0 0K 32K 78643K 1166 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1542 96K 97K 78643K 10886 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 59 0 VM map 2 1K 1K 78643K 2 0 sem 17 5K 10K 78643K 164 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 89K 78643K 8382 0 sigio 0 0K 0K 78643K 202 0 proc 78 92K 128K 78643K 1607 0 subproc 117 7K 7K 78643K 520 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 590 0 in_multi 80 5K 7K 78643K 588 0 ether_multi 1 0K 0K 78643K 43 0 mrt 1 0K 0K 78643K 16 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 1K 78643K 1393 0 pfkey data 0 0K 0K 78643K 13 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 357 97K 114K 78643K 59270 0 UVM aobj 131 4K 4K 78643K 135 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 170 0 NDP 16 0K 1K 78643K 231 0 temp 152 5779K 6798K 78643K 117848 0 kqueue 12 18K 26K 78643K 584 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 741 0 738 10 9 1 3 0 8 0 rtentry 112 568 0 478 4 1 3 4 0 8 0 unpcb 144 7182 0 7167 80 74 6 9 0 8 5 syncache 296 12 0 12 4 4 0 1 0 8 0 tcpqe 32 227 0 227 2 2 0 1 0 8 0 tcpcb 776 1687 0 1683 63 62 1 14 0 8 0 arp 120 84 0 66 1 0 1 1 0 8 0 inpcb 368 11977 0 11970 149 141 8 16 0 8 7 nd6 48 117 0 96 1 0 1 1 0 8 0 pkpcb 40 123 0 123 7 7 0 1 0 8 0 kcovpl 48 40 0 31 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 2 0 1 0 8 0 ppxss 1256 218 0 217 11 10 1 1 0 8 0 pppxif 1456 172 0 171 8 7 1 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pffrag 232 20 0 19 5 4 1 1 0 482 0 pffrnode 88 20 0 19 5 4 1 1 0 8 0 pffrent 40 76 0 75 5 4 1 1 0 8 0 pfosfp 40 1435 0 1011 5 0 5 5 0 8 0 pfosfpen 112 1435 0 720 21 0 21 21 0 8 0 pfanchor 1280 5 0 0 1 0 1 1 0 8 0 pfqueue 264 36 0 36 1 1 0 1 0 8 0 pfstitem 24 170 0 150 1 0 1 1 0 8 0 pfstkey 128 174 0 154 2 0 2 2 0 8 0 pfstate 384 171 0 151 7 3 4 6 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 2 0 1 1 0 1 1 0 8 0 art_heap8 4096 3 0 2 3 2 1 2 0 8 0 art_heap4 256 2456 0 2078 43 16 27 31 0 8 0 art_table 32 2459 0 2080 4 0 4 4 0 8 0 art_node 16 546 0 468 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 1 0 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 150 0 135 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11766 0 10296 93 0 93 93 0 8 0 ffsino 272 11766 0 10296 99 0 99 99 0 8 0 nchpl 144 22803 0 21157 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 1 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 80613 0 80611 5 4 1 3 0 8 0 percpumem 16 369 0 324 1 0 1 1 0 8 0 vmpool 696 18 0 18 5 4 1 1 0 8 1 kstatmem 264 306 0 274 5 2 3 3 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 69108 0 69108 33 32 1 8 0 8 1 plimitpl 152 926 0 909 1 0 1 1 0 8 0 sigapl 424 8663 0 8618 10 3 7 8 0 8 0 futexpl 64 74567 0 74567 5 4 1 1 0 8 1 knotepl 120 566 0 0 9 0 9 9 0 8 0 kqueuepl 216 1269 0 1261 22 19 3 5 0 8 2 pipepl 320 1892 0 1863 49 46 3 13 0 8 0 fdescpl 496 8623 0 8597 9 4 5 5 0 8 0 filepl 152 60389 0 60134 115 99 16 20 0 8 5 lockfpl 104 2035 0 2033 5 3 2 2 0 8 1 lockfspl 48 756 0 754 1 0 1 1 0 8 0 sessionpl 144 55 0 37 1 0 1 1 0 8 0 pgrppl 48 98 0 80 1 0 1 1 0 8 0 ucredpl 104 4772 0 4757 1 0 1 1 0 8 0 zombiepl 144 8619 0 8618 3 2 1 1 0 8 0 processpl 1072 8663 0 8618 5 1 4 5 0 8 0 procpl 696 23404 0 23342 19 11 8 11 0 8 0 srpgc 96 28 0 28 10 10 0 1 0 8 0 sosppl 168 80 0 80 15 15 0 1 0 8 0 sockpl 488 20080 0 20055 453 441 12 34 0 8 8 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 35 0 0 4 1 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 454 0 0 54 6 48 54 0 8 0 mtagpl 96 821 0 0 15 0 15 15 0 8 0 mbufpl 256 2067 0 0 104 0 104 104 0 8 0 bufpl 288 17182 0 10857 453 0 453 453 0 8 0 anonpl 24 1828605 0 1809547 209 82 127 143 0 186 0 amapchunkpl 152 168995 0 168211 78 40 38 46 0 158 0 amappl16 200 16442 0 15855 86 49 37 43 0 8 0 amappl15 192 12 0 11 1 0 1 1 0 8 0 amappl14 184 252 0 237 2 1 1 2 0 8 0 amappl13 176 9 0 9 2 1 1 1 0 8 1 amappl12 168 805 0 797 1 0 1 1 0 8 0 amappl11 160 61 0 47 1 0 1 1 0 8 0 amappl10 152 69 0 59 1 0 1 1 0 8 0 amappl9 144 1020 0 1020 16 15 1 1 0 8 1 amappl8 136 476 0 385 4 0 4 4 0 8 0 amappl7 128 249 0 221 2 0 2 2 0 8 0 amappl6 120 354 0 336 2 1 1 2 0 8 0 amappl5 112 385 0 375 1 0 1 1 0 8 0 amappl4 104 874 0 834 3 1 2 2 0 8 0 amappl3 96 25449 0 25400 2 0 2 2 0 8 0 amappl2 88 9464 0 9381 5 2 3 4 0 8 0 amappl1 80 198657 0 197935 34 15 19 28 0 8 0 amappl 88 58287 0 58084 6 0 6 6 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 134 0 4 3 0 3 3 0 8 0 uaddrrnd 24 8642 0 8616 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8642 0 8616 1 0 1 1 0 8 0 vmmpekpl 168 68707 0 68636 4 0 4 4 0 8 0 vmmpepl 168 800103 0 797353 351 198 153 172 0 357 6 vmsppl 440 8641 0 8616 6 2 4 5 0 8 0 rwobjpl 56 215592 0 207715 123 8 115 116 0 8 0 pdppl 4096 17291 0 17232 669 598 71 81 0 8 12 pvpl 32 3560047 0 3535544 491 274 217 365 0 265 0 pmappl 248 8641 0 8616 4 2 2 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1706 0 784 27 0 27 27 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82742aec) at panic+0x177 sys/kern/subr_prf.c:198 vop_generic_badop(ffff800026151098) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd806423ac28,fffffd806964c258) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd806964c258) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd806964c258) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:640 ufs_mkdir(ffff800026151330) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1236 VOP_MKDIR(fffffd806423a3b8,ffff800026151490,ffff8000261514c0,ffff8000261513c0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 domkdirat(ffff8000211f5600,ffffff9c,7f7ffffe53a0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 syscall(ffff800026151640) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800026151640) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5410, count: -11 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x68 savectx() at savectx+0xae end of kernel end trace frame: 0x7f7ffffc8ed0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x68 savectx() at savectx+0xae end of kernel end trace frame: 0x7f7ffffc8ed0, count: -5