kernel: protection fault trap, code=0 Stopped at sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80003a537c68,ffff80002a828f90,ffff80002a828ee0) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff80002a828f90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a828f90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x615d875c050, count: -3 ddb> show registers rdi 0 rsi 0x7ff rbp 0xffff80002a828eb0 rbx 0 rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x7d801422cb2485a2 r11 0x2b69745f43935986 r12 0xffff800001629404 r13 0x7ff r14 0xffff80002a828f90 r15 0x7ff rip 0xffffffff815604be sys_semop+0x3ae cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a828d90 ss 0x10 sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb> show proc PROC (syz-executor) tid=314326 pid=53063 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=0xffff80003a5362c8,0xffffffff83895000 process=0xffff800035d148e8 user=0xffff80002a824000, vmspace=0xfffffd806acb3888 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 53063 120156 57343 0 2 0 syz-executor 53063 86952 57343 0 3 0x4000080 fsleep syz-executor *53063 314326 57343 0 7 0x4000000 syz-executor 53599 374555 80383 0 2 0 syz-executor 53599 413585 80383 0 3 0x4000080 fsleep syz-executor 91762 426851 84143 0 2 0 syz-executor 91762 70809 84143 0 3 0x4000080 fsleep syz-executor 34715 392949 32848 0 2 0 syz-executor 34715 273973 32848 0 3 0x4000080 kqpoll syz-executor 83632 395736 0 0 3 0x14200 acct acct 12173 45904 71852 0 2 0x100002 ndp 71852 53868 68561 0 3 0x10008a sigsusp sh 68561 25447 46063 0 3 0x82 wait syz-executor 4032 223151 46063 0 2 0x2 syz-executor 64431 430581 0 0 3 0x14280 nfsidl nfsio 21458 258290 0 0 3 0x14280 nfsidl nfsio 60699 37245 0 0 3 0x14280 nfsidl nfsio 87180 519922 0 0 3 0x14280 nfsidl nfsio 46970 103036 0 0 3 0x14280 nfsidl nfsio 18229 358989 0 0 3 0x14280 nfsidl nfsio 96242 514298 0 0 3 0x14280 nfsidl nfsio 91634 384970 0 0 3 0x14280 nfsidl nfsio 21573 351131 0 0 3 0x14280 nfsidl nfsio 70258 119179 0 0 3 0x14280 nfsidl nfsio 40835 431436 0 0 3 0x14280 nfsidl nfsio 54433 164200 0 0 3 0x14280 nfsidl nfsio 41520 230461 0 0 3 0x14280 nfsidl nfsio 38251 500449 0 0 3 0x14280 nfsidl nfsio 89101 197771 0 0 3 0x14280 nfsidl nfsio 31245 13145 0 0 3 0x14280 nfsidl nfsio 43153 64969 0 0 3 0x14280 nfsidl nfsio 35191 282452 0 0 3 0x14280 nfsidl nfsio 16768 319065 0 0 3 0x14280 nfsidl nfsio 71089 468103 0 0 3 0x14280 nfsidl nfsio 29363 372011 0 0 3 0x14200 bored sosplice 32848 165909 46063 0 3 0x82 nanoslp syz-executor 29356 4863 46063 0 3 0x82 nanoslp syz-executor 84143 208256 46063 0 3 0x82 nanoslp syz-executor 57343 238269 46063 0 3 0x82 nanoslp syz-executor 53215 144587 46063 0 2 0x2 syz-executor 80383 288193 46063 0 3 0x82 nanoslp syz-executor 46063 196270 9768 0 2 0x2 syz-executor 9768 151645 98658 0 3 0x10008a sigsusp ksh 98658 34035 47321 0 3 0x98 kqread sshd-session 47321 399263 83158 0 3 0x92 kqread sshd-session 59334 421236 1 0 3 0x100083 ttyin getty 83158 207331 1 0 3 0x88 kqread sshd 60711 486243 59761 73 3 0x1100090 kqread syslogd 59761 265333 1 0 3 0x100082 sbwait syslogd 29740 392574 1 0 3 0x100080 kqread resolvd 8950 344606 86832 77 3 0x100092 kqread dhcpleased 19587 64017 86832 77 3 0x100092 kqread dhcpleased 86832 431707 1 0 3 0x80 kqread dhcpleased 72852 24050 0 0 3 0x14200 bored smr 19613 491130 0 0 2 0x14200 zerothread 56815 459262 0 0 3 0x14200 aiodoned aiodoned 34365 860 0 0 3 0x14200 syncer update 38235 389911 0 0 3 0x14200 cleaner cleaner 60749 221836 0 0 3 0x14200 reaper reaper 13587 439313 0 0 3 0x14200 pgdaemon pagedaemon 87003 507444 0 0 3 0x14200 bored viomb 22116 446864 0 0 3 0x40014200 acpi0 acpi0 36851 84481 0 0 3 0x14200 bored softnet3 10673 99156 0 0 3 0x14200 bored softnet2 70631 454975 0 0 3 0x14200 bored softnet1 96925 177392 0 0 3 0x14200 bored softnet0 26381 472682 0 0 3 0x14200 bored systqmp 32249 64513 0 0 3 0x14200 bored systq 61137 483388 0 0 3 0x40014200 tmoslp softclock 14376 418895 0 0 3 0x40014200 idle0 1 349963 0 0 3 0x80082 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 10178 11038K 12232K 166960K 13673 0 pcb 17 14K 16K 166960K 424 0 rtable 213 7K 8K 166960K 584 0 pf 29 12K 20K 166960K 88 0 ifaddr 38 7K 8K 166960K 83 0 ifgroup 46 2K 2K 166960K 123 0 sysctl 4 1K 9K 166960K 11 0 counters 30 17K 18K 166960K 60 0 ioctlops 0 0K 4K 166960K 185 0 iov 0 0K 16K 166960K 51 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1560 98K 98K 166960K 2665 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 22 6K 8K 166960K 35 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 97K 166960K 952 0 sigio 0 0K 0K 166960K 18 0 proc 60 59K 124K 166960K 608 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 112 0 in_multi 88 6K 7K 166960K 156 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 611 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 222 153K 168K 166960K 10077 0 UVM aobj 23 2K 2K 166960K 24 0 pinsyscall 41 82K 96K 166960K 2041 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 41 0 NDP 12 0K 2K 166960K 53 0 temp 59 8663K 8737K 166960K 18353 0 kqueue 13 20K 28K 166960K 166 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 174 0 170 3 2 1 3 0 8 0 rtentry 136 166 0 70 4 0 4 4 0 8 0 unpcb 144 819 0 804 6 5 1 6 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 5 0 5 1 0 1 1 0 8 1 tcpcb 808 352 0 346 15 7 8 8 0 8 7 arp 88 28 0 11 1 0 1 1 0 8 0 ipq 40 3 0 2 1 0 1 1 0 8 0 ipqe 40 8 0 6 1 0 1 1 0 8 0 inpcb 344 1163 0 1150 20 12 8 13 0 8 6 nd6 104 38 0 18 1 0 1 1 0 8 0 pkpcb 40 45 0 45 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 17 0 17 2 1 1 1 0 8 1 pppxif 1384 7 0 7 2 1 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 4 0 4 2 1 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 617 0 215 29 1 28 29 0 8 2 art_table 32 619 0 215 4 0 4 4 0 8 0 art_node 16 160 0 75 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 15 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 24 0 5 1 0 1 1 0 8 0 shmpl 112 21 0 1 1 0 1 1 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3074 0 1579 95 0 95 95 0 8 0 ffsino 248 3074 0 1579 95 0 95 95 0 8 0 nchpl 144 4417 0 2738 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 4146 0 0 85 0 85 85 0 8 0 vnodes 216 4146 0 0 231 0 231 231 0 8 0 namei 1024 16710 0 16710 3 2 1 2 0 8 1 kstatmem 264 64 0 44 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 13450 0 13450 11 3 8 8 1 8 8 plimitpl 152 279 0 262 1 0 1 1 0 8 0 sigapl 424 1252 0 1183 8 0 8 8 0 8 0 knotepl 120 39641 0 39594 23 13 10 15 0 8 8 kqueuepl 184 391 0 380 6 3 3 4 0 8 2 pipepl 296 197 0 170 3 0 3 3 0 8 0 fdescpl 440 1213 0 1182 5 1 4 5 0 8 0 filepl 120 7914 0 7702 15 5 10 13 0 8 1 lockfpl 104 265 0 261 2 0 2 2 0 8 1 lockfspl 48 117 0 114 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 70 0 54 1 0 1 1 0 8 0 ucredpl 104 1141 0 1129 1 0 1 1 0 8 0 zombiepl 144 1456 0 1453 1 0 1 1 0 8 0 processpl 1128 1252 0 1183 5 0 5 5 0 8 0 procpl 656 2556 0 2479 8 0 8 8 0 8 0 sosppl 168 6 0 6 2 1 1 1 0 8 1 sockpl 528 2219 0 2188 16 9 7 11 0 8 4 mcl64k 65536 90 0 90 2 1 1 1 0 8 1 mcl16k 16384 9 0 9 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 2 1 1 1 0 8 1 mcl4k 4096 3580 0 3530 14 6 8 13 0 8 1 mcl2k2 2112 2 0 2 2 1 1 1 0 8 1 mcl2k 2048 1222 0 1217 4 1 3 3 0 8 2 mtagpl 96 79 0 63 2 0 2 2 0 8 0 mbufpl 256 14078 0 13906 25 6 19 19 0 8 4 bufpl 280 5919 0 131 414 0 414 414 0 8 0 anonpl 24 204628 0 201355 66 21 45 45 0 187 15 amapchunkpl 152 33717 0 33269 43 15 28 36 0 158 7 amappl16 200 4124 0 4095 29 16 13 15 0 8 8 amappl15 192 33 0 33 1 1 0 1 0 8 0 amappl14 184 111 0 100 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1858 0 1828 3 1 2 3 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 239 0 239 1 1 0 1 0 8 0 amappl8 136 32 0 30 1 0 1 1 0 8 0 amappl7 128 121 0 110 1 0 1 1 0 8 0 amappl6 120 201 0 197 1 0 1 1 0 8 0 amappl5 112 129 0 122 1 0 1 1 0 8 0 amappl4 104 308 0 292 1 0 1 1 0 8 0 amappl3 96 6572 0 6470 5 1 4 4 0 8 0 amappl2 88 653 0 595 2 0 2 2 0 8 0 amappl1 80 11543 0 10974 13 0 13 13 0 8 0 amappl 88 9209 0 9056 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 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 23 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1212 0 1182 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1212 0 1182 1 0 1 1 0 8 0 vmmpekpl 168 10710 0 10670 3 0 3 3 0 8 0 vmmpepl 168 81540 0 79713 101 6 95 95 0 357 7 vmsppl 360 1212 0 1182 4 1 3 4 0 8 0 rwobjpl 32 27086 0 22039 42 0 42 42 0 8 0 pdppl 4096 2431 0 2364 111 42 69 83 0 8 2 pvpl 32 543670 0 535008 160 44 116 125 0 265 26 pmappl 216 1211 0 1182 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 311 0 71 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003a537c68,ffff80002a828f90,ffff80002a828ee0) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff80002a828f90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a828f90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x615d875c050, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003a537c68,ffff80002a828f90,ffff80002a828ee0) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff80002a828f90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a828f90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x615d875c050, count: -3