panic: spl assertion failure in yield Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *428494 37720 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224a127) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82222f49) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8258f710,1) at pool_get+0x166 sys/kern/subr_pool.c:588 m_get(1,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250 sockargs(ffff80001e834620,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d742130,ffff80001e8346a8,ffff80001e8346f0) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001e834770) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba2a8165180, count: 5 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 spl assertion failure in yield ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224a127) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82222f49) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8258f710,1) at pool_get+0x166 sys/kern/subr_pool.c:588 m_get(1,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250 sockargs(ffff80001e834620,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d742130,ffff80001e8346a8,ffff80001e8346f0) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001e834770) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba2a8165180, count: -10 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001e834380 rbx 0xffff80001e834430 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff811a42af kprintf+0x15f r9 0x1 r10 0x2 r11 0x466e37a698a4842e r12 0x3000000008 r13 0xffff80001e834390 r14 0x100 r15 0x1 rip 0xffffffff81997988 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001e834370 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=428494 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=72, nice=20 forw=0xffffffffffffffff, list=0xffff80001d742880,0xffffffff8257a728 process=0xffff80001d768e90 user=0xffff80001e82f000, vmspace=0xfffffd8066bc0780 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37720 43314 66702 0 2 0 syz-executor.1 *37720 428494 66702 0 7 0x4000000 syz-executor.1 63542 431691 1 0 3 0x100083 ttyopn getty 37489 431688 0 0 3 0x14280 nfsidl nfsio 67668 7997 0 0 3 0x14280 nfsidl nfsio 74996 310643 0 0 3 0x14280 nfsidl nfsio 15015 12524 0 0 3 0x14280 nfsidl nfsio 34510 481813 0 0 3 0x14280 nfsidl nfsio 67003 129732 0 0 3 0x14280 nfsidl nfsio 84648 332494 0 0 3 0x14280 nfsidl nfsio 5631 257810 0 0 3 0x14280 nfsidl nfsio 368 130379 0 0 3 0x14280 nfsidl nfsio 45354 182827 0 0 3 0x14280 nfsidl nfsio 1200 188511 0 0 3 0x14280 nfsidl nfsio 32185 107093 0 0 3 0x14280 nfsidl nfsio 57560 267546 0 0 3 0x14280 nfsidl nfsio 11366 15416 0 0 3 0x14280 nfsidl nfsio 96587 46035 0 0 3 0x14280 nfsidl nfsio 17172 470981 0 0 3 0x14280 nfsidl nfsio 56294 9872 0 0 3 0x14280 nfsidl nfsio 63361 214502 0 0 3 0x14280 nfsidl nfsio 25137 453937 0 0 3 0x14280 nfsidl nfsio 64540 443440 0 0 3 0x14280 nfsidl nfsio 85682 435649 0 0 3 0x14200 bored sosplice 90198 454935 63311 0 2 0x2 syz-executor.0 66702 332425 63311 0 3 0x82 nanosleep syz-executor.1 63311 143554 60819 0 3 0x82 thrsleep syz-fuzzer 63311 202511 60819 0 3 0x4000082 nanosleep syz-fuzzer 63311 337175 60819 0 3 0x4000082 thrsleep syz-fuzzer 63311 518418 60819 0 3 0x4000082 thrsleep syz-fuzzer 63311 474722 60819 0 3 0x4000082 kqread syz-fuzzer 63311 462311 60819 0 3 0x4000082 thrsleep syz-fuzzer 63311 450545 60819 0 3 0x4000082 thrsleep syz-fuzzer 63311 79275 60819 0 3 0x4000082 thrsleep syz-fuzzer 60819 352972 29745 0 3 0x10008a pause ksh 29745 353069 95004 0 3 0x92 select sshd 95004 144073 1 0 3 0x80 select sshd 30201 390321 20186 73 3 0x100090 kqread syslogd 20186 153088 1 0 3 0x100082 netio syslogd 19751 132557 1 77 3 0x100090 poll dhclient 80140 314809 1 0 3 0x80 poll dhclient 18450 193447 0 0 3 0x14200 bored smr 92555 369383 0 0 2 0x14200 zerothread 19262 350641 0 0 3 0x14200 aiodoned aiodoned 57482 13927 0 0 3 0x14200 syncer update 24480 79170 0 0 3 0x14200 cleaner cleaner 6348 283908 0 0 3 0x14200 reaper reaper 59502 326790 0 0 3 0x14200 pgdaemon pagedaemon 5670 485258 0 0 3 0x14200 bored crynlk 43264 314854 0 0 3 0x14200 bored crypto 19851 174344 0 0 3 0x40014200 acpi0 acpi0 93522 310901 0 0 3 0x14200 bored softnet 33547 503204 0 0 3 0x14200 bored systqmp 37215 169158 0 0 3 0x14200 bored systq 16926 452479 0 0 3 0x40014200 bored softclock 28618 22109 0 0 3 0x40014200 idle0 1 521600 0 0 3 0x82 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 9535 6373K 6732K 78643K 11792 0 pcb 13 8K 8K 78643K 159 0 rtable 64 10K 15K 78643K 804 0 ifaddr 95 18K 19K 78643K 361 0 sysctl 2 0K 0K 78643K 2 0 counters 20 16K 16K 78643K 55 0 ioctlops 0 0K 4K 78643K 141 0 iov 0 0K 32K 78643K 173 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1679 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 15 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 213 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 882 0 sigio 0 0K 0K 78643K 16 0 proc 50 38K 54K 78643K 444 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 86 0 in_multi 61 2K 3K 78643K 175 0 ether_multi 1 0K 0K 78643K 29 0 mrt 2 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 253 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 145 72K 88K 78643K 3136 0 UVM aobj 36 3K 3K 78643K 58 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 151 0 NDP 16 0K 0K 78643K 57 0 temp 133 3041K 3105K 78643K 30626 0 kqueue 5 8K 20K 78643K 78 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 2 1 0 1 1 0 8 0 rtpcb 80 746 0 743 1 0 1 1 0 8 0 rtentry 112 61 0 42 3 2 1 2 0 8 0 unpcb 120 410 0 402 1 0 1 1 0 8 0 syncache 264 10 0 10 3 3 0 1 0 8 0 tcpqe 32 58 0 58 2 2 0 1 0 8 0 tcpcb 544 924 0 918 1 0 1 1 0 8 0 ipq 40 3 0 3 2 2 0 1 0 8 0 ipqe 40 49 0 49 2 2 0 1 0 8 0 inpcb 280 1489 0 1480 9 8 1 2 0 8 0 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 10 0 9 2 1 1 1 0 8 0 pkpcb 40 14 0 14 4 4 0 1 0 8 0 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 6 0 6 3 3 0 1 0 8 0 pfstscr 40 8 0 2 1 0 1 1 0 8 0 pfosfp 40 2 0 0 1 0 1 1 0 8 0 pfosfpen 112 3 0 0 1 0 1 1 0 8 0 pfrktable 1344 130 0 130 6 6 0 1 0 8 0 pftag 88 23 0 23 6 6 0 1 0 8 0 pfstitem 24 7 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 5 1 0 1 1 0 8 0 pfstate 328 6 0 2 1 0 1 1 0 8 0 pfrule 1360 33 0 29 6 5 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 379 0 285 18 11 7 14 0 8 0 art_table 32 380 0 285 2 0 2 2 0 8 0 art_node 16 60 0 45 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 207 0 197 1 0 1 1 0 8 0 shmpl 112 56 0 23 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2732 0 1338 88 0 88 88 0 8 0 ffsino 240 2732 0 1338 83 0 83 83 0 8 0 nchpl 144 4220 0 2617 60 0 60 60 0 8 0 uvmvnodes 72 3049 0 0 56 0 56 56 0 8 0 vnodes 208 3049 0 0 161 0 161 161 0 8 0 namei 1024 12069 0 12068 6 5 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 3 2 1 1 1 0 8 0 pfiaddrpl 120 38 0 38 5 5 0 1 0 8 0 scxspl 192 13116 0 13116 2 1 1 1 0 8 1 plimitpl 152 79 0 72 1 0 1 1 0 8 0 sigapl 424 1090 0 1041 6 0 6 6 0 8 0 futexpl 56 21234 0 21234 6 5 1 1 0 8 1 knotepl 112 158 0 139 1 0 1 1 0 8 0 kqueuepl 144 184 0 179 1 0 1 1 0 8 0 pipelkpl 16 170 0 160 1 0 1 1 0 8 0 pipepl 120 340 0 321 1 0 1 1 0 8 0 fdescpl 432 1055 0 1041 2 0 2 2 0 8 0 filepl 120 7674 0 7576 5 1 4 5 0 8 0 lockfpl 104 152 0 151 1 0 1 1 0 8 0 lockfspl 48 56 0 55 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 24 0 14 1 0 1 1 0 8 0 ucredpl 96 1121 0 1114 1 0 1 1 0 8 0 zombiepl 144 1041 0 1041 2 1 1 1 0 8 1 processpl 920 1090 0 1041 7 0 7 7 0 8 0 procpl 624 2363 0 2306 8 3 5 6 0 8 0 sosppl 128 12 0 12 3 3 0 1 0 8 0 sockpl 400 2670 0 2650 7 5 2 4 0 8 0 mcl64k 65536 93 0 93 7 7 0 1 0 8 0 mcl16k 16384 2 0 2 2 2 0 1 0 8 0 mcl12k 12288 33 0 33 10 10 0 1 0 8 0 mcl9k 9216 20 0 20 10 9 1 1 0 8 1 mcl8k 8192 32 0 32 8 8 0 1 0 8 0 mcl4k 4096 93 0 93 9 8 1 1 0 8 1 mcl2k2 2112 6 0 6 5 5 0 1 0 8 0 mcl2k 2048 75858 0 75808 19 12 7 14 0 8 0 mtagpl 80 62 0 51 2 1 1 1 0 8 0 mbufpl 256 127388 0 127290 30 23 7 15 0 8 0 bufpl 280 5949 0 589 384 1 383 384 0 8 0 anonpl 16 119094 0 103544 130 66 64 80 0 107 0 amapchunkpl 152 5428 0 5294 39 33 6 20 0 158 0 amappl16 192 5947 0 5084 99 55 44 56 0 8 0 amappl15 184 40 0 38 1 0 1 1 0 8 0 amappl14 176 22 0 18 1 0 1 1 0 8 0 amappl13 168 27 0 24 1 0 1 1 0 8 0 amappl12 160 22 0 18 1 0 1 1 0 8 0 amappl11 152 465 0 454 1 0 1 1 0 8 0 amappl10 144 441 0 435 1 0 1 1 0 8 0 amappl9 136 306 0 305 1 0 1 1 0 8 0 amappl8 128 354 0 305 2 0 2 2 0 8 0 amappl7 120 539 0 527 1 0 1 1 0 8 0 amappl6 112 442 0 435 1 0 1 1 0 8 0 amappl5 104 1130 0 1117 1 0 1 1 0 8 0 amappl4 96 434 0 405 1 0 1 1 0 8 0 amappl3 88 142 0 137 1 0 1 1 0 8 0 amappl2 80 7662 0 7594 2 0 2 2 0 8 0 amappl1 72 28188 0 27771 23 14 9 17 0 8 0 amappl 80 2597 0 2554 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 57 0 22 1 0 1 1 0 8 0 uaddrrnd 24 1063 0 1044 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1063 0 1044 1 0 1 1 0 8 0 vmmpekpl 168 9751 0 9720 2 0 2 2 0 8 0 vmmpepl 168 130954 0 128966 154 62 92 104 0 357 1 vmsppl 272 1062 0 1044 3 1 2 2 0 8 0 pdppl 4096 2132 0 2093 7 1 6 6 0 8 0 pvpl 32 320157 0 301746 258 105 153 190 0 265 0 pmappl 200 1062 0 1044 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 308 0 93 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224a127) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82222f49) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8258f710,1) at pool_get+0x166 sys/kern/subr_pool.c:588 m_get(1,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250 sockargs(ffff80001e834620,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d742130,ffff80001e8346a8,ffff80001e8346f0) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001e834770) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba2a8165180, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224a127) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82222f49) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8258f710,1) at pool_get+0x166 sys/kern/subr_pool.c:588 m_get(1,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250 sockargs(ffff80001e834620,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d742130,ffff80001e8346a8,ffff80001e8346f0) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001e834770) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xba2a8165180, count: -10