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(ffff80002a84afc8,ffff80003c90b760,ffff80003c90b6b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c90b760) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c90b760) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6876aad9b60, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c90b690 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0x65394b979176c160 r11 0xb8cfe605d6f94403 r12 0 r13 0xfffffd807814a930 r14 0xffff80003c90b760 r15 0 rip 0xffffffff82402495 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c90b5a0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=176079 pid=4884 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=81, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a84a038,0xffff80002a84b270 process=0xffff80002a7be890 user=0xffff80003c906000, vmspace=0xfffffd806cce1740 estcpu=31, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 48471 294376 84575 0 2 0 syz-executor 48471 77701 84575 0 3 0x4000080 fsleep syz-executor 31610 304355 77264 0 2 0 syz-executor 31610 314960 77264 0 2 0x4000000 syz-executor 4884 175084 97083 0 2 0 syz-executor 4884 444372 97083 0 3 0x4000080 fsleep syz-executor * 4884 176079 97083 0 7 0x4000000 syz-executor 26501 316290 14146 0 2 0 syz-executor 26501 359936 14146 0 3 0x4000080 fsleep syz-executor 26501 429931 14146 0 2 0x4000000 syz-executor 65624 238789 74000 60929 2 0x10 syz-executor 65624 181514 74000 60929 2 0x4000010 syz-executor 65624 278231 74000 60929 3 0x4000090 fsleep syz-executor 65624 49121 74000 60929 3 0x4000090 fsleep syz-executor 10343 109913 16034 0 2 0 syz-executor 10343 258025 16034 0 2 0x4000000 syz-executor 97083 225024 39122 0 3 0x82 nanoslp syz-executor 16034 494243 39122 0 3 0x82 nanoslp syz-executor 74000 190608 39122 0 3 0x82 nanoslp syz-executor 77264 193179 39122 0 3 0x82 nanoslp syz-executor 6917 367328 39122 0 2 0x2 syz-executor 38833 445655 39122 0 2 0x2 syz-executor 84575 127622 39122 0 3 0x82 nanoslp syz-executor 14146 173665 39122 0 3 0x82 nanoslp syz-executor 39122 171766 66580 0 3 0x82 kqread syz-executor 66580 171406 65176 0 3 0x10008a sigsusp ksh 65176 394150 31510 0 3 0x98 kqread sshd-session 31510 117545 93799 0 3 0x92 kqread sshd-session 28190 107604 1 0 3 0x100083 ttyin getty 93799 146832 1 0 3 0x88 kqread sshd 48121 440441 76552 73 3 0x1100090 kqread syslogd 76552 441513 1 0 3 0x100082 sbwait syslogd 55070 482976 1 0 3 0x100080 kqread resolvd 68006 65092 9850 77 3 0x100092 kqread dhcpleased 13166 250631 9850 77 3 0x100092 kqread dhcpleased 9850 301290 1 0 3 0x80 kqread dhcpleased 10329 486170 0 0 3 0x14200 bored smr 57390 321087 0 0 2 0x14200 zerothread 92842 275924 0 0 3 0x14200 aiodoned aiodoned 67843 118144 0 0 3 0x14200 syncer update 56010 277972 0 0 3 0x14200 cleaner cleaner 20637 196144 0 0 3 0x14200 reaper reaper 98077 494745 0 0 3 0x14200 pgdaemon pagedaemon 66745 390193 0 0 3 0x14200 bored viomb 71434 255854 0 0 3 0x40014200 acpi0 acpi0 41650 264523 0 0 3 0x14200 bored softnet0 60785 315545 0 0 3 0x14200 bored systqmp 44568 270756 0 0 3 0x14200 bored systq 21952 190968 0 0 3 0x40014200 tmoslp softclock 59510 470182 0 0 3 0x40014200 idle0 1 55798 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 11069 12114K 12703K 166960K 13612 0 pcb 17 15K 17K 166960K 325 0 rtable 232 11K 12K 166960K 625 0 pf 34 13K 16K 166960K 128 0 ifaddr 38 6K 8K 166960K 99 0 ifgroup 48 2K 2K 166960K 152 0 sysctl 4 1K 9K 166960K 12 0 counters 34 17K 18K 166960K 88 0 ioctlops 0 0K 4K 166960K 223 0 iov 0 0K 24K 166960K 38 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1444 91K 92K 166960K 2340 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 63 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 89K 166960K 795 0 sigio 0 0K 0K 166960K 17 0 proc 60 59K 83K 166960K 640 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 56 0 in_multi 86 6K 7K 166960K 159 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 520 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 213 150K 166K 166960K 8709 0 UVM aobj 34 10K 10K 166960K 39 0 pinsyscall 37 74K 93K 166960K 1948 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 24 0 NDP 11 0K 2K 166960K 69 0 temp 78 9076K 9142K 166960K 22777 0 kqueue 14 22K 30K 166960K 151 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 262 0 259 3 2 1 3 0 8 0 rtentry 136 154 0 66 4 0 4 4 0 8 0 unpcb 144 523 0 508 6 5 1 6 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 167 0 160 2 0 2 2 0 8 1 arp 96 24 0 10 1 0 1 1 0 8 0 ipq 40 4 0 2 1 0 1 1 0 8 0 ipqe 40 10 0 8 1 0 1 1 0 8 0 inpcb 328 813 0 802 9 5 4 7 0 8 2 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 37 0 14 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 45 0 43 1 0 1 1 0 8 0 pppxif 1384 5 0 5 1 1 0 1 0 8 0 pfstscr 40 2 0 2 2 1 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 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfsrclim 320 1 0 0 1 0 1 1 0 8 0 pfstlim 224 1 0 0 1 0 1 1 0 8 0 pfstitem 24 5 0 0 1 0 1 1 0 8 0 pfstkey 128 9 0 5 1 0 1 1 0 8 0 pfstate 384 5 0 2 1 0 1 1 0 8 0 pfrule 1360 6 0 6 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 663 0 263 32 2 30 32 0 8 2 art_table 40 666 0 263 6 0 6 6 0 8 0 art_node 32 152 0 74 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 6 1 0 1 1 0 8 0 semapl 112 55 0 46 1 0 1 1 0 8 0 shmpl 112 32 0 4 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2941 0 1492 92 0 92 92 0 8 0 ffsino 256 2942 0 1492 92 0 92 92 0 8 0 nchpl 144 4020 0 2324 64 0 64 64 0 8 0 rtmask 32 10 0 9 1 0 1 1 0 8 0 vnodes 216 3576 0 0 199 0 199 199 0 8 0 namei 1024 15134 0 15131 3 2 1 2 0 8 0 vcpupl 3904 4 0 1 2 1 1 1 0 8 0 vmpool 808 4 0 1 2 1 1 1 0 8 0 kstatmem 264 98 0 76 2 0 2 2 0 8 0 scsiplug 72 6 0 6 2 1 1 1 0 8 1 scxspl 216 14115 0 14115 9 7 2 8 1 8 2 plimitpl 152 331 0 314 1 0 1 1 0 8 0 sigapl 424 1107 0 1066 8 3 5 8 0 8 0 knotepl 120 30221 0 30173 30 19 11 17 0 8 8 kqueuepl 184 222 0 211 1 0 1 1 0 8 0 pipepl 304 221 0 194 5 2 3 5 0 8 0 fdescpl 448 1073 0 1045 5 1 4 5 0 8 0 filepl 120 7527 0 7314 13 5 8 13 0 8 0 lockfpl 104 226 0 223 1 0 1 1 0 8 0 lockfspl 48 102 0 99 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 47 0 31 1 0 1 1 0 8 0 ucredpl 104 1412 0 1400 1 0 1 1 0 8 0 zombiepl 144 1182 0 1182 1 0 1 1 0 8 1 processpl 1152 1107 0 1066 5 1 4 5 0 8 0 procpl 664 2132 0 2081 8 2 6 7 0 8 1 sosppl 176 3 0 3 1 1 0 1 0 8 0 sockpl 552 1657 0 1627 13 8 5 12 0 8 1 mcl64k 65536 102 0 101 1 0 1 1 0 8 0 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 12 0 12 1 1 0 1 0 8 0 mcl4k 4096 3316 0 3266 16 8 8 15 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 732 0 727 2 0 2 2 0 8 1 mtagpl 96 11 0 6 1 0 1 1 0 8 0 mbufpl 256 20567 0 20400 431 412 19 426 0 8 1 bufpl 280 4537 0 109 317 0 317 317 0 8 0 anonpl 24 160458 0 157396 45 10 35 45 0 187 0 amapchunkpl 152 28820 0 28388 38 9 29 33 0 158 8 amappl16 200 2499 0 2469 18 14 4 15 0 8 1 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 438 0 437 1 0 1 1 0 8 0 amappl13 176 149 0 139 1 0 1 1 0 8 0 amappl12 168 1319 0 1292 2 0 2 2 0 8 0 amappl11 160 9 0 8 1 0 1 1 0 8 0 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 261 0 260 1 0 1 1 0 8 0 amappl8 136 103 0 102 1 0 1 1 0 8 0 amappl7 128 47 0 45 1 0 1 1 0 8 0 amappl6 120 279 0 267 1 0 1 1 0 8 0 amappl5 112 81 0 74 1 0 1 1 0 8 0 amappl4 104 545 0 510 2 1 1 2 0 8 0 amappl3 96 4903 0 4824 3 0 3 3 0 8 0 amappl2 88 1159 0 1098 2 0 2 2 0 8 0 amappl1 80 12226 0 11691 13 0 13 13 0 8 0 amappl 88 7859 0 7711 5 0 5 5 0 92 0 uvmvnodes 80 116 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 0 1 1 0 8 1 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 38 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1073 0 1045 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1073 0 1045 1 0 1 1 0 8 0 vmmpekpl 168 10134 0 10087 3 0 3 3 0 8 0 vmmpepl 168 73474 0 71738 94 12 82 93 0 357 1 vmsppl 368 1072 0 1045 4 1 3 4 0 8 0 rwobjpl 40 21094 0 20116 13 0 13 13 0 8 0 pdppl 4096 2160 0 2095 100 31 69 78 0 8 4 pvpl 32 461615 0 453494 128 22 106 128 0 265 8 pmappl 216 1076 0 1046 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 797 0 463 22 6 16 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a84afc8,ffff80003c90b760,ffff80003c90b6b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c90b760) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c90b760) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6876aad9b60, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a84afc8,ffff80003c90b760,ffff80003c90b6b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c90b760) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c90b760) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6876aad9b60, count: -3