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(ffff80003c973a18,ffff80003c94de20,ffff80003c94dd70) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c94de20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94de20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1d5ec950190, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c94dd50 rbx 0xdeaf4152deaf4152 rdx 0 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0x61f6d89ea490c04b r11 0xfa18549439576a5d r12 0 r13 0xfffffd806c233930 r14 0xffff80003c94de20 r15 0 rip 0xffffffff81a45c85 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c94dc60 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=457452 pid=52003 tcnt=3 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=0xffff80003c973780,0xffff80003c972d30 process=0xffff80003190a898 user=0xffff80003c948000, vmspace=0xfffffd806c24f460 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52003 37907 75037 0 2 0 syz-executor *52003 457452 75037 0 7 0x4000000 syz-executor 52003 149253 75037 0 3 0x4000080 fsleep syz-executor 10256 29846 80806 0 3 0x80 fsleep syz-executor 10256 144385 80806 0 3 0x4000080 kqsel syz-executor 34300 137476 78274 0 3 0x80 fsleep syz-executor 34300 236066 78274 0 2 0x4000000 syz-executor 83033 172937 10866 0 3 0x80 fsleep syz-executor 83033 273671 10866 0 3 0x4000080 netacc syz-executor 83033 268069 10866 0 3 0x4000080 fsleep syz-executor 86207 463530 94489 0 3 0x80 fsleep syz-executor 86207 425657 94489 0 3 0x4000000 smrbar syz-executor 48713 272102 19311 0 3 0x80 fsleep syz-executor 48713 517784 19311 0 3 0x4000080 fifor syz-executor 72532 65662 93482 0 3 0x80 fsleep syz-executor 72532 167830 93482 0 3 0x4000080 lockf syz-executor 93482 38404 48952 0 3 0x82 nanoslp syz-executor 25546 39479 0 0 3 0x14200 bored sosplice 78274 365966 48952 0 3 0x82 nanoslp syz-executor 80806 496515 48952 0 3 0x82 nanoslp syz-executor 75037 359094 48952 0 3 0x82 nanoslp syz-executor 10866 149610 48952 0 3 0x82 nanoslp syz-executor 94489 309192 48952 0 3 0x82 nanoslp syz-executor 97586 362210 48952 0 3 0x82 wait syz-executor 19311 155723 48952 0 3 0x82 nanoslp syz-executor 48952 160364 83521 0 3 0x82 kqread syz-executor 83521 97944 54404 0 3 0x10008a sigsusp ksh 54404 202817 91091 0 3 0x98 kqread sshd-session 91091 475202 58525 0 3 0x92 kqread sshd-session 57965 491176 1 0 3 0x100083 ttyin getty 58525 311275 1 0 3 0x88 kqread sshd 6285 297983 38697 73 3 0x1100090 kqread syslogd 38697 175745 1 0 3 0x100082 sbwait syslogd 72870 10180 1 0 3 0x100080 kqread resolvd 63550 125843 20411 77 3 0x100092 kqread dhcpleased 69142 345093 20411 77 3 0x100092 kqread dhcpleased 20411 268127 1 0 3 0x80 kqread dhcpleased 97101 83895 0 0 3 0x14200 bored smr 66935 427749 0 0 2 0x14200 zerothread 14404 330058 0 0 3 0x14200 aiodoned aiodoned 88768 421738 0 0 3 0x14200 syncer update 82283 194598 0 0 3 0x14200 cleaner cleaner 48169 4287 0 0 3 0x14200 reaper reaper 6278 292836 0 0 3 0x14200 pgdaemon pagedaemon 77623 52454 0 0 3 0x14200 bored viomb 72194 387163 0 0 3 0x40014200 acpi0 acpi0 72373 520189 0 0 3 0x14200 bored softnet0 2559 334467 0 0 3 0x14200 bored systqmp 36624 163352 0 0 3 0x14200 bored systq 10865 393149 0 0 3 0x40014200 tmoslp softclock 32107 154981 0 0 3 0x40014200 idle0 1 385455 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 10177 11130K 11518K 166960K 12585 0 pcb 17 12K 12K 166960K 128 0 rtable 192 7K 7K 166960K 475 0 pf 33 13K 16K 166960K 79 0 ifaddr 36 6K 7K 166960K 72 0 ifgroup 46 2K 2K 166960K 93 0 sysctl 4 1K 9K 166960K 12 0 counters 31 17K 18K 166960K 65 0 ioctlops 0 0K 4K 166960K 250 0 iov 1 2K 16K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1490 94K 95K 166960K 2027 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 14 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 747 0 sigio 0 0K 0K 166960K 12 0 proc 60 59K 108K 166960K 556 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 72 0 in_multi 74 5K 7K 166960K 143 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 432 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 233 136K 149K 166960K 8364 0 UVM aobj 16 2K 2K 166960K 17 0 pinsyscall 39 78K 94K 166960K 1856 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 53 0 NDP 10 0K 2K 166960K 47 0 temp 61 8644K 8712K 166960K 26755 0 kqueue 13 20K 28K 166960K 125 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 86 0 83 1 0 1 1 0 8 0 rtentry 136 140 0 60 4 0 4 4 0 8 0 unpcb 144 339 0 322 2 0 2 2 0 8 1 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpcb 736 148 0 141 2 1 1 2 0 8 0 arp 96 22 0 4 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 553 0 543 7 0 7 7 0 8 6 ip6q 72 8 0 6 2 1 1 1 0 8 0 ip6af 40 17 0 14 2 1 1 1 0 8 0 nd6 112 30 0 14 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 29 0 29 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 2 1 0 1 1 0 8 0 pfstate 384 5 0 2 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 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 642 0 299 31 2 29 31 0 8 6 art_table 40 643 0 299 5 0 5 5 0 8 0 art_node 32 140 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 3 2 1 1 1 0 8 0 semapl 112 11 0 5 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2715 0 1222 95 0 95 95 0 8 0 ffsino 256 2715 0 1222 95 0 95 95 0 8 0 nchpl 144 3813 0 2117 64 0 64 64 0 8 0 rtmask 32 9 0 9 1 0 1 1 0 8 1 vnodes 216 3241 0 0 181 0 181 181 0 8 0 namei 1024 12392 0 12392 1 0 1 1 0 8 1 kstatmem 264 56 0 36 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 11737 0 11737 10 2 8 8 1 8 8 plimitpl 152 120 0 104 1 0 1 1 0 8 0 sigapl 424 1036 0 992 7 1 6 6 0 8 0 knotepl 120 25998 0 25951 18 8 10 10 0 8 8 kqueuepl 184 215 0 203 1 0 1 1 0 8 0 pipepl 304 158 0 131 3 0 3 3 0 8 0 fdescpl 448 1021 0 991 5 1 4 5 0 8 0 filepl 120 5519 0 5298 11 0 11 11 0 8 3 lockfpl 104 320 0 315 2 1 1 2 0 8 0 lockfspl 48 151 0 147 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 104 832 0 821 1 0 1 1 0 8 0 zombiepl 144 1212 0 1211 1 0 1 1 0 8 0 processpl 1152 1036 0 992 4 0 4 4 0 8 0 procpl 664 1938 0 1885 6 1 5 6 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 552 1005 0 975 9 1 8 8 0 8 5 mcl64k 65536 200 0 200 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3275 0 3222 14 6 8 14 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1104 0 1097 2 0 2 2 0 8 0 mtagpl 96 13 0 12 2 1 1 1 0 8 0 mbufpl 256 10866 0 10688 18 1 17 17 0 8 1 bufpl 280 3627 0 123 251 0 251 251 0 8 0 anonpl 24 156560 0 152489 51 7 44 44 0 187 19 amapchunkpl 152 26794 0 26303 31 6 25 28 0 158 5 amappl16 200 2579 0 2487 18 7 11 15 0 8 6 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 6 0 5 2 1 1 1 0 8 0 amappl13 176 458 0 457 1 0 1 1 0 8 0 amappl12 168 1420 0 1381 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 50 0 40 1 0 1 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 99 0 98 1 0 1 1 0 8 0 amappl6 120 278 0 267 1 0 1 1 0 8 0 amappl5 112 77 0 69 1 0 1 1 0 8 0 amappl4 104 399 0 375 1 0 1 1 0 8 0 amappl3 96 4747 0 4654 3 0 3 3 0 8 0 amappl2 88 1157 0 1086 2 0 2 2 0 8 0 amappl1 80 12193 0 11647 14 1 13 13 0 8 0 amappl 88 7518 0 7352 5 0 5 5 0 92 1 uvmvnodes 80 3241 0 0 67 0 67 67 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 254 0 254 2 1 1 1 0 8 1 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 16 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1021 0 991 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1021 0 991 1 0 1 1 0 8 0 vmmpekpl 168 9231 0 9196 3 0 3 3 0 8 1 vmmpepl 168 71279 0 69375 90 1 89 89 0 357 6 vmsppl 368 1020 0 991 4 1 3 4 0 8 0 rwobjpl 40 23955 0 19795 43 0 43 43 0 8 0 pdppl 4096 2048 0 1982 106 40 66 82 0 8 0 pvpl 32 440226 0 431270 120 17 103 103 0 265 25 pmappl 216 1020 0 991 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 386 0 57 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c973a18,ffff80003c94de20,ffff80003c94dd70) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c94de20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94de20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1d5ec950190, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c973a18,ffff80003c94de20,ffff80003c94dd70) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c94de20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94de20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1d5ec950190, count: -3