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(ffff80003c984fb8,ffff80003ca27e70,ffff80003ca27dc0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003ca27e70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca27e70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ccaf54b990, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003ca27da0 rbx 0xdeaf4152deaf4152 rdx 0xffff8000017f8580 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0x27190342c1009a92 r11 0xb49163dc662c48c0 r12 0 r13 0xfffffd80622838c0 r14 0xffff80003ca27e70 r15 0 rip 0xffffffff82369735 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003ca27cb0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=33783 pid=71576 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=84, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800031cfb258,0xffff80003c985260 process=0xffff8000ffff8d98 user=0xffff80003ca22000, vmspace=0xfffffd806d4d2e78 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 15674 246430 35627 0 2 0 syz-executor 15674 376063 35627 0 3 0x4000080 fsleep syz-executor 19318 405136 61932 0 2 0 syz-executor 19318 359968 61932 0 3 0x4000080 fsleep syz-executor 19318 389995 61932 0 3 0x4000080 fsleep syz-executor 19318 381934 61932 0 3 0x4000080 fsleep syz-executor 33323 389987 3716 0 2 0 syz-executor 33323 169361 3716 0 3 0x4000080 fsleep syz-executor 33323 387441 3716 0 3 0x4000080 fsleep syz-executor 61223 326057 29428 0 2 0 syz-executor 61223 240294 29428 0 3 0x4000080 fsleep syz-executor 61223 13309 29428 0 3 0x4000080 fsleep syz-executor 71576 60235 16731 0 2 0 syz-executor 71576 368948 16731 0 3 0x4000080 kqsel syz-executor *71576 33783 16731 0 7 0x4000000 syz-executor 71576 37458 16731 0 3 0x4000080 fsleep syz-executor 24390 243470 23435 0 3 0 kmmaplk syz-executor 24390 310138 23435 0 3 0x4000080 ttyout syz-executor 24390 472601 23435 0 3 0x4000080 ttyout syz-executor 24390 142662 23435 0 3 0x4000080 ttyout syz-executor 78337 502677 0 0 3 0x14200 acct acct 39595 252483 26086 0 3 0x2 kmmaplk syz-executor 60723 330772 1 0 3 0x80 nanoslp init 35627 106726 26086 0 3 0x82 nanoslp syz-executor 16731 354219 26086 0 3 0x82 nanoslp syz-executor 54754 287514 0 0 3 0x14280 nfsidl nfsio 8436 3667 0 0 3 0x14280 nfsidl nfsio 70682 11610 0 0 3 0x14280 nfsidl nfsio 93886 482204 0 0 3 0x14280 nfsidl nfsio 11 227213 0 0 3 0x14280 nfsidl nfsio 76751 150446 0 0 3 0x14280 nfsidl nfsio 44455 480293 0 0 3 0x14280 nfsidl nfsio 24830 493459 0 0 3 0x14280 nfsidl nfsio 30783 204045 0 0 3 0x14280 nfsidl nfsio 88544 381724 0 0 3 0x14280 nfsidl nfsio 5649 407003 0 0 3 0x14280 nfsidl nfsio 70000 12048 0 0 3 0x14280 nfsidl nfsio 25921 195992 0 0 3 0x14280 nfsidl nfsio 9343 363752 0 0 3 0x14280 nfsidl nfsio 45260 82780 0 0 3 0x14280 nfsidl nfsio 93438 440829 0 0 3 0x14280 nfsidl nfsio 92439 88043 0 0 3 0x14280 nfsidl nfsio 25159 184900 0 0 3 0x14280 nfsidl nfsio 73758 47166 0 0 3 0x14280 nfsidl nfsio 27569 425093 0 0 3 0x14280 nfsidl nfsio 61932 127438 26086 0 3 0x82 nanoslp syz-executor 23435 151679 26086 0 2 0x3 syz-executor 3716 94966 26086 0 3 0x82 nanoslp syz-executor 20021 172152 26086 0 3 0x82 nanoslp syz-executor 29428 377968 26086 0 3 0x82 nanoslp syz-executor 26086 31291 10895 0 3 0x82 kqread syz-executor 10895 368618 23849 0 3 0x10008a sigsusp ksh 23849 348775 41109 0 3 0x98 kqread sshd-session 41109 488389 37348 0 3 0x92 kqread sshd-session 37348 33452 1 0 3 0x88 kqread sshd 80878 84165 20298 73 3 0x1100090 kqread syslogd 20298 143417 1 0 3 0x100082 sbwait syslogd 32374 433239 1 0 3 0x100080 kqread resolvd 24323 162566 48408 77 3 0x100092 kqread dhcpleased 37826 69176 48408 77 3 0x100092 kqread dhcpleased 48408 395374 1 0 3 0x80 kqread dhcpleased 25541 288841 0 0 3 0x14200 bored smr 80029 152507 0 0 2 0x14200 zerothread 53817 113892 0 0 3 0x14200 aiodoned aiodoned 40071 344403 0 0 3 0x14200 syncer update 38747 297656 0 0 3 0x14200 cleaner cleaner 75257 127899 0 0 3 0x14200 reaper reaper 85552 186862 0 0 3 0x14200 pgdaemon pagedaemon 63899 127260 0 0 3 0x14200 bored viomb 41217 182334 0 0 3 0x40014200 acpi0 acpi0 65857 480230 0 0 3 0x14200 bored softnet0 12192 517952 0 0 3 0x14200 bored systqmp 20598 241506 0 0 3 0x14200 bored systq 96981 285108 0 0 3 0x40014200 tmoslp softclock 57054 101401 0 0 3 0x40014200 idle0 1 349029 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 11071 12124K 14688K 166960K 17246 0 pcb 17 18K 22K 166960K 811 0 rtable 270 18K 18K 166960K 854 0 pf 33 13K 14K 166960K 160 0 ifaddr 45 8K 9K 166960K 136 0 ifgroup 55 2K 2K 166960K 225 0 sysctl 4 1K 9K 166960K 31 0 counters 34 17K 18K 166960K 175 0 ioctlops 0 0K 4K 166960K 479 0 iov 0 0K 16K 166960K 231 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1521 96K 97K 166960K 3280 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 29 6K 6K 166960K 92 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 1875 0 sigio 0 0K 0K 166960K 30 0 proc 51 50K 116K 166960K 773 0 subproc 72 4K 4K 166960K 110 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 307 0 in_multi 98 7K 7K 166960K 234 0 ether_multi 1 0K 0K 166960K 31 0 mrt 2 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 769 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 235 155K 176K 166960K 17410 0 UVM aobj 142 30K 30K 166960K 151 0 pinsyscall 37 74K 95K 166960K 3077 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 147 0 NDP 12 0K 2K 166960K 92 0 temp 82 8672K 8800K 166960K 72627 0 kqueue 13 20K 37K 166960K 337 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 242 0 239 2 1 1 2 0 8 0 rtentry 136 210 0 105 4 0 4 4 0 8 0 unpcb 144 1224 0 1207 3 2 1 2 0 8 0 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpqe 32 4 0 4 2 2 0 1 0 8 0 tcpcb 736 748 0 740 13 6 7 7 0 8 6 arp 96 32 0 13 1 0 1 1 0 8 0 ipq 40 7 0 4 1 0 1 1 0 8 0 ipqe 40 11 0 8 1 0 1 1 0 8 0 inpcb 328 2275 0 2264 17 10 7 12 0 8 5 ip6q 72 4 0 2 1 0 1 1 0 8 0 ip6af 40 7 0 4 1 0 1 1 0 8 0 nd6 112 47 0 21 1 0 1 1 0 8 0 pkpcb 40 14 0 14 2 2 0 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1072 120 0 119 1 0 1 1 0 8 0 pppxif 1384 73 0 73 1 1 0 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 5 0 1 4 0 4 4 0 8 0 art_heap4 256 1030 0 595 31 3 28 31 0 8 0 art_table 40 1035 0 596 5 0 5 5 0 8 0 art_node 32 206 0 115 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 81 0 55 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 4930 0 3431 95 0 95 95 0 8 0 ffsino 256 4930 0 3431 95 0 95 95 0 8 0 nchpl 144 7466 0 5765 64 0 64 64 0 8 0 rtmask 32 12 0 12 1 0 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 27103 0 27103 4 3 1 1 0 8 1 vcpupl 3904 11 0 0 2 0 2 2 0 8 0 vmpool 808 14 0 3 3 1 2 2 0 8 0 kstatmem 264 132 0 108 2 0 2 2 0 8 0 scsiplug 72 12 0 12 3 3 0 1 0 8 0 scxspl 216 27010 0 27010 10 8 2 8 1 8 2 plimitpl 152 631 0 615 1 0 1 1 0 8 0 sigapl 424 2184 0 2121 8 0 8 8 0 8 0 knotepl 120 258580 0 258533 29 19 10 17 0 8 7 kqueuepl 184 916 0 905 6 3 3 4 0 8 2 pipepl 304 458 0 430 8 5 3 8 0 8 0 fdescpl 448 2148 0 2119 5 1 4 5 0 8 0 filepl 120 14958 0 14734 17 8 9 17 0 8 0 lockfpl 104 806 0 802 2 1 1 2 0 8 0 lockfspl 48 275 0 271 1 0 1 1 0 8 0 sessionpl 144 29 0 22 1 0 1 1 0 8 0 pgrppl 48 55 0 40 1 0 1 1 0 8 0 ucredpl 104 2485 0 2473 1 0 1 1 0 8 0 zombiepl 144 2211 0 2210 1 0 1 1 0 8 0 processpl 1152 2184 0 2121 5 0 5 5 0 8 0 procpl 664 4674 0 4597 7 0 7 7 0 8 0 sosppl 176 11 0 11 1 1 0 1 0 8 0 sockpl 552 3856 0 3825 20 12 8 13 0 8 4 mcl64k 65536 165 0 165 3 2 1 1 0 8 1 mcl16k 16384 6 0 6 2 2 0 1 0 8 0 mcl12k 12288 4 0 4 3 2 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 113 0 113 4 3 1 1 0 8 1 mcl4k 4096 4816 0 4765 18 10 8 15 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 2941 0 2935 7 5 2 7 0 8 0 mtagpl 96 138 0 66 2 0 2 2 0 8 0 mbufpl 256 23655 0 23455 46 25 21 46 0 8 0 bufpl 280 8341 0 2120 445 0 445 445 0 8 0 anonpl 24 320465 0 313583 89 29 60 79 0 187 0 amapchunkpl 152 61757 0 61210 50 21 29 38 0 158 4 amappl16 200 5533 0 5339 50 31 19 27 0 8 0 amappl15 192 6 0 6 2 2 0 1 0 8 0 amappl14 184 6 0 6 1 1 0 1 0 8 0 amappl13 176 452 0 451 1 0 1 1 0 8 0 amappl12 168 2520 0 2484 2 0 2 2 0 8 0 amappl11 160 19 0 19 2 2 0 1 0 8 0 amappl10 152 39 0 29 1 0 1 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 96 0 93 1 0 1 1 0 8 0 amappl6 120 311 0 299 1 0 1 1 0 8 0 amappl5 112 73 0 65 1 0 1 1 0 8 0 amappl4 104 411 0 389 1 0 1 1 0 8 0 amappl3 96 12437 0 12335 4 0 4 4 0 8 0 amappl2 88 581 0 526 2 0 2 2 0 8 0 amappl1 80 17212 0 16701 14 2 12 13 0 8 0 amappl 88 16294 0 16123 5 0 5 5 0 92 0 uvmvnodes 80 145 0 0 3 0 3 3 0 8 0 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 7 0 7 2 2 0 1 0 8 0 dma128 128 259 0 259 2 2 0 1 0 8 0 dma64 64 9 0 9 2 2 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 150 0 9 3 0 3 3 0 8 0 uaddrrnd 24 2148 0 2119 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2148 0 2119 1 0 1 1 0 8 0 vmmpekpl 168 17252 0 17202 3 0 3 3 0 8 0 vmmpepl 168 138279 0 136348 100 7 93 100 0 357 0 vmsppl 368 2147 0 2119 4 1 3 4 0 8 0 rwobjpl 40 34712 0 33451 17 1 16 16 0 8 0 pdppl 4096 4330 0 4255 126 49 77 82 0 8 2 pvpl 32 935861 0 922687 189 52 137 166 0 265 7 pmappl 216 2161 0 2122 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 470 0 117 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c984fb8,ffff80003ca27e70,ffff80003ca27dc0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003ca27e70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca27e70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ccaf54b990, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c984fb8,ffff80003ca27e70,ffff80003ca27dc0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003ca27e70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca27e70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ccaf54b990, count: -3