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(ffff80003a8e7780,ffff80003cb61510,ffff80003cb61460) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003cb61510) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003cb61510) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8904c0d2f60, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003cb61440 rbx 0xdeaf4152deaf4152 rdx 0 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0xd92c7fa09bc63f31 r11 0x8dd83c732c2b18ad r12 0 r13 0xfffffd807a447c40 r14 0xffff80003cb61510 r15 0 rip 0xffffffff8265cd45 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003cb61350 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=318620 pid=82659 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=57, usrpri=57, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800031cc1a08,0xffff80003a8e74f8 process=0xffff8000ffffba98 user=0xffff80003cb5c000, vmspace=0xfffffd806cd09e70 estcpu=7, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 74586 5807 92969 0 2 0 syz-executor 74586 310816 92969 0 3 0x4000080 fsleep syz-executor 82659 224908 86487 0 2 0 syz-executor *82659 318620 86487 0 7 0x4000000 syz-executor 82659 166807 86487 0 3 0x4000080 fsleep syz-executor 37796 184221 0 0 3 0x14200 acct acct 79999 455120 16498 0 3 0x80 nanoslp syz-executor 79999 520970 16498 0 3 0x4000080 fsleep syz-executor 79999 487101 16498 0 3 0x4000080 fsleep syz-executor 79999 343243 16498 0 2 0x4000000 syz-executor 23173 197155 99007 0 2 0 syz-executor 23173 215192 99007 0 3 0x4000080 fifor syz-executor 23173 342550 99007 0 2 0x4000000 syz-executor 23173 342181 99007 0 3 0x4000080 fsleep syz-executor 38603 306719 12361 0 3 0x80 nanoslp syz-executor 38603 520836 12361 0 3 0x4000080 kqread syz-executor 38603 21280 12361 0 3 0x4000080 fsleep syz-executor 16498 368358 87196 0 3 0x82 nanoslp syz-executor 12361 307571 87196 0 3 0x82 nanoslp syz-executor 86487 112611 87196 0 3 0x82 nanoslp syz-executor 68741 412858 87196 0 2 0x2 syz-executor 92969 190362 87196 0 3 0x82 nanoslp syz-executor 86049 425320 87196 0 3 0x82 nanoslp syz-executor 40917 205884 87196 0 2 0x2 syz-executor 99007 52849 87196 0 3 0x82 nanoslp syz-executor 87196 59446 27511 0 3 0x82 kqread syz-executor 27511 46125 14869 0 3 0x10008a sigsusp ksh 14869 275786 24821 0 3 0x98 kqread sshd-session 24821 11844 26637 0 3 0x92 kqread sshd-session 49916 340228 1 0 3 0x100083 ttyin getty 26637 129212 1 0 3 0x88 kqread sshd 22109 315565 95476 73 3 0x1100090 kqread syslogd 95476 370687 1 0 3 0x100082 sbwait syslogd 49553 57838 1 0 3 0x100080 kqread resolvd 49295 231115 71133 77 3 0x100092 kqread dhcpleased 37060 342548 71133 77 3 0x100092 kqread dhcpleased 71133 489945 1 0 3 0x80 kqread dhcpleased 22463 308131 0 0 3 0x14200 bored smr 15024 251838 0 0 2 0x14200 zerothread 38421 287435 0 0 3 0x14200 aiodoned aiodoned 65041 23047 0 0 3 0x14200 syncer update 72708 40131 0 0 3 0x14200 cleaner cleaner 9826 305408 0 0 3 0x14200 reaper reaper 89767 170907 0 0 3 0x14200 pgdaemon pagedaemon 12144 370766 0 0 3 0x14200 bored viomb 71293 98134 0 0 3 0x40014200 acpi0 acpi0 79190 478701 0 0 2 0x14200 softnet0 58996 384894 0 0 3 0x14200 bored systqmp 46581 168225 0 0 3 0x14200 syncxs systq 34555 349180 0 0 3 0x40014200 tmoslp softclock 13860 343110 0 0 3 0x40014200 idle0 1 124871 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 11037 12104K 12302K 166960K 12166 0 pcb 18 12K 12K 166960K 34 0 rtable 247 7K 7K 166960K 374 0 pf 30 12K 13K 166960K 32 0 ifaddr 42 7K 7K 166960K 45 0 ifgroup 50 2K 2K 166960K 52 0 sysctl 1 1K 9K 166960K 6 0 counters 33 17K 17K 166960K 34 0 ioctlops 0 0K 4K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1302 82K 82K 166960K 1386 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 167 0 proc 59 59K 116K 166960K 500 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 3 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 362 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 219 150K 160K 166960K 3253 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 37 74K 94K 166960K 1248 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 12 0K 2K 166960K 28 0 temp 38 9062K 9126K 166960K 3927 0 kqueue 14 22K 28K 166960K 28 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 vscsiccb 40 1 0 0 1 0 1 1 0 8 0 rtpcb 120 39 0 36 1 0 1 1 0 8 0 rtentry 136 113 0 1 4 0 4 4 0 8 0 unpcb 144 57 0 40 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 18 0 13 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 94 0 83 2 0 2 2 0 8 0 nd6 112 25 0 0 1 0 1 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 pfrule 1360 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 455 0 0 29 0 29 29 0 8 0 art_table 40 457 0 0 5 0 5 5 0 8 0 art_node 32 113 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semapl 112 3 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1619 0 156 92 0 92 92 0 8 0 ffsino 256 1619 0 156 92 0 92 92 0 8 0 nchpl 144 1852 0 160 64 1 63 64 0 8 0 vnodes 216 1719 0 0 96 0 96 96 0 8 0 namei 1024 5550 0 5547 3 2 1 2 0 8 0 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 6212 0 6211 2 1 1 2 1 8 0 plimitpl 152 36 0 19 1 0 1 1 0 8 0 sigapl 424 458 0 416 6 1 5 6 0 8 0 knotepl 120 3915 0 3866 2 0 2 2 0 8 0 kqueuepl 184 28 0 17 1 0 1 1 0 8 0 pipepl 304 184 0 95 8 0 8 8 0 8 0 fdescpl 448 444 0 416 5 1 4 5 0 8 0 filepl 120 1942 0 1533 14 0 14 14 0 8 0 lockfpl 104 20 0 17 1 0 1 1 0 8 0 lockfspl 48 11 0 8 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 131 0 120 1 0 1 1 0 8 0 zombiepl 144 423 0 422 1 0 1 1 0 8 0 processpl 1152 458 0 416 4 0 4 4 0 8 0 procpl 664 513 0 460 6 0 6 6 0 8 0 sockpl 552 190 0 159 4 0 4 4 0 8 1 mcl64k 65536 3 0 2 1 0 1 1 0 8 0 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2500 0 2445 15 7 8 15 0 8 0 mcl2k 2048 217 0 217 1 0 1 1 0 8 1 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 5396 0 5251 10 0 10 10 0 8 0 bufpl 280 2333 0 102 160 0 160 160 0 8 0 anonpl 24 100764 0 97731 23 2 21 23 0 187 0 amapchunkpl 152 9159 0 8698 23 2 21 21 0 158 0 amappl16 200 1920 0 1900 5 2 3 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 426 0 425 1 0 1 1 0 8 0 amappl13 176 111 0 101 1 0 1 1 0 8 0 amappl12 168 681 0 654 2 0 2 2 0 8 0 amappl11 160 15 0 15 1 1 0 1 0 8 0 amappl10 152 118 0 108 1 0 1 1 0 8 0 amappl9 144 253 0 252 1 0 1 1 0 8 0 amappl8 136 107 0 106 1 0 1 1 0 8 0 amappl7 128 138 0 126 1 0 1 1 0 8 0 amappl6 120 148 0 147 1 0 1 1 0 8 0 amappl5 112 93 0 86 1 0 1 1 0 8 0 amappl4 104 252 0 238 1 0 1 1 0 8 0 amappl3 96 1581 0 1478 3 0 3 3 0 8 0 amappl2 88 498 0 446 2 0 2 2 0 8 0 amappl1 80 9083 0 8537 13 0 13 13 0 8 1 amappl 88 2568 0 2411 4 0 4 4 0 92 0 uvmvnodes 80 96 0 0 2 0 2 2 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 444 0 416 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 444 0 416 1 0 1 1 0 8 0 vmmpekpl 168 5417 0 5380 2 0 2 2 0 8 0 vmmpepl 168 36508 0 34792 80 0 80 80 0 357 0 vmsppl 368 443 0 416 4 1 3 4 0 8 0 rwobjpl 40 13630 0 12705 11 1 10 11 0 8 0 pdppl 4096 894 0 832 96 30 66 80 0 8 4 pvpl 32 223873 0 215667 80 0 80 80 0 265 3 pmappl 216 443 0 416 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 360 0 45 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003a8e7780,ffff80003cb61510,ffff80003cb61460) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003cb61510) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003cb61510) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8904c0d2f60, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003a8e7780,ffff80003cb61510,ffff80003cb61460) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003cb61510) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003cb61510) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8904c0d2f60, count: -3