panic: spl assertion failure in yield Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *140431 79211 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82446e24) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82418d05) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff827e2568,d) at pool_get+0x166 sys/kern/subr_pool.c:588 pfioctl(4900,cd604404,ffff800000acc000,3,ffff80001d6c1c48) at pfioctl+0x305e sys/net/pf_ioctl.c:1216 VOP_IOCTL(fffffd806b2801a0,cd604404,ffff800000acc000,3,fffffd806c3bfa20,ffff80001d6c1c48) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd8057b71d30,cd604404,ffff800000acc000,ffff80001d6c1c48) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6c1c48,ffff80001e780e28,ffff80001e780e70) at sys_ioctl+0x4a1 syscall(ffff80001e780ef0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52842d2db00, 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> 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(ffffffff82446e24) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82418d05) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff827e2568,d) at pool_get+0x166 sys/kern/subr_pool.c:588 pfioctl(4900,cd604404,ffff800000acc000,3,ffff80001d6c1c48) at pfioctl+0x305e sys/net/pf_ioctl.c:1216 VOP_IOCTL(fffffd806b2801a0,cd604404,ffff800000acc000,3,fffffd806c3bfa20,ffff80001d6c1c48) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd8057b71d30,cd604404,ffff800000acc000,ffff80001d6c1c48) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6c1c48,ffff80001e780e28,ffff80001e780e70) at sys_ioctl+0x4a1 syscall(ffff80001e780ef0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52842d2db00, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001e780810 rbx 0xffff80001e7808c0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8155d16f kprintf+0x15f r9 0x1 r10 0x2 r11 0x16bc74d9acb0aa2a r12 0x3000000008 r13 0xffff80001e780820 r14 0x100 r15 0x1 rip 0xffffffff81ac0cb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001e780800 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=140431 stat=onproc flags process=0 proc=4000000 pri=76, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6c2d58,0xffffffff827f7a58 process=0xffff8000ffffa010 user=0xffff80001e77b000, vmspace=0xfffffd8069819778 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79211 280886 34358 0 2 0 syz-executor.1 *79211 140431 34358 0 7 0x4000000 syz-executor.1 3677 270238 0 0 3 0x14200 acct acct 34358 517670 62322 0 3 0x82 nanosleep syz-executor.1 96153 267440 0 0 3 0x14200 bored sosplice 80082 452128 62322 0 2 0x2 syz-executor.0 62322 508994 50821 0 3 0x82 thrsleep syz-fuzzer 62322 88105 50821 0 3 0x4000082 nanosleep syz-fuzzer 62322 60803 50821 0 3 0x4000082 thrsleep syz-fuzzer 62322 483523 50821 0 3 0x4000082 thrsleep syz-fuzzer 62322 210595 50821 0 3 0x4000082 thrsleep syz-fuzzer 62322 491323 50821 0 3 0x4000082 kqread syz-fuzzer 62322 172707 50821 0 3 0x4000082 thrsleep syz-fuzzer 62322 18357 50821 0 3 0x4000082 thrsleep syz-fuzzer 50821 378990 92838 0 3 0x10008a pause ksh 92838 213164 11675 0 3 0x92 select sshd 31028 38124 1 0 3 0x100083 ttyin getty 11675 242448 1 0 3 0x80 select sshd 76161 209556 2927 73 3 0x100090 kqread syslogd 2927 56477 1 0 3 0x100082 netio syslogd 14134 505578 1 77 3 0x100090 poll dhclient 63240 302837 1 0 3 0x80 poll dhclient 10191 12348 0 0 3 0x14200 bored smr 83102 5605 0 0 2 0x14200 zerothread 2346 478523 0 0 3 0x14200 aiodoned aiodoned 30072 383449 0 0 3 0x14200 syncer update 62414 34719 0 0 3 0x14200 cleaner cleaner 18663 136688 0 0 3 0x14200 reaper reaper 70430 335975 0 0 3 0x14200 pgdaemon pagedaemon 63484 172149 0 0 3 0x14200 bored crynlk 92462 236117 0 0 3 0x14200 bored crypto 93367 16651 0 0 3 0x40014200 acpi0 acpi0 41529 213306 0 0 2 0x14200 softnet 472 390572 0 0 3 0x14200 bored systqmp 30395 45743 0 0 3 0x14200 bored systq 8919 15009 0 0 3 0x40014200 bored softclock 30658 355291 0 0 3 0x40014200 idle0 1 13258 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 9504 6345K 6860K 78643K 11396 0 pcb 13 8K 8K 78643K 81 0 rtable 112 9K 11K 78643K 541 0 ifaddr 78 16K 18K 78643K 200 0 counters 20 16K 16K 78643K 35 0 ioctlops 1 4K 4K 78643K 126 0 iov 0 0K 28K 78643K 84 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1486 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 130 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 504 0 sigio 0 0K 0K 78643K 9 0 proc 50 38K 63K 78643K 489 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 28 0 in_multi 47 2K 3K 78643K 104 0 ether_multi 1 0K 0K 78643K 13 0 mrt 0 0K 0K 78643K 4 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 235 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 143 104K 104K 78643K 2040 0 UVM aobj 35 2K 2K 78643K 36 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 45 0 NDP 11 0K 0K 78643K 32 0 temp 107 3852K 3916K 78643K 14502 0 kqueue 8 14K 18K 78643K 34 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 10 0 6 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 65 0 33 2 0 2 2 0 8 0 unpcb 120 157 0 149 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 tcpqe 32 575 0 575 1 1 0 1 0 8 0 tcpcb 544 151 0 147 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 90 0 90 1 1 0 1 0 8 0 inpcb 280 438 0 431 4 3 1 2 0 8 0 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 10 0 7 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 75 0 63 2 0 2 2 0 8 0 pftag 88 16 0 12 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 0 1 0 1 1 0 8 0 pfstate 328 2 0 0 1 0 1 1 0 8 0 pfrule 1360 47 0 24 3 1 2 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 240 0 97 14 4 10 12 0 8 0 art_table 32 241 0 97 2 0 2 2 0 8 0 art_node 16 62 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 11 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 124 0 114 1 0 1 1 0 8 0 shmpl 112 34 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2076 0 680 88 0 88 88 0 8 0 ffsino 240 2076 0 680 83 0 83 83 0 8 0 nchpl 144 3284 0 1697 60 0 60 60 0 8 0 uvmvnodes 72 2308 0 0 42 0 42 42 0 8 0 vnodes 208 2308 0 0 122 0 122 122 0 8 0 namei 1024 8978 0 8978 3 2 1 1 0 8 1 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 528 15 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 32 0 22 1 0 1 1 0 8 0 scxspl 192 9187 0 9187 3 2 1 1 0 8 1 plimitpl 152 45 0 38 1 0 1 1 0 8 0 sigapl 424 689 0 659 4 0 4 4 0 8 0 futexpl 56 10266 0 10266 2 1 1 1 0 8 1 knotepl 112 108 0 89 1 0 1 1 0 8 0 kqueuepl 144 118 0 108 1 0 1 1 0 8 0 pipelkpl 16 149 0 139 1 0 1 1 0 8 0 pipepl 120 298 0 279 1 0 1 1 0 8 0 fdescpl 432 673 0 659 2 0 2 2 0 8 0 filepl 120 4441 0 4339 5 1 4 4 0 8 0 lockfpl 104 132 0 131 1 0 1 1 0 8 0 lockfspl 48 46 0 45 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 20 0 10 1 0 1 1 0 8 0 ucredpl 96 424 0 417 1 0 1 1 0 8 0 zombiepl 144 659 0 659 3 2 1 1 0 8 1 processpl 920 689 0 659 4 0 4 4 0 8 0 procpl 624 1259 0 1221 4 0 4 4 0 8 0 sosppl 128 15 0 15 2 2 0 1 0 8 0 sockpl 400 647 0 630 3 1 2 3 0 8 0 mcl64k 65536 546 0 546 65 65 0 65 0 8 0 mcl16k 16384 2 0 2 2 2 0 1 0 8 0 mcl12k 12288 13 0 13 2 2 0 1 0 8 0 mcl9k 9216 10 0 10 1 1 0 1 0 8 0 mcl8k 8192 15 0 14 1 0 1 1 0 8 0 mcl4k 4096 60 0 60 2 2 0 1 0 8 0 mcl2k2 2112 4 0 4 3 3 0 1 0 8 0 mcl2k 2048 77067 0 77001 28 19 9 20 0 8 0 mtagpl 80 58 0 33 2 1 1 1 0 8 0 mbufpl 256 126222 0 126069 41 27 14 38 0 8 0 bufpl 280 5796 0 444 383 0 383 383 0 8 0 anonpl 16 87252 0 71737 82 13 69 74 0 107 0 amapchunkpl 152 3549 0 3407 19 13 6 19 0 158 0 amappl16 192 3481 0 2551 56 9 47 50 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 34 0 25 1 0 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 234 0 228 1 0 1 1 0 8 0 amappl11 152 62 0 52 1 0 1 1 0 8 0 amappl10 144 19 0 11 1 0 1 1 0 8 0 amappl9 136 263 0 260 1 0 1 1 0 8 0 amappl8 128 580 0 536 2 0 2 2 0 8 0 amappl7 120 114 0 101 1 0 1 1 0 8 0 amappl6 112 25 0 20 1 0 1 1 0 8 0 amappl5 104 1513 0 1500 1 0 1 1 0 8 0 amappl4 96 443 0 416 1 0 1 1 0 8 0 amappl3 88 130 0 123 1 0 1 1 0 8 0 amappl2 80 4510 0 4444 2 0 2 2 0 8 0 amappl1 72 21327 0 20916 24 15 9 17 0 8 0 amappl 80 1507 0 1460 3 1 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 35 0 1 1 0 1 1 0 8 0 uaddrrnd 24 688 0 664 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 688 0 664 1 0 1 1 0 8 0 vmmpekpl 168 8038 0 8010 2 0 2 2 0 8 0 vmmpepl 168 86876 0 84831 129 38 91 117 0 357 0 vmsppl 272 687 0 664 2 0 2 2 0 8 0 pdppl 4096 1382 0 1338 7 1 6 6 0 8 0 pvpl 32 273525 0 255099 219 57 162 217 0 265 0 pmappl 200 687 0 664 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 353 0 126 10 1 9 10 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(ffffffff82446e24) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82418d05) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff827e2568,d) at pool_get+0x166 sys/kern/subr_pool.c:588 pfioctl(4900,cd604404,ffff800000acc000,3,ffff80001d6c1c48) at pfioctl+0x305e sys/net/pf_ioctl.c:1216 VOP_IOCTL(fffffd806b2801a0,cd604404,ffff800000acc000,3,fffffd806c3bfa20,ffff80001d6c1c48) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd8057b71d30,cd604404,ffff800000acc000,ffff80001d6c1c48) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6c1c48,ffff80001e780e28,ffff80001e780e70) at sys_ioctl+0x4a1 syscall(ffff80001e780ef0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52842d2db00, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82446e24) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff82418d05) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff827e2568,d) at pool_get+0x166 sys/kern/subr_pool.c:588 pfioctl(4900,cd604404,ffff800000acc000,3,ffff80001d6c1c48) at pfioctl+0x305e sys/net/pf_ioctl.c:1216 VOP_IOCTL(fffffd806b2801a0,cd604404,ffff800000acc000,3,fffffd806c3bfa20,ffff80001d6c1c48) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd8057b71d30,cd604404,ffff800000acc000,ffff80001d6c1c48) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6c1c48,ffff80001e780e28,ffff80001e780e70) at sys_ioctl+0x4a1 syscall(ffff80001e780ef0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52842d2db00, count: -11