panic: spl assertion failure in yield Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *449363 27184 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224e929) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff822278d9) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8257a028,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(ffff80001d742c70,20000140,8,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d773780,ffff80001d742cf8,ffff80001d742d40) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d742dc0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd371f796c30, 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(ffffffff8224e929) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff822278d9) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8257a028,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(ffff80001d742c70,20000140,8,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d773780,ffff80001d742cf8,ffff80001d742d40) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d742dc0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd371f796c30, count: -10 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d7429d0 rbx 0xffff80001d742a80 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8185100f kprintf+0x15f r9 0x1 r10 0x2 r11 0x37567b461c494b97 r12 0x3000000008 r13 0xffff80001d7429e0 r14 0x100 r15 0x1 rip 0xffffffff81666fb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d7429c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=449363 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80001d773510,0xffffffff825e6400 process=0xffff80001e8b1228 user=0xffff80001d73d000, vmspace=0xfffffd806bc09dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27184 308095 65045 0 2 0 syz-executor.0 *27184 449363 65045 0 7 0x4000000 syz-executor.0 76927 466072 1 0 3 0x100083 ttyin getty 23434 315723 0 0 3 0x14280 nfsidl nfsio 33967 121287 0 0 3 0x14280 nfsidl nfsio 48231 8164 0 0 3 0x14280 nfsidl nfsio 60752 408525 0 0 3 0x14280 nfsidl nfsio 18735 143771 0 0 3 0x14280 nfsidl nfsio 18262 309536 0 0 3 0x14280 nfsidl nfsio 7759 271036 0 0 3 0x14280 nfsidl nfsio 67639 75431 0 0 3 0x14280 nfsidl nfsio 14326 58667 0 0 3 0x14280 nfsidl nfsio 99373 315312 0 0 3 0x14280 nfsidl nfsio 54167 335727 0 0 3 0x14280 nfsidl nfsio 11689 451938 0 0 3 0x14280 nfsidl nfsio 78658 251291 0 0 3 0x14280 nfsidl nfsio 89724 232741 0 0 3 0x14280 nfsidl nfsio 12798 236571 0 0 3 0x14280 nfsidl nfsio 57525 520472 0 0 3 0x14280 nfsidl nfsio 42190 159304 0 0 3 0x14280 nfsidl nfsio 7896 205546 0 0 3 0x14280 nfsidl nfsio 26339 346454 0 0 3 0x14280 nfsidl nfsio 5209 251730 0 0 3 0x14280 nfsidl nfsio 88668 217377 32283 0 2 0x2 syz-executor.1 18053 77486 0 0 3 0x14200 bored sosplice 65045 1711 32283 0 3 0x82 nanosleep syz-executor.0 32283 490866 97032 0 3 0x82 thrsleep syz-fuzzer 32283 320337 97032 0 3 0x4000082 thrsleep syz-fuzzer 32283 135017 97032 0 3 0x4000082 thrsleep syz-fuzzer 32283 209837 97032 0 3 0x4000082 thrsleep syz-fuzzer 32283 445971 97032 0 3 0x4000082 thrsleep syz-fuzzer 32283 455827 97032 0 3 0x4000082 kqread syz-fuzzer 32283 260377 97032 0 3 0x4000082 thrsleep syz-fuzzer 32283 279499 97032 0 3 0x4000082 thrsleep syz-fuzzer 97032 38101 88580 0 3 0x10008a pause ksh 88580 58583 57535 0 3 0x92 select sshd 57535 243649 1 0 3 0x80 select sshd 74820 129794 79640 73 3 0x100090 kqread syslogd 79640 183499 1 0 3 0x100082 netio syslogd 30644 418654 1 77 3 0x100090 poll dhclient 59586 233514 1 0 3 0x80 poll dhclient 87051 112707 0 0 3 0x14200 bored smr 76995 216738 0 0 2 0x14200 zerothread 32865 248473 0 0 3 0x14200 aiodoned aiodoned 46485 83141 0 0 3 0x14200 syncer update 41265 468604 0 0 3 0x14200 cleaner cleaner 14504 93968 0 0 3 0x14200 reaper reaper 51016 498404 0 0 3 0x14200 pgdaemon pagedaemon 49617 178045 0 0 3 0x14200 bored crynlk 40579 494108 0 0 3 0x14200 bored crypto 60343 108381 0 0 3 0x40014200 acpi0 acpi0 94429 353090 0 0 3 0x14200 bored softnet 53557 160157 0 0 3 0x14200 bored systqmp 53330 379131 0 0 3 0x14200 bored systq 24618 503042 0 0 3 0x40014200 bored softclock 650 415120 0 0 3 0x40014200 idle0 1 401606 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 9518 6412K 7380K 78643K 13497 0 pcb 13 8K 8K 78643K 64 0 rtable 110 4K 6K 78643K 382 0 ifaddr 90 18K 18K 78643K 169 0 counters 21 16K 16K 78643K 32 0 ioctlops 0 0K 4K 78643K 115 0 iov 0 0K 16K 78643K 67 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1997 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 126 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 2764 0 sigio 0 0K 0K 78643K 14 0 proc 51 38K 55K 78643K 448 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 23 0 in_multi 63 3K 3K 78643K 112 0 ether_multi 1 0K 0K 78643K 10 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 237 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 129 23K 42K 78643K 6474 0 UVM aobj 19 6K 6K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 46 0 NDP 13 0K 0K 78643K 32 0 temp 130 3041K 3105K 78643K 19102 0 kqueue 3 4K 14K 78643K 38 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 11 0 3 1 0 1 1 0 8 0 rtpcb 80 47 0 45 1 0 1 1 0 8 0 rtentry 112 71 0 27 2 0 2 2 0 8 0 unpcb 120 827 0 819 1 0 1 1 0 8 0 syncache 264 10 0 10 3 3 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 160 0 160 1 1 0 1 0 8 0 tcpcb 544 98 0 94 1 0 1 1 0 8 0 ipq 40 5 0 5 3 3 0 1 0 8 0 ipqe 40 13 0 13 3 3 0 1 0 8 0 inpcb 280 1015 0 1002 7 6 1 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 ip6q 72 7 0 7 2 2 0 1 0 8 0 ip6af 40 14 0 14 2 2 0 1 0 8 0 nd6 48 11 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 3 0 0 1 0 1 1 0 8 0 pfrktable 1344 16 0 14 2 1 1 1 0 8 0 pftag 88 6 0 4 2 1 1 1 0 8 0 pfstitem 24 8 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 0 1 0 1 1 0 8 0 pfstate 328 4 0 0 1 0 1 1 0 8 0 pfrule 1360 14 0 4 2 1 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 296 0 114 13 0 13 13 0 8 0 art_table 32 298 0 114 2 0 2 2 0 8 0 art_node 16 70 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 37 0 18 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 122 0 112 1 0 1 1 0 8 0 shmpl 112 17 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4361 0 2968 88 0 88 88 0 8 0 ffsino 240 4361 0 2968 83 0 83 83 0 8 0 nchpl 144 7581 0 5992 60 0 60 60 0 8 0 uvmvnodes 72 5078 0 0 93 0 93 93 0 8 0 vnodes 208 5078 0 0 268 0 268 268 0 8 0 namei 1024 17965 0 17965 5 4 1 1 0 8 1 vmpool 528 1 0 1 1 1 0 1 0 8 0 pfiaddrpl 120 4 0 4 1 1 0 1 0 8 0 scxspl 192 21663 0 21663 4 3 1 1 0 8 1 plimitpl 152 44 0 37 1 0 1 1 0 8 0 sigapl 424 2969 0 2920 6 0 6 6 0 8 0 futexpl 56 19754 0 19754 5 4 1 1 0 8 1 knotepl 112 132 0 113 2 1 1 2 0 8 0 kqueuepl 144 60 0 58 1 0 1 1 0 8 0 pipelkpl 16 123 0 113 1 0 1 1 0 8 0 pipepl 120 246 0 227 1 0 1 1 0 8 0 fdescpl 432 2934 0 2920 2 0 2 2 0 8 0 filepl 120 7588 0 7491 5 1 4 4 0 8 0 lockfpl 104 85 0 84 1 0 1 1 0 8 0 lockfspl 48 34 0 33 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 575 0 567 1 0 1 1 0 8 0 zombiepl 144 2927 0 2927 5 4 1 1 0 8 1 processpl 920 2969 0 2920 7 0 7 7 0 8 0 procpl 624 5742 0 5685 7 2 5 5 0 8 0 sosppl 128 9 0 9 3 3 0 1 0 8 0 sockpl 400 1892 0 1873 7 5 2 3 0 8 0 mcl64k 65536 197 0 197 4 4 0 1 0 8 0 mcl16k 16384 9 0 9 4 4 0 1 0 8 0 mcl12k 12288 21 0 21 5 5 0 1 0 8 0 mcl9k 9216 8 0 8 3 3 0 1 0 8 0 mcl8k 8192 36 0 36 5 5 0 1 0 8 0 mcl4k 4096 93 0 93 7 6 1 1 0 8 1 mcl2k2 2112 5 0 5 4 4 0 1 0 8 0 mcl2k 2048 73365 0 73307 22 14 8 17 0 8 0 mtagpl 80 435 0 126 8 1 7 7 0 8 0 mbufpl 256 142852 0 142129 74 27 47 47 0 8 0 bufpl 280 6342 0 982 384 0 384 384 0 8 0 anonpl 16 195298 0 180113 73 9 64 70 0 107 0 amapchunkpl 152 9913 0 9782 23 17 6 19 0 158 0 amappl16 192 12320 0 11470 45 2 43 44 0 8 0 amappl15 184 80 0 78 1 0 1 1 0 8 0 amappl14 176 22 0 19 1 0 1 1 0 8 0 amappl13 168 1328 0 1322 1 0 1 1 0 8 0 amappl12 160 11 0 7 1 0 1 1 0 8 0 amappl11 152 110 0 101 1 0 1 1 0 8 0 amappl10 144 18 0 13 1 0 1 1 0 8 0 amappl9 136 1669 0 1667 1 0 1 1 0 8 0 amappl8 128 1716 0 1667 2 0 2 2 0 8 0 amappl7 120 112 0 100 1 0 1 1 0 8 0 amappl6 112 27 0 19 1 0 1 1 0 8 0 amappl5 104 2953 0 2941 1 0 1 1 0 8 0 amappl4 96 1712 0 1684 1 0 1 1 0 8 0 amappl3 88 130 0 123 1 0 1 1 0 8 0 amappl2 80 22373 0 22307 2 0 2 2 0 8 0 amappl1 72 52778 0 52369 24 15 9 17 0 8 0 amappl 80 5958 0 5917 1 0 1 1 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 18 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2935 0 2921 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2935 0 2921 1 0 1 1 0 8 0 vmmpekpl 168 18035 0 18007 2 0 2 2 0 8 0 vmmpepl 168 327237 0 325301 141 51 90 114 0 357 5 vmsppl 272 2934 0 2921 2 1 1 2 0 8 0 pdppl 4096 5876 0 5842 6 1 5 6 0 8 0 pvpl 32 573212 0 554916 185 34 151 170 0 265 0 pmappl 200 2934 0 2921 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 337 0 76 9 1 8 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(ffffffff8224e929) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff822278d9) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8257a028,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(ffff80001d742c70,20000140,8,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d773780,ffff80001d742cf8,ffff80001d742d40) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d742dc0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd371f796c30, 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(ffffffff8224e929) at panic+0x15c sys/kern/subr_prf.c:207 splassert_fail(0,1,ffffffff822278d9) at splassert_fail+0x102 sys/kern/subr_prf.c:237 yield() at yield+0x6f sys/kern/sched_bsd.c:304 pool_get(ffffffff8257a028,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(ffff80001d742c70,20000140,8,3) at sockargs+0x8d sys/kern/uipc_syscalls.c:1115 sys_connect(ffff80001d773780,ffff80001d742cf8,ffff80001d742d40) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff80001d742dc0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd371f796c30, count: -10