kernel: protection fault trap, code=0 Stopped at sys_semop+0x45b: 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(ffff80003c937210,ffff80003c93da80,ffff80003c93d9d0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c93da80) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93da80) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe79876e5610, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c93d9a0 rbx 0 rdx 0 rcx 0 rax 0xdeafbeaddeafbead r8 0x7f7fffffc000 r9 0xfffffd807f7d78f0 r10 0xa60153d29c4e07b1 r11 0xc2eb337bd84331b6 r12 0xffff800001429d04 r13 0 r14 0xffff80003c93da80 r15 0 rip 0xffffffff81c308fb sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c93d880 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=101359 pid=31708 tcnt=3 stat=onproc flags process=1000 proc=4080000 runpri=17, usrpri=80, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c936020 scnt=2 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c936020,0xffff80003c937740 process=0xffff8000ffff6730 user=0xffff80003c938000, vmspace=0xfffffd806c2279e8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 23669 39653 24818 0 2 0 syz-executor 23669 166464 24818 0 2 0x4000000 syz-executor 31708 403910 56351 0 3 0x3000 suspend syz-executor *31708 101359 56351 0 7 0x4081000 syz-executor 31708 200424 56351 0 2 0x4081000 syz-executor 77014 415632 79368 0 2 0 syz-executor 77014 308475 79368 0 3 0x4000080 lockf syz-executor 22158 315359 1 0 3 0x80 nanoslp init 24818 238597 47434 0 3 0x82 nanoslp syz-executor 24520 7236 0 0 3 0x14200 bored sosplice 60120 436338 47434 0 2 0x2 syz-executor 56351 362444 47434 0 3 0x82 nanoslp syz-executor 2879 340446 47434 0 2 0x2 syz-executor 79368 81741 47434 0 3 0x82 nanoslp syz-executor 18354 262167 47434 0 3 0x82 wait syz-executor 51631 506877 47434 0 3 0x82 wait syz-executor 24153 349063 47434 0 2 0x2 syz-executor 47434 315201 37345 0 3 0x82 kqread syz-executor 37345 370234 77261 0 3 0x10008a sigsusp ksh 77261 283664 2174 0 3 0x98 kqread sshd-session 2174 518265 59145 0 3 0x92 kqread sshd-session 59145 359047 1 0 3 0x88 kqread sshd 33599 24526 22544 73 3 0x1100090 kqread syslogd 22544 389447 1 0 3 0x100082 sbwait syslogd 68304 297177 1 0 3 0x100080 kqread resolvd 15112 405163 3272 77 3 0x100092 kqread dhcpleased 36156 305295 3272 77 3 0x100092 kqread dhcpleased 3272 158304 1 0 3 0x80 kqread dhcpleased 39723 398142 0 0 3 0x14200 bored smr 39987 17318 0 0 2 0x14200 zerothread 40582 275707 0 0 3 0x14200 aiodoned aiodoned 31231 320160 0 0 3 0x14200 syncer update 47852 217141 0 0 3 0x14200 cleaner cleaner 81063 493834 0 0 3 0x14200 reaper reaper 2345 97289 0 0 3 0x14200 pgdaemon pagedaemon 59867 323077 0 0 3 0x14200 bored viomb 35552 170803 0 0 3 0x40014200 acpi0 acpi0 72592 94984 0 0 3 0x14200 bored softnet3 55547 53193 0 0 3 0x14200 bored softnet2 54408 40693 0 0 3 0x14200 bored softnet1 86391 312188 0 0 3 0x14200 bored softnet0 26747 260090 0 0 3 0x14200 bored systqmp 66781 401544 0 0 3 0x14200 bored systq 32295 87189 0 0 3 0x40014200 tmoslp softclock 77430 321833 0 0 3 0x40014200 idle0 1 223551 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 10204 11056K 12204K 166960K 13413 0 pcb 17 14K 16K 166960K 286 0 rtable 193 7K 8K 166960K 502 0 pf 33 13K 21K 166960K 121 0 ifaddr 38 6K 8K 166960K 95 0 ifgroup 52 2K 2K 166960K 157 0 sysctl 4 1K 1K 166960K 4 0 counters 31 17K 18K 166960K 83 0 ioctlops 1 2K 5K 166960K 349 0 iov 0 0K 17K 166960K 112 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1561 98K 98K 166960K 2473 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 37 0 dirhash 12 2K 3K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 106K 166960K 925 0 sigio 0 0K 0K 166960K 19 0 proc 51 50K 100K 166960K 589 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 268 0 in_multi 86 6K 7K 166960K 135 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 559 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 199 138K 159K 166960K 9687 0 UVM aobj 37 2K 2K 166960K 40 0 pinsyscall 35 70K 94K 166960K 1972 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 72 0 NDP 12 0K 1K 166960K 66 0 temp 78 8684K 8799K 166960K 29355 0 kqueue 14 22K 30K 166960K 182 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 164 0 160 3 0 3 3 0 8 2 rtentry 136 149 0 65 4 0 4 4 0 8 0 unpcb 144 646 0 631 4 0 4 4 0 8 3 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 808 179 0 175 2 0 2 2 0 8 1 arp 88 23 0 10 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 344 808 0 800 8 0 8 8 0 8 7 nd6 104 31 0 7 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 40 0 39 1 0 1 1 0 8 0 pppxif 1384 6 0 6 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfrule 1344 6 0 6 1 0 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 653 0 244 31 0 31 31 0 8 5 art_table 32 655 0 244 4 0 4 4 0 8 0 art_node 16 143 0 68 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 4 1 0 1 1 0 8 0 semapl 112 29 0 20 1 0 1 1 0 8 0 shmpl 112 37 0 3 2 0 2 2 0 8 1 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3116 0 1620 95 0 95 95 0 8 0 ffsino 248 3116 0 1620 95 0 95 95 0 8 0 nchpl 144 4382 0 2700 63 0 63 63 0 8 0 rtmask 32 5 0 5 1 0 1 1 0 8 1 uvmvnodes 80 3519 0 0 72 0 72 72 0 8 0 vnodes 216 3519 0 0 196 0 196 196 0 8 0 namei 1024 15419 0 15416 3 1 2 2 0 8 1 kstatmem 264 94 0 70 2 0 2 2 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 14290 0 14290 10 2 8 8 1 8 8 plimitpl 152 317 0 301 1 0 1 1 0 8 0 sigapl 424 1201 0 1156 7 1 6 7 0 8 0 futexpl 64 13260 0 13260 1 0 1 1 0 8 1 knotepl 120 33263 0 33207 10 0 10 10 0 8 8 kqueuepl 184 341 0 331 3 0 3 3 0 8 2 pipepl 296 170 0 142 3 0 3 3 0 8 0 fdescpl 440 1179 0 1152 5 0 5 5 0 8 1 filepl 120 7608 0 7392 11 0 11 11 0 8 3 lockfpl 104 324 0 319 1 0 1 1 0 8 0 lockfspl 48 110 0 106 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 1173 0 1161 1 0 1 1 0 8 0 zombiepl 144 1160 0 1156 1 0 1 1 0 8 0 processpl 1112 1201 0 1156 4 0 4 4 0 8 0 procpl 656 2374 0 2325 6 0 6 6 0 8 0 sockpl 528 1632 0 1606 8 0 8 8 0 8 6 mcl64k 65536 14 0 13 1 0 1 1 0 8 0 mcl8k 8192 77 0 77 2 1 1 1 0 8 1 mcl4k 4096 3446 0 3390 14 6 8 14 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1051 0 1047 2 0 2 2 0 8 1 mtagpl 96 229 0 28 6 0 6 6 0 8 0 mbufpl 256 13932 0 13582 33 0 33 33 0 8 7 bufpl 280 4799 0 121 335 0 335 335 0 8 0 anonpl 24 168100 0 165191 44 0 44 44 0 187 21 amapchunkpl 152 32528 0 32120 33 0 33 33 0 158 13 amappl16 200 2953 0 2923 22 12 10 15 0 8 8 amappl15 192 8 0 8 2 1 1 1 0 8 1 amappl14 184 107 0 98 1 0 1 1 0 8 0 amappl13 176 100 0 100 2 1 1 1 0 8 1 amappl12 168 1802 0 1776 3 1 2 3 0 8 0 amappl11 160 65 0 54 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 96 0 86 1 0 1 1 0 8 0 amappl6 120 187 0 184 1 0 1 1 0 8 0 amappl5 112 118 0 111 1 0 1 1 0 8 0 amappl4 104 311 0 295 1 0 1 1 0 8 0 amappl3 96 6369 0 6277 4 0 4 4 0 8 0 amappl2 88 631 0 576 2 0 2 2 0 8 0 amappl1 80 11175 0 10658 13 0 13 13 0 8 0 amappl 88 8856 0 8715 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 254 0 254 2 1 1 1 0 8 1 dma64 64 9 0 9 2 1 1 1 0 8 1 dma32 32 8 0 8 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 39 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1179 0 1152 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1179 0 1152 1 0 1 1 0 8 0 vmmpekpl 168 10438 0 10396 3 0 3 3 0 8 0 vmmpepl 168 77563 0 75860 95 1 94 94 0 357 10 vmsppl 360 1178 0 1152 4 1 3 4 0 8 0 rwobjpl 32 24578 0 20234 38 0 38 38 0 8 2 pdppl 4096 2364 0 2304 116 52 64 82 0 8 4 pvpl 32 485191 0 477687 104 0 104 104 0 265 25 pmappl 216 1178 0 1152 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 311 0 63 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c937210,ffff80003c93da80,ffff80003c93d9d0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c93da80) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93da80) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe79876e5610, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c937210,ffff80003c93da80,ffff80003c93d9d0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c93da80) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93da80) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe79876e5610, count: -3