panic: spl assertion failure in yield Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *295288 71312 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224c3c3) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82225497) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff825da818,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(ffff80001d7fe340,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d789770,ffff80001d7fe3c8,ffff80001d7fe410) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d7fe490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f2760a1540, 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(ffffffff8224c3c3) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82225497) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff825da818,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(ffff80001d7fe340,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d789770,ffff80001d7fe3c8,ffff80001d7fe410) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d7fe490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f2760a1540, count: -10 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d7fe0a0 rbx 0xffff80001d7fe150 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff813a55ef kprintf+0x15f r9 0x1 r10 0x2 r11 0x243a886cba667476 r12 0x3000000008 r13 0xffff80001d7fe0b0 r14 0x100 r15 0x1 rip 0xffffffff812bfa38 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d7fe090 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=295288 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff80001d789290,0xffffffff825b67d0 process=0xffff8000ffffb5a0 user=0xffff80001d7f9000, vmspace=0xfffffd806bc0acc0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71312 95346 97811 0 2 0 syz-executor.1 *71312 295288 97811 0 7 0x4000000 syz-executor.1 97811 80459 95452 0 3 0x82 nanosleep syz-executor.1 67584 419646 95452 0 3 0x82 nanosleep syz-executor.0 44129 63868 0 0 3 0x14200 acct acct 4072 460814 0 0 3 0x14200 bored sosplice 76832 239396 0 0 3 0x14280 nfsidl nfsio 92202 227699 0 0 3 0x14280 nfsidl nfsio 50371 260407 0 0 3 0x14280 nfsidl nfsio 26991 252858 0 0 3 0x14280 nfsidl nfsio 93835 461757 0 0 3 0x14280 nfsidl nfsio 16619 67059 0 0 3 0x14280 nfsidl nfsio 39481 16753 0 0 3 0x14280 nfsidl nfsio 57574 412878 0 0 3 0x14280 nfsidl nfsio 23636 265433 0 0 3 0x14280 nfsidl nfsio 44745 170491 0 0 3 0x14280 nfsidl nfsio 5956 192674 0 0 3 0x14280 nfsidl nfsio 81501 301524 0 0 3 0x14280 nfsidl nfsio 55292 504965 0 0 3 0x14280 nfsidl nfsio 98030 344413 0 0 3 0x14280 nfsidl nfsio 85689 161021 0 0 3 0x14280 nfsidl nfsio 57197 367146 0 0 3 0x14280 nfsidl nfsio 38370 330604 0 0 3 0x14280 nfsidl nfsio 21036 125530 0 0 3 0x14280 nfsidl nfsio 790 128692 0 0 3 0x14280 nfsidl nfsio 13802 309452 0 0 3 0x14280 nfsidl nfsio 95452 319040 10413 0 3 0x82 kqread syz-fuzzer 95452 346232 10413 0 3 0x4000082 nanosleep syz-fuzzer 95452 183388 10413 0 3 0x4000082 thrsleep syz-fuzzer 95452 376617 10413 0 3 0x4000082 thrsleep syz-fuzzer 95452 474149 10413 0 3 0x4000082 thrsleep syz-fuzzer 95452 375000 10413 0 3 0x4000082 thrsleep syz-fuzzer 95452 343243 10413 0 3 0x4000082 thrsleep syz-fuzzer 95452 195131 10413 0 3 0x4000082 thrsleep syz-fuzzer 10413 223896 37477 0 3 0x10008a pause ksh 37477 425011 87309 0 3 0x92 select sshd 23404 226910 1 0 3 0x100083 ttyin getty 87309 477970 1 0 3 0x80 select sshd 64995 70931 42907 73 3 0x100090 kqread syslogd 42907 445472 1 0 3 0x100082 netio syslogd 50093 71977 1 77 3 0x100090 poll dhclient 3017 278498 1 0 3 0x80 poll dhclient 57174 169205 0 0 3 0x14200 bored smr 92019 151957 0 0 2 0x14200 zerothread 87668 187152 0 0 3 0x14200 aiodoned aiodoned 69004 86024 0 0 3 0x14200 syncer update 78432 185938 0 0 3 0x14200 cleaner cleaner 82279 490272 0 0 3 0x14200 reaper reaper 54863 446897 0 0 3 0x14200 pgdaemon pagedaemon 17441 125779 0 0 3 0x14200 bored crynlk 10275 359723 0 0 3 0x14200 bored crypto 59668 83936 0 0 3 0x40014200 acpi0 acpi0 22719 309000 0 0 3 0x14200 bored softnet 41813 506169 0 0 3 0x14200 bored systqmp 367 315759 0 0 3 0x14200 bored systq 33666 267498 0 0 3 0x40014200 bored softclock 60051 165904 0 0 3 0x40014200 idle0 1 217435 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 9517 6349K 6725K 78643K 11355 0 pcb 13 8K 8K 78643K 104 0 rtable 135 10K 12K 78643K 664 0 ifaddr 84 16K 18K 78643K 219 0 counters 21 16K 16K 78643K 40 0 ioctlops 0 0K 4K 78643K 89 0 iov 0 0K 16K 78643K 106 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1528 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 932 0 sigio 0 0K 0K 78643K 35 0 proc 53 39K 55K 78643K 565 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 30 0 in_multi 78 4K 4K 78643K 151 0 ether_multi 1 0K 0K 78643K 16 0 mrt 0 0K 0K 78643K 10 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 257 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 144 137K 139K 78643K 3030 0 UVM aobj 25 2K 2K 78643K 34 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 73 0 NDP 14 0K 0K 78643K 46 0 temp 117 3040K 3104K 78643K 44926 0 kqueue 3 4K 12K 78643K 16 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 17 0 11 1 0 1 1 0 8 0 rtpcb 80 102 0 100 1 0 1 1 0 8 0 rtentry 112 104 0 60 2 0 2 2 0 8 0 unpcb 120 455 0 447 1 0 1 1 0 8 0 syncache 264 12 0 12 5 5 0 1 0 8 0 sackhl 24 2 0 2 1 1 0 1 0 8 0 tcpqe 32 54 0 54 2 2 0 1 0 8 0 tcpcb 544 286 0 281 2 1 1 2 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 280 629 0 621 4 3 1 2 0 8 0 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 19 0 13 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 pfstscr 40 4 0 2 1 0 1 1 0 8 0 pfrktable 1344 60 0 47 3 1 2 2 0 8 0 pftag 88 9 0 4 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 2 1 0 1 1 0 8 0 pfstate 328 2 0 1 1 0 1 1 0 8 0 pfrule 1360 28 0 13 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 420 0 229 14 2 12 13 0 8 0 art_table 32 421 0 229 2 0 2 2 0 8 0 art_node 16 103 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 20 2 1 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 32 0 9 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2498 0 1102 88 0 88 88 0 8 0 ffsino 240 2498 0 1102 83 0 83 83 0 8 0 nchpl 144 4031 0 2441 60 0 60 60 0 8 0 uvmvnodes 72 2767 0 0 51 0 51 51 0 8 0 vnodes 208 2767 0 0 146 0 146 146 0 8 0 namei 1024 10864 0 10864 18 18 0 1 0 8 0 vcpupl 1984 12 0 0 2 0 2 2 0 8 0 vmpool 528 13 0 1 1 0 1 1 0 8 0 pfiaddrpl 120 32 0 16 1 0 1 1 0 8 0 scxspl 192 15732 0 15732 15 15 0 1 0 8 0 plimitpl 152 68 0 61 1 0 1 1 0 8 0 sigapl 424 1128 0 1078 6 0 6 6 0 8 0 futexpl 56 11732 0 11732 21 20 1 1 0 8 1 knotepl 112 125 0 106 1 0 1 1 0 8 0 kqueuepl 144 58 0 56 1 0 1 1 0 8 0 pipelkpl 16 164 0 154 1 0 1 1 0 8 0 pipepl 120 328 0 309 2 1 1 2 0 8 0 fdescpl 432 1092 0 1078 2 0 2 2 0 8 0 filepl 120 5347 0 5251 9 6 3 5 0 8 0 lockfpl 104 173 0 172 1 0 1 1 0 8 0 lockfspl 48 65 0 64 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 31 0 21 1 0 1 1 0 8 0 ucredpl 96 459 0 451 1 0 1 1 0 8 0 zombiepl 144 1078 0 1077 18 17 1 1 0 8 0 processpl 920 1128 0 1077 7 0 7 7 0 8 0 procpl 624 2123 0 2064 6 1 5 6 0 8 0 sosppl 128 7 0 7 3 3 0 1 0 8 0 sockpl 400 1191 0 1173 10 8 2 5 0 8 0 mcl64k 65536 80 0 80 5 5 0 1 0 8 0 mcl16k 16384 5 0 5 3 3 0 1 0 8 0 mcl12k 12288 17 0 17 5 5 0 1 0 8 0 mcl9k 9216 13 0 13 3 3 0 1 0 8 0 mcl8k 8192 15 0 15 4 4 0 1 0 8 0 mcl4k 4096 62 0 62 4 4 0 1 0 8 0 mcl2k2 2112 2 0 2 2 2 0 1 0 8 0 mcl2k 2048 74897 0 74856 19 13 6 13 0 8 0 mtagpl 80 50 0 50 2 2 0 1 0 8 0 mbufpl 256 124343 0 124270 37 29 8 31 0 8 0 bufpl 280 6993 0 1633 383 0 383 383 0 8 0 anonpl 16 118420 0 104144 91 24 67 83 0 107 0 amapchunkpl 152 7445 0 7312 31 23 8 20 0 158 0 amappl16 192 4779 0 3909 50 6 44 48 0 8 0 amappl15 184 300 0 298 1 0 1 1 0 8 0 amappl14 176 24 0 18 1 0 1 1 0 8 0 amappl13 168 55 0 51 1 0 1 1 0 8 0 amappl12 160 255 0 254 1 0 1 1 0 8 0 amappl11 152 246 0 237 1 0 1 1 0 8 0 amappl10 144 14 0 11 1 0 1 1 0 8 0 amappl9 136 411 0 409 1 0 1 1 0 8 0 amappl8 128 463 0 417 2 0 2 2 0 8 0 amappl7 120 141 0 126 1 0 1 1 0 8 0 amappl6 112 118 0 112 1 0 1 1 0 8 0 amappl5 104 1273 0 1262 1 0 1 1 0 8 0 amappl4 96 491 0 459 1 0 1 1 0 8 0 amappl3 88 116 0 111 1 0 1 1 0 8 0 amappl2 80 7935 0 7863 2 0 2 2 0 8 0 amappl1 72 28656 0 28241 23 13 10 17 0 8 0 amappl 80 2413 0 2364 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 33 0 9 1 0 1 1 0 8 0 uaddrrnd 24 1105 0 1079 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1105 0 1079 1 0 1 1 0 8 0 vmmpekpl 168 10306 0 10265 2 0 2 2 0 8 0 vmmpepl 168 133829 0 131835 168 76 92 125 0 357 0 vmsppl 272 1104 0 1079 2 0 2 2 0 8 0 pdppl 4096 2216 0 2170 9 2 7 7 0 8 0 pvpl 32 397847 0 380661 316 160 156 301 0 265 0 pmappl 200 1104 0 1079 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 313 0 93 8 1 7 8 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(ffffffff8224c3c3) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82225497) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff825da818,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(ffff80001d7fe340,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d789770,ffff80001d7fe3c8,ffff80001d7fe410) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d7fe490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f2760a1540, 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(ffffffff8224c3c3) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82225497) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff825da818,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(ffff80001d7fe340,20000000,10,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d789770,ffff80001d7fe3c8,ffff80001d7fe410) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d7fe490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f2760a1540, count: -10