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(ffff80003c91b248,ffff8000318d7600,ffff8000318d7550) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff8000318d7600) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000318d7600) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x28646417fa0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000318d7530 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0x69e233f7803a33bf r11 0xf2e030694c08d189 r12 0 r13 0xfffffd806de36cb0 r14 0xffff8000318d7600 r15 0 rip 0xffffffff82402495 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000318d7440 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=223526 pid=97361 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c91afb0,0xffff80003c91bcb8 process=0xffff8000ffffa898 user=0xffff8000318d2000, vmspace=0xfffffd806cb51b98 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 8707 517197 21954 0 2 0 syz-executor 8707 277221 21954 0 2 0x4000000 syz-executor 8707 188251 21954 0 3 0x4000080 fsleep syz-executor 10511 129256 68770 0 2 0 syz-executor 10511 358019 68770 0 3 0x4000080 fsleep syz-executor 10511 10605 68770 0 2 0x4000000 syz-executor 97361 362844 41192 0 2 0 syz-executor 97361 360754 41192 0 3 0x4000080 fsleep syz-executor *97361 223526 41192 0 7 0x4000000 syz-executor 93663 348122 9548 0 3 0x80 nanoslp syz-executor 93663 281385 9548 0 3 0x4000080 fsleep syz-executor 93663 31322 9548 0 2 0x4000000 syz-executor 64354 350616 9546 0 3 0 vmmaplk syz-executor 64354 498162 9546 0 3 0x4000080 kqread syz-executor 64354 276827 9546 0 2 0x4000000 syz-executor 56971 359712 59268 0 2 0 syz-executor 56971 292559 59268 0 2 0x4000000 syz-executor 56971 304766 59268 0 3 0x4000080 fsleep syz-executor 56971 138640 59268 0 3 0x4000080 fsleep syz-executor 76316 244970 16693 0 2 0 syz-executor 76316 88084 16693 0 3 0x4000080 kqsel syz-executor 76316 222946 16693 0 3 0x4000080 fsleep syz-executor 76316 2078 16693 0 2 0x4000000 syz-executor 3114 239778 0 0 3 0x14200 acct acct 41192 453322 78685 0 3 0x82 nanoslp syz-executor 59268 251638 78685 0 3 0x82 nanoslp syz-executor 9546 377263 78685 0 3 0x82 nanoslp syz-executor 63766 108351 78685 0 3 0x82 nanoslp syz-executor 9548 403519 78685 0 3 0x82 nanoslp syz-executor 21954 250894 78685 0 3 0x82 nanoslp syz-executor 16693 31145 78685 0 3 0x82 nanoslp syz-executor 68770 459793 78685 0 3 0x82 nanoslp syz-executor 78685 297608 86900 0 3 0x82 kqread syz-executor 86900 377708 91127 0 3 0x10008a sigsusp ksh 91127 227628 48049 0 3 0x98 kqread sshd-session 48049 361429 37048 0 3 0x92 kqread sshd-session 7796 201639 1 0 3 0x100083 ttyopn getty 37048 462779 1 0 3 0x88 kqread sshd 7807 361466 1423 73 3 0x1100090 kqread syslogd 1423 142111 1 0 3 0x100082 sbwait syslogd 82173 323002 1 0 3 0x100080 kqread resolvd 37684 289096 46260 77 3 0x100092 kqread dhcpleased 53047 441917 46260 77 3 0x100092 kqread dhcpleased 46260 170546 1 0 3 0x80 kqread dhcpleased 58853 343105 0 0 3 0x14200 bored smr 57446 303600 0 0 2 0x14200 zerothread 82699 374854 0 0 3 0x14200 aiodoned aiodoned 7804 361051 0 0 3 0x14200 syncer update 21843 419686 0 0 3 0x14200 cleaner cleaner 7652 446746 0 0 3 0x14200 reaper reaper 12484 125291 0 0 3 0x14200 pgdaemon pagedaemon 43350 271243 0 0 3 0x14200 bored viomb 96582 163030 0 0 3 0x40014200 acpi0 acpi0 52493 366751 0 0 3 0x14200 bored softnet0 61079 451740 0 0 3 0x14200 bored systqmp 6042 206408 0 0 3 0x14200 bored systq 78063 504711 0 0 3 0x40014200 tmoslp softclock 25018 13316 0 0 3 0x40014200 idle0 1 188977 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 11048 12122K 12648K 166960K 13658 0 pcb 18 17K 21K 166960K 305 0 rtable 208 9K 9K 166960K 490 0 pf 37 14K 17K 166960K 118 0 ifaddr 37 6K 8K 166960K 82 0 ifgroup 50 2K 2K 166960K 141 0 sysctl 4 1K 9K 166960K 16 0 counters 33 17K 18K 166960K 74 0 ioctlops 0 0K 5K 166960K 437 0 iov 0 0K 16K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1443 91K 91K 166960K 2571 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 12 1K 1K 166960K 54 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1003 0 sigio 0 0K 0K 166960K 23 0 proc 60 59K 91K 166960K 579 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 189 0 in_multi 80 5K 7K 166960K 134 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 25 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 624 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 241 156K 167K 166960K 11149 0 UVM aobj 14 20K 20K 166960K 14 0 pinsyscall 39 78K 91K 166960K 2111 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 46 0 NDP 11 0K 2K 166960K 54 0 temp 72 9074K 9140K 166960K 31135 0 kqueue 15 22K 30K 166960K 212 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 104 0 100 1 0 1 1 0 8 0 rtentry 136 140 0 57 4 0 4 4 0 8 0 unpcb 144 653 0 638 4 0 4 4 0 8 3 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 274 0 269 4 0 4 4 0 8 3 arp 96 23 0 8 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 4 0 4 1 0 1 1 0 8 1 inpcb 328 851 0 842 12 7 5 9 0 8 3 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 26 0 7 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 4 0 4 2 0 2 2 0 8 2 ppxss 1072 28 0 28 1 0 1 1 0 8 1 pppxif 1384 4 0 4 1 0 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pffrag 232 5 0 0 1 0 1 1 0 482 0 pffrnode 88 5 0 0 1 0 1 1 0 8 0 pffrent 40 9 0 3 1 0 1 1 0 8 0 pfrktable 1344 5 0 3 1 0 1 1 0 8 0 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 1 1 0 1 1 0 8 1 pfstitem 24 7 0 0 1 0 1 1 0 8 0 pfstkey 128 77 0 72 1 0 1 1 0 8 0 pfstate 384 40 0 36 1 0 1 1 0 8 0 pfrule 1360 6 0 4 1 0 1 1 0 8 0 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 637 0 278 31 0 31 31 0 8 6 art_table 40 640 0 278 5 0 5 5 0 8 0 art_node 32 139 0 66 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 8 1 0 1 1 0 8 0 semapl 112 51 0 42 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 26 0 9 3 0 3 3 0 8 0 dino2pl 256 3457 0 2013 92 0 92 92 0 8 0 ffsino 256 3457 0 2013 92 0 92 92 0 8 0 nchpl 144 4897 0 3204 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 4163 0 0 232 0 232 232 0 8 0 namei 1024 16817 0 16816 1 0 1 1 0 8 0 vcpupl 3904 9 0 0 2 0 2 2 0 8 0 vmpool 808 9 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 76 0 54 2 0 2 2 0 8 0 scsiplug 72 6 0 6 1 0 1 1 0 8 1 scxspl 216 22635 0 22635 10 2 8 8 1 8 8 plimitpl 152 281 0 264 1 0 1 1 0 8 0 sigapl 424 1291 0 1247 7 1 6 6 0 8 0 knotepl 120 52321 0 52271 36 26 10 17 0 8 8 kqueuepl 184 362 0 347 3 0 3 3 0 8 2 pipepl 304 186 0 159 3 0 3 3 0 8 0 fdescpl 448 1276 0 1246 5 1 4 5 0 8 0 filepl 120 8293 0 8075 19 6 13 14 0 8 3 lockfpl 104 489 0 486 2 1 1 2 0 8 0 lockfspl 48 197 0 194 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 49 0 33 1 0 1 1 0 8 0 ucredpl 104 1852 0 1841 1 0 1 1 0 8 0 zombiepl 144 1797 0 1796 2 1 1 1 0 8 0 processpl 1152 1291 0 1247 4 0 4 4 0 8 0 procpl 664 2800 0 2740 6 0 6 6 0 8 0 sosppl 176 5 0 5 1 0 1 1 0 8 1 sockpl 552 1651 0 1623 15 7 8 10 0 8 5 mcl64k 65536 152 0 152 2 1 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 3652 0 3596 17 8 9 16 0 8 1 mcl2k 2048 1177 0 1175 6 4 2 5 0 8 1 mtagpl 96 18 0 10 1 0 1 1 0 8 0 mbufpl 256 16853 0 16717 75 50 25 74 0 8 8 bufpl 280 8229 0 2011 445 0 445 445 0 8 0 anonpl 24 196541 0 193126 78 1 77 77 0 187 45 amapchunkpl 152 37443 0 36920 37 2 35 35 0 158 14 amappl16 200 3865 0 3831 44 32 12 32 0 8 8 amappl15 192 20 0 20 1 1 0 1 0 8 0 amappl14 184 413 0 412 1 0 1 1 0 8 0 amappl13 176 215 0 205 1 0 1 1 0 8 0 amappl12 168 1519 0 1489 2 0 2 2 0 8 0 amappl11 160 23 0 23 1 1 0 1 0 8 0 amappl10 152 58 0 48 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 1 0 1 0 8 0 amappl8 136 99 0 97 1 0 1 1 0 8 0 amappl7 128 48 0 45 1 0 1 1 0 8 0 amappl6 120 260 0 249 1 0 1 1 0 8 0 amappl5 112 81 0 74 1 0 1 1 0 8 0 amappl4 104 508 0 473 2 0 2 2 0 8 0 amappl3 96 6378 0 6281 3 0 3 3 0 8 0 amappl2 88 1386 0 1323 2 0 2 2 0 8 0 amappl1 80 14125 0 13583 13 0 13 13 0 8 0 amappl 88 10278 0 10101 5 0 5 5 0 92 0 uvmvnodes 80 116 0 0 3 0 3 3 0 8 0 dma32768 32768 2 0 2 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 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 7 0 7 2 1 1 1 0 8 1 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 13 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1276 0 1246 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1276 0 1246 1 0 1 1 0 8 0 vmmpekpl 168 12122 0 12086 3 0 3 3 0 8 0 vmmpepl 168 88449 0 86577 112 7 105 105 0 357 19 vmsppl 368 1275 0 1246 4 1 3 4 0 8 0 rwobjpl 40 26004 0 25007 16 0 16 16 0 8 2 pdppl 4096 2576 0 2501 109 32 77 78 0 8 2 pvpl 32 563822 0 554726 169 7 162 162 0 265 76 pmappl 216 1284 0 1246 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 456 0 101 12 0 12 12 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c91b248,ffff8000318d7600,ffff8000318d7550) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff8000318d7600) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000318d7600) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x28646417fa0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c91b248,ffff8000318d7600,ffff8000318d7550) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff8000318d7600) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000318d7600) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x28646417fa0, count: -3