kernel: protection fault trap, code=0 Stopped at sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80003c9622c0,ffff80002a86feb0,ffff80002a86fe00) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a86feb0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a86feb0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb40eb57090, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a86fde0 rbx 0xdeafbeaddeafbead rdx 0 rcx 0 rax 0xdeafbeaddeafbead r8 0x7f7fffffc000 r9 0 r10 0x4b65b888a60982fd r11 0x4bc4b0503d7d3036 r12 0 r13 0xfffffd806b509c40 r14 0xffff80002a86feb0 r15 0 rip 0xffffffff82e308d5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a86fcf0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=219841 pid=38037 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f9a10,0xffff80003c962568 process=0xffff80003c986dd0 user=0xffff80002a86a000, vmspace=0xfffffd806ba76d00 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 25150 259666 77556 0 2 0 syz-executor 25150 141631 77556 0 3 0x4000080 fsleep syz-executor 40426 90494 90841 0 2 0 syz-executor 40426 345428 90841 0 3 0x4000080 fsleep syz-executor 38037 182037 67788 0 2 0 syz-executor *38037 219841 67788 0 7 0x4000000 syz-executor 38037 487281 67788 0 3 0x4000080 fsleep syz-executor 38037 28804 67788 0 3 0x4000080 fsleep syz-executor 59005 470328 84014 0 2 0 syz-executor 59005 375101 84014 0 3 0x4000080 fsleep syz-executor 59005 186794 84014 0 3 0x4000080 fsleep syz-executor 27092 27342 33639 0 2 0 syz-executor 27092 514434 33639 0 2 0x4000000 syz-executor 27092 113954 33639 0 2 0x4000000 syz-executor 297 405800 4131 0 2 0 syz-executor 297 8071 4131 0 3 0x4000080 fsleep syz-executor 38335 403433 51388 0 2 0 syz-executor 22712 480370 39395 60929 2 0x10 syz-executor 22712 28933 39395 60929 3 0x4000090 fsleep syz-executor 22712 114622 39395 60929 3 0x4000090 fsleep syz-executor 33639 371250 4716 0 3 0x82 nanoslp syz-executor 90841 474336 4716 0 3 0x82 nanoslp syz-executor 51388 343409 4716 0 3 0x82 nanoslp syz-executor 9280 105485 0 0 3 0x14200 acct acct 89992 353178 0 0 3 0x14200 bored sosplice 84014 289300 4716 0 3 0x82 nanoslp syz-executor 39395 291564 4716 0 3 0x82 nanoslp syz-executor 4131 295781 4716 0 3 0x82 nanoslp syz-executor 67788 228974 4716 0 3 0x82 nanoslp syz-executor 77556 507406 4716 0 3 0x82 nanoslp syz-executor 4716 314310 52769 0 2 0x2 syz-executor 52769 229883 38089 0 3 0x10008a sigsusp ksh 38089 484520 67152 0 3 0x98 kqread sshd-session 67152 386825 24139 0 3 0x92 kqread sshd-session 40411 154190 1 0 3 0x100083 ttyopn getty 24139 333739 1 0 3 0x88 kqread sshd 73612 229806 14006 73 3 0x1100090 kqread syslogd 14006 508895 1 0 3 0x100082 sbwait syslogd 1803 122470 1 0 3 0x100080 kqread resolvd 82560 458659 26380 77 3 0x100092 kqread dhcpleased 4067 335790 26380 77 3 0x100092 kqread dhcpleased 26380 300632 1 0 3 0x80 kqread dhcpleased 67714 39300 0 0 3 0x14200 bored smr 69495 413872 0 0 2 0x14200 zerothread 99377 46889 0 0 3 0x14200 aiodoned aiodoned 64268 403312 0 0 3 0x14200 syncer update 1728 285115 0 0 3 0x14200 cleaner cleaner 31071 126970 0 0 3 0x14200 reaper reaper 42921 103322 0 0 3 0x14200 pgdaemon pagedaemon 2332 326726 0 0 3 0x14200 bored viomb 12150 367899 0 0 3 0x40014200 acpi0 acpi0 53109 95853 0 0 3 0x14200 bored softnet7 88684 184477 0 0 3 0x14200 bored softnet6 67704 4043 0 0 3 0x14200 bored softnet5 59629 26541 0 0 3 0x14200 bored softnet4 68600 99055 0 0 3 0x14200 bored softnet3 19421 206497 0 0 3 0x14200 bored softnet2 60194 206785 0 0 3 0x14200 bored softnet1 42180 112892 0 0 3 0x14200 bored softnet0 34402 237047 0 0 3 0x14200 smrbar systqmp 7481 419869 0 0 3 0x14200 bored systq 77515 516883 0 0 3 0x40014200 tmoslp softclock 44511 266516 0 0 3 0x40014200 idle0 1 263093 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10180 11040K 11378K 166960K 12403 0 pcb 17 14K 16K 166960K 202 0 rtable 219 9K 9K 166960K 524 0 pf 33 13K 20K 166960K 120 0 ifaddr 44 8K 8K 166960K 114 0 ifgroup 50 2K 2K 166960K 148 0 sysctl 2 1K 9K 166960K 11 0 counters 32 17K 18K 166960K 75 0 ioctlops 0 0K 4K 166960K 174 0 iov 0 0K 16K 166960K 45 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1399 88K 88K 166960K 2067 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 24 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 244K 166960K 837 0 sigio 1 0K 0K 166960K 11 0 proc 60 59K 91K 166960K 765 0 subproc 72 4K 4K 166960K 153 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 59 0 in_multi 102 7K 7K 166960K 229 0 ether_multi 1 0K 0K 166960K 4 0 mrt 2 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 2K 166960K 680 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 226 152K 163K 166960K 8557 0 UVM aobj 13 2K 2K 166960K 15 0 pinsyscall 39 78K 94K 166960K 2090 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 33 0 NDP 12 0K 1K 166960K 77 0 temp 58 8639K 8732K 166960K 27920 0 kqueue 13 20K 30K 166960K 144 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 159 0 156 3 2 1 3 0 8 0 rtentry 136 197 0 109 4 0 4 4 0 8 0 unpcb 144 630 0 615 9 3 6 6 0 8 5 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 9 0 9 2 1 1 1 0 8 1 tcpcb 736 160 0 153 4 0 4 4 0 8 3 arp 88 20 0 9 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 5 0 1 1 0 1 1 0 8 0 inpcb 328 635 0 624 10 6 4 7 0 8 2 ip6q 72 3 0 0 1 0 1 1 0 8 0 ip6af 40 3 0 0 1 0 1 1 0 8 0 nd6 104 40 0 22 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 17 0 9 1 0 1 1 0 8 0 ppxss 1072 29 0 29 2 1 1 1 0 8 1 pppxif 1384 2 0 2 2 1 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 3 0 3 1 0 1 1 0 8 1 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 0 1 0 1 1 0 8 0 pfstate 384 3 0 0 1 0 1 1 0 8 0 pfrule 1344 4 0 4 2 1 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1033 0 570 30 1 29 29 0 8 0 art_table 40 1037 0 570 5 0 5 5 0 8 0 art_node 32 196 0 118 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 21 0 12 1 0 1 1 0 8 0 shmpl 112 12 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2666 0 1150 96 0 96 96 0 8 0 ffsino 256 2666 0 1150 96 0 96 96 0 8 0 nchpl 144 3623 0 1919 64 0 64 64 0 8 0 rtmask 32 4 0 4 2 1 1 1 0 8 1 uvmvnodes 80 3206 0 0 66 0 66 66 0 8 0 vnodes 216 3206 0 0 179 0 179 179 0 8 0 namei 1024 12894 0 12893 3 1 2 2 0 8 1 kstatmem 264 86 0 64 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 11739 0 11739 8 7 1 8 1 8 1 plimitpl 152 148 0 131 1 0 1 1 0 8 0 sigapl 424 1111 0 1059 9 2 7 9 0 8 1 knotepl 120 28459 0 28411 26 16 10 17 0 8 8 kqueuepl 184 234 0 224 1 0 1 1 0 8 0 pipepl 304 161 0 133 3 0 3 3 0 8 0 fdescpl 448 1069 0 1039 5 1 4 5 0 8 0 filepl 120 6018 0 5804 12 1 11 11 0 8 2 lockfpl 104 494 0 492 3 1 2 2 0 8 1 lockfspl 48 171 0 169 1 0 1 1 0 8 0 sessionpl 144 32 0 24 1 0 1 1 0 8 0 pgrppl 48 51 0 35 1 0 1 1 0 8 0 ucredpl 104 861 0 849 1 0 1 1 0 8 0 zombiepl 144 1309 0 1309 1 0 1 1 0 8 1 processpl 1168 1111 0 1059 6 1 5 6 0 8 1 procpl 664 2088 0 2024 8 1 7 8 0 8 0 sosppl 168 4 0 4 1 1 0 1 0 8 0 sockpl 552 1477 0 1448 17 6 11 12 0 8 8 mcl64k 65536 30 0 30 2 1 1 1 0 8 1 mcl16k 16384 8 0 8 2 1 1 1 0 8 1 mcl12k 12288 4 0 4 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 3199 0 3146 13 5 8 13 0 8 0 mcl2k 2048 1178 0 1173 4 1 3 3 0 8 1 mtagpl 96 17 0 7 1 0 1 1 0 8 0 mbufpl 256 12930 0 12722 136 118 18 130 0 8 1 bufpl 280 4024 0 121 279 0 279 279 0 8 0 anonpl 24 173562 0 170451 75 42 33 70 0 187 4 amapchunkpl 152 27455 0 26977 30 4 26 26 0 158 2 amappl16 200 3178 0 3151 28 24 4 24 0 8 1 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 123 0 113 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1820 0 1791 3 1 2 3 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 282 0 280 1 0 1 1 0 8 0 amappl8 136 29 0 28 1 0 1 1 0 8 0 amappl7 128 121 0 111 1 0 1 1 0 8 0 amappl6 120 277 0 274 1 0 1 1 0 8 0 amappl5 112 166 0 159 1 0 1 1 0 8 0 amappl4 104 280 0 265 1 0 1 1 0 8 0 amappl3 96 5304 0 5195 4 0 4 4 0 8 0 amappl2 88 745 0 690 2 0 2 2 0 8 0 amappl1 80 11561 0 11006 14 0 14 14 0 8 0 amappl 88 7688 0 7525 5 0 5 5 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 7 0 7 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 14 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1069 0 1039 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1069 0 1039 1 0 1 1 0 8 0 vmmpekpl 168 9211 0 9168 3 0 3 3 0 8 0 vmmpepl 168 72634 0 70744 101 16 85 101 0 357 0 vmsppl 368 1068 0 1039 4 1 3 4 0 8 0 rwobjpl 40 24493 0 20430 43 1 42 42 0 8 0 pdppl 4096 2145 0 2078 119 50 69 83 0 8 2 pvpl 32 464339 0 456076 150 56 94 148 0 265 6 pmappl 216 1068 0 1039 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 535 0 185 14 1 13 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c9622c0,ffff80002a86feb0,ffff80002a86fe00) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a86feb0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a86feb0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb40eb57090, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c9622c0,ffff80002a86feb0,ffff80002a86fe00) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a86feb0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a86feb0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb40eb57090, count: -3