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(ffff80002a78d770,ffff80003c909050,ffff80003c908fa0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c909050) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c909050) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc3143d4a730, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c908f80 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0x6c440e34c6b8d8d9 r11 0xfb61dfe0b0997348 r12 0 r13 0xfffffd8069a7aa80 r14 0xffff80003c909050 r15 0 rip 0xffffffff8120f685 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c908e90 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=190190 pid=45472 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a78d4d8,0xffff80002a78da18 process=0xffff8000338ead18 user=0xffff80003c904000, vmspace=0xfffffd806c9185d8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45472 244756 49523 0 2 0 syz-executor *45472 190190 49523 0 7 0x4000000 syz-executor 45472 235858 49523 0 3 0x4000080 fsleep syz-executor 45472 183426 49523 0 3 0x4000080 fsleep syz-executor 66034 334925 19112 0 3 0x80 fsleep syz-executor 66034 276755 19112 0 3 0x4000080 kqread syz-executor 71570 222276 14098 0 3 0x80 fsleep syz-executor 71570 254104 14098 0 3 0x4000080 sbwait syz-executor 31365 138094 1007 60929 3 0x90 fsleep syz-executor 31365 464130 1007 60929 3 0x4000090 kqsel syz-executor 31365 347522 1007 60929 3 0x4000090 fsleep syz-executor 31365 131843 1007 60929 3 0x4000090 fsleep syz-executor 77878 413490 41186 0 3 0x80 fsleep syz-executor 77878 362307 41186 0 3 0x4000080 sbwait syz-executor 77878 354388 41186 0 3 0x4000080 sbwait syz-executor 43806 113947 27917 0 3 0x80 fsleep syz-executor 43806 147083 27917 0 3 0x4000080 fifor syz-executor 72160 84911 45856 0 3 0x80 fsleep syz-executor 72160 502969 45856 0 3 0x4000080 sbwait syz-executor 97897 88968 47280 0 3 0x80 fsleep syz-executor 97897 285262 47280 0 3 0x4000080 msgwait syz-executor 97897 153058 47280 0 3 0x4000080 fsleep syz-executor 79505 492761 0 0 3 0x14200 acct acct 41186 503630 15741 0 3 0x82 nanoslp syz-executor 27917 149528 15741 0 3 0x82 nanoslp syz-executor 47280 8927 15741 0 3 0x82 nanoslp syz-executor 1007 277545 15741 0 3 0x82 nanoslp syz-executor 14098 103537 15741 0 2 0xc82 syz-executor 49523 45263 15741 0 3 0x82 nanoslp syz-executor 19112 130053 15741 0 2 0xc82 syz-executor 45856 46987 15741 0 3 0x82 nanoslp syz-executor 15741 469390 65512 0 3 0x82 kqread syz-executor 65512 260248 97813 0 3 0x10008a sigsusp ksh 97813 47492 46163 0 3 0x98 kqread sshd-session 46163 176491 36644 0 3 0x92 kqread sshd-session 12029 160201 1 0 3 0x100083 ttyopn getty 36644 644 1 0 3 0x88 kqread sshd 20139 163149 74213 73 3 0x1100090 kqread syslogd 74213 19566 1 0 3 0x100082 sbwait syslogd 96158 76117 1 0 3 0x100080 kqread resolvd 56647 205136 36247 77 3 0x100092 kqread dhcpleased 26868 304881 36247 77 3 0x100092 kqread dhcpleased 36247 36588 1 0 3 0x80 kqread dhcpleased 4161 464856 0 0 3 0x14200 bored smr 33611 125418 0 0 2 0x14200 zerothread 60702 392311 0 0 3 0x14200 aiodoned aiodoned 63534 62307 0 0 3 0x14200 syncer update 82865 256421 0 0 3 0x14200 cleaner cleaner 42376 178228 0 0 3 0x14200 reaper reaper 9700 515208 0 0 3 0x14200 pgdaemon pagedaemon 47521 405160 0 0 3 0x14200 bored viomb 32927 254926 0 0 3 0x40014200 acpi0 acpi0 12006 195420 0 0 3 0x14200 bored softnet0 49400 205581 0 0 3 0x14200 smrbar systqmp 82234 197153 0 0 3 0x14200 bored systq 17632 83877 0 0 3 0x40014200 tmoslp softclock 22661 499554 0 0 3 0x40014200 idle0 1 374241 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 11036 12106K 12442K 166960K 12369 0 pcb 20 12K 12K 166960K 56 0 rtable 244 7K 9K 166960K 392 0 pf 32 13K 17K 166960K 56 0 ifaddr 42 7K 7K 166960K 46 0 ifgroup 50 2K 2K 166960K 57 0 sysctl 3 1K 9K 166960K 7 0 counters 33 17K 17K 166960K 35 0 ioctlops 0 0K 4K 166960K 109 0 iov 1 4K 12K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1298 82K 82K 166960K 1543 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 366 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 91K 166960K 518 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 29 0 in_multi 99 7K 7K 166960K 106 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 24 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 384 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 151K 166K 166960K 5147 0 UVM aobj 74 3K 4K 166960K 76 0 pinsyscall 39 78K 90K 166960K 1447 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 7 0 NDP 11 0K 1K 166960K 29 0 temp 45 9068K 9149K 166960K 11368 0 kqueue 14 22K 30K 166960K 72 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 43 0 39 1 0 1 1 0 8 0 rtentry 136 119 0 6 4 0 4 4 0 8 0 unpcb 144 280 0 261 7 1 6 6 0 8 5 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 77 0 73 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 328 228 0 214 2 0 2 2 0 8 0 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 30 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 pfstscr 40 4 0 0 1 0 1 1 0 8 0 pfrktable 1344 10 0 10 1 0 1 1 0 8 1 pfanchor 1288 2 0 2 1 0 1 1 0 8 1 pftag 88 1 0 1 1 0 1 1 0 8 1 pfstitem 24 8 0 2 1 0 1 1 0 8 0 pfstkey 128 10 0 3 1 0 1 1 0 8 0 pfstate 384 5 0 1 1 0 1 1 0 8 0 pfrule 1360 3 0 3 2 1 1 1 0 8 1 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 464 0 6 29 0 29 29 0 8 0 art_table 40 465 0 6 5 0 5 5 0 8 0 art_node 32 119 0 15 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 1 1 0 1 1 0 8 0 semapl 112 6 0 2 1 0 1 1 0 8 0 shmpl 112 73 0 2 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1993 0 539 92 0 92 92 0 8 0 ffsino 256 1993 0 539 92 0 92 92 0 8 0 nchpl 144 2517 0 828 64 0 64 64 0 8 0 vnodes 216 2174 0 0 121 0 121 121 0 8 0 namei 1024 7421 0 7421 2 1 1 2 0 8 1 pfiaddrpl 120 4 0 4 1 0 1 1 0 8 1 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8465 0 8465 10 2 8 8 1 8 8 plimitpl 152 65 0 49 1 0 1 1 0 8 0 sigapl 424 657 0 613 6 1 5 6 0 8 0 knotepl 120 11158 0 11110 17 7 10 10 0 8 7 kqueuepl 184 94 0 83 1 0 1 1 0 8 0 pipepl 304 134 0 107 3 0 3 3 0 8 0 fdescpl 448 643 0 613 4 0 4 4 0 8 0 filepl 120 2826 0 2611 11 0 11 11 0 8 4 lockfpl 104 177 0 174 1 0 1 1 0 8 0 lockfspl 48 48 0 45 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 104 272 0 260 1 0 1 1 0 8 0 zombiepl 144 725 0 725 2 1 1 1 0 8 1 processpl 1152 657 0 613 4 0 4 4 0 8 0 procpl 664 1074 0 1016 6 0 6 6 0 8 1 sockpl 552 566 0 529 13 2 11 12 0 8 8 mcl64k 65536 57 0 56 2 1 1 1 0 8 0 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 5 2 1 1 1 0 8 0 mcl4k 4096 2811 0 2761 14 6 8 14 0 8 1 mcl2k 2048 361 0 355 2 0 2 2 0 8 1 mtagpl 96 10 0 7 2 1 1 1 0 8 0 mbufpl 256 6642 0 6435 16 0 16 16 0 8 2 bufpl 280 2823 0 103 195 0 195 195 0 8 0 anonpl 24 112885 0 109645 50 24 26 45 0 187 4 amapchunkpl 152 15975 0 15456 34 2 32 32 0 158 11 amappl16 200 1981 0 1957 15 12 3 14 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 412 0 411 1 0 1 1 0 8 0 amappl13 176 126 0 116 1 0 1 1 0 8 0 amappl12 168 879 0 850 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 58 0 48 1 0 1 1 0 8 0 amappl9 144 260 0 260 1 1 0 1 0 8 0 amappl8 136 144 0 143 1 0 1 1 0 8 0 amappl7 128 138 0 127 1 0 1 1 0 8 0 amappl6 120 156 0 155 1 0 1 1 0 8 0 amappl5 112 86 0 78 1 0 1 1 0 8 0 amappl4 104 262 0 245 1 0 1 1 0 8 0 amappl3 96 2997 0 2878 4 0 4 4 0 8 1 amappl2 88 504 0 448 2 0 2 2 0 8 0 amappl1 80 9949 0 9395 13 1 12 13 0 8 0 amappl 88 4429 0 4255 4 0 4 4 0 92 0 uvmvnodes 80 100 0 0 3 0 3 3 0 8 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 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 72 75 0 2 2 0 2 2 0 8 0 uaddrrnd 24 643 0 613 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 643 0 613 1 0 1 1 0 8 0 vmmpekpl 168 6745 0 6720 2 0 2 2 0 8 0 vmmpepl 168 47905 0 46070 93 12 81 90 0 357 0 vmsppl 368 642 0 613 4 1 3 4 0 8 0 rwobjpl 40 15927 0 14895 13 2 11 13 0 8 0 pdppl 4096 1292 0 1226 92 26 66 76 0 8 0 pvpl 32 292147 0 283418 124 36 88 111 0 265 12 pmappl 216 642 0 613 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 364 0 41 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a78d770,ffff80003c909050,ffff80003c908fa0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c909050) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c909050) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc3143d4a730, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a78d770,ffff80003c909050,ffff80003c908fa0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c909050) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c909050) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc3143d4a730, count: -3