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(ffff80002a825a20,ffff80002a8f3e00,ffff80002a8f3d50) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a8f3e00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8f3e00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x607653bf8f0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a8f3d30 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x205ecc312ce4a35d r11 0x3979f69771b8269 r12 0 r13 0xfffffd806c608700 r14 0xffff80002a8f3e00 r15 0 rip 0xffffffff816b2d65 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a8f3c40 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=8342 pid=3901 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=0xffff80002a824560,0xffff80002a8242d8 process=0xffff80002a79b620 user=0xffff80002a8ee000, vmspace=0xfffffd806cb228b0 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3901 339013 4580 0 2 0 syz-executor * 3901 8342 4580 0 7 0x4000000 syz-executor 3901 179550 4580 0 3 0x4000080 fsleep syz-executor 2326 459933 89895 0 3 0x90 fsleep syz-executor 2326 446079 89895 0 2 0x4000010 syz-executor 90044 476095 84131 0 3 0x80 fsleep syz-executor 90044 519529 84131 0 3 0x4000000 smrbar syz-executor 35887 269176 95432 -1 3 0x90 fsleep syz-executor 35887 49090 95432 -1 3 0x4000090 piperd syz-executor 7249 188998 78472 0 3 0x80 fsleep syz-executor 7249 433288 78472 0 3 0x4000080 kqread syz-executor 27181 434039 45316 0 3 0x80 fsleep syz-executor 27181 52833 45316 0 3 0x4000080 kqsel syz-executor 27181 176855 45316 0 3 0x4000080 fsleep syz-executor 59932 494443 38035 60929 3 0x90 fsleep syz-executor 59932 2567 38035 60929 3 0x4000090 kqsel syz-executor 11024 36350 0 0 3 0x14200 acct acct 95432 126495 22435 0 3 0x82 nanoslp syz-executor 84131 33558 22435 0 3 0x82 nanoslp syz-executor 45316 449120 22435 0 3 0x82 nanoslp syz-executor 3760 305813 0 0 3 0x14280 nfsidl nfsio 32668 396411 0 0 3 0x14280 nfsidl nfsio 2562 383321 0 0 3 0x14280 nfsidl nfsio 6403 286014 0 0 3 0x14280 nfsidl nfsio 10884 506593 0 0 3 0x14280 nfsidl nfsio 23325 328625 0 0 3 0x14280 nfsidl nfsio 81963 12450 0 0 3 0x14280 nfsidl nfsio 60850 106386 0 0 3 0x14280 nfsidl nfsio 78834 176278 0 0 3 0x14280 nfsidl nfsio 99430 226494 0 0 3 0x14280 nfsidl nfsio 34594 134493 0 0 3 0x14280 nfsidl nfsio 47511 208767 0 0 3 0x14280 nfsidl nfsio 45282 379571 0 0 3 0x14280 nfsidl nfsio 41033 45616 0 0 3 0x14280 nfsidl nfsio 49420 135692 0 0 3 0x14280 nfsidl nfsio 25721 498146 0 0 3 0x14280 nfsidl nfsio 21031 406929 0 0 3 0x14280 nfsidl nfsio 1657 411778 0 0 3 0x14280 nfsidl nfsio 19191 499932 0 0 3 0x14280 nfsidl nfsio 52252 136446 0 0 3 0x14280 nfsidl nfsio 89895 472304 22435 0 3 0x82 nanoslp syz-executor 38035 245216 22435 0 3 0x82 nanoslp syz-executor 41197 234744 22435 0 3 0x82 nanoslp syz-executor 4580 118465 22435 0 3 0x82 nanoslp syz-executor 78472 138449 22435 0 3 0x82 nanoslp syz-executor 22435 287404 75173 0 3 0x82 kqread syz-executor 75173 61455 67587 0 3 0x10008a sigsusp ksh 67587 334634 10350 0 3 0x98 kqread sshd-session 10350 74997 9303 0 3 0x92 kqread sshd-session 40894 401311 1 0 3 0x100083 ttyopn getty 9303 116746 1 0 3 0x88 kqread sshd 38534 51152 2590 73 3 0x1100090 kqread syslogd 2590 300547 1 0 3 0x100082 sbwait syslogd 13354 468372 1 0 3 0x100080 kqread resolvd 92517 41621 37890 77 3 0x100092 kqread dhcpleased 26766 288729 37890 77 3 0x100092 kqread dhcpleased 37890 291569 1 0 3 0x80 kqread dhcpleased 59329 369044 0 0 3 0x14200 bored smr 48362 323702 0 0 2 0x14200 zerothread 28136 3286 0 0 3 0x14200 aiodoned aiodoned 71329 364381 0 0 3 0x14200 syncer update 96022 318962 0 0 3 0x14200 cleaner cleaner 58096 281711 0 0 3 0x14200 reaper reaper 78402 454004 0 0 3 0x14200 pgdaemon pagedaemon 71421 84337 0 0 3 0x14200 bored viomb 74465 26474 0 0 3 0x40014200 acpi0 acpi0 40126 145168 0 0 3 0x14200 bored softnet0 27696 53212 0 0 3 0x14200 bored systqmp 238 407171 0 0 3 0x14200 bored systq 90000 316834 0 0 3 0x40014200 tmoslp softclock 18726 69852 0 0 3 0x40014200 idle0 1 141682 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 10200 11051K 11606K 166960K 13132 0 pcb 17 18K 20K 166960K 575 0 rtable 206 9K 10K 166960K 755 0 pf 29 12K 15K 166960K 129 0 ifaddr 36 6K 7K 166960K 109 0 ifgroup 46 2K 2K 166960K 150 0 sysctl 4 1K 9K 166960K 26 0 counters 31 17K 18K 166960K 91 0 ioctlops 0 0K 4K 166960K 320 0 iov 1 1K 24K 166960K 145 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1359 85K 86K 166960K 2445 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 5 14K 18K 166960K 29 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 65 0 dirhash 9 1K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 110K 166960K 1867 0 sigio 0 0K 0K 166960K 28 0 proc 60 59K 124K 166960K 737 0 subproc 72 4K 4K 166960K 109 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 214 0 in_multi 66 4K 7K 166960K 214 0 ether_multi 1 0K 0K 166960K 23 0 mrt 0 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 602 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 246 151K 168K 166960K 17672 0 UVM aobj 44 14K 14K 166960K 51 0 pinsyscall 39 78K 96K 166960K 3065 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 91 0 NDP 10 0K 2K 166960K 73 0 temp 80 8672K 8800K 166960K 73826 0 kqueue 14 20K 30K 166960K 319 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 312 0 308 3 0 3 3 0 8 2 rtentry 136 189 0 112 4 0 4 4 0 8 0 unpcb 144 1076 0 1056 4 1 3 3 0 8 2 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 8 0 8 1 1 0 1 0 8 0 tcpcb 736 524 0 518 7 3 4 4 0 8 3 arp 96 31 0 15 1 0 1 1 0 8 0 ipq 40 3 0 2 1 0 1 1 0 8 0 ipqe 40 9 0 8 1 0 1 1 0 8 0 inpcb 328 1759 0 1750 16 7 9 10 0 8 8 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 112 43 0 28 1 0 1 1 0 8 0 pkpcb 40 11 0 11 2 1 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 50 0 50 2 1 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pfrktable 1344 3 0 3 1 0 1 1 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 4 1 1 0 1 0 8 0 pfstate 384 3 0 3 1 1 0 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 815 0 548 29 2 27 29 0 8 8 art_table 40 820 0 548 5 0 5 5 0 8 0 art_node 32 187 0 121 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 58 0 49 1 0 1 1 0 8 0 shmpl 112 41 0 6 1 0 1 1 0 8 0 dirhash 1024 19 0 12 3 1 2 3 0 8 0 dino2pl 256 4599 0 3097 95 0 95 95 0 8 0 ffsino 256 4599 0 3097 95 0 95 95 0 8 0 nchpl 144 7171 0 5462 64 0 64 64 0 8 0 rtmask 32 14 0 14 2 1 1 1 0 8 1 vnodes 216 5160 0 0 287 0 287 287 0 8 0 namei 1024 24865 0 24865 3 2 1 2 0 8 1 vcpupl 3904 7 0 1 1 0 1 1 0 8 0 vmpool 800 7 0 1 1 0 1 1 0 8 0 kstatmem 264 98 0 78 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 10 0 10 2 1 1 1 0 8 1 scxspl 216 21257 0 21257 11 7 4 8 1 8 4 plimitpl 152 455 0 438 1 0 1 1 0 8 0 sigapl 424 2166 0 2102 9 1 8 8 0 8 0 knotepl 120 101700 0 101652 48 37 11 23 0 8 8 kqueuepl 184 550 0 538 4 0 4 4 0 8 3 pipepl 304 470 0 442 5 0 5 5 0 8 2 fdescpl 448 2127 0 2097 5 1 4 5 0 8 0 filepl 120 13601 0 13350 16 4 12 13 0 8 4 lockfpl 104 711 0 709 1 0 1 1 0 8 0 lockfspl 48 295 0 293 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 92 0 76 1 0 1 1 0 8 0 ucredpl 104 2200 0 2166 1 0 1 1 0 8 0 zombiepl 144 2750 0 2749 1 0 1 1 0 8 0 processpl 1152 2166 0 2102 5 0 5 5 0 8 0 procpl 664 4791 0 4718 7 0 7 7 0 8 0 sosppl 176 15 0 15 2 1 1 1 0 8 1 sockpl 552 3268 0 3235 15 5 10 10 0 8 7 mcl64k 65536 350 0 350 2 1 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 1 0 1 1 0 8 1 mcl8k 8192 43 0 43 2 1 1 1 0 8 1 mcl4k 4096 4790 0 4740 13 5 8 12 0 8 1 mcl2k2 2112 8 0 8 2 1 1 1 0 8 1 mcl2k 2048 2896 0 2888 8 5 3 5 0 8 1 mtagpl 96 69 0 67 2 0 2 2 0 8 0 mbufpl 256 23918 0 23808 140 117 23 77 0 8 8 bufpl 280 6705 0 483 445 0 445 445 0 8 0 anonpl 24 304413 0 300457 59 10 49 49 0 187 19 amapchunkpl 152 63137 0 62574 45 7 38 38 0 158 16 amappl16 200 5156 0 5113 38 27 11 15 0 8 8 amappl15 192 95 0 95 1 1 0 1 0 8 0 amappl14 184 6 0 6 2 1 1 1 0 8 1 amappl13 176 454 0 453 1 0 1 1 0 8 0 amappl12 168 2516 0 2477 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 44 0 33 1 0 1 1 0 8 0 amappl9 144 242 0 242 1 1 0 1 0 8 0 amappl8 136 29 0 27 1 0 1 1 0 8 0 amappl7 128 96 0 95 1 0 1 1 0 8 0 amappl6 120 319 0 308 1 0 1 1 0 8 0 amappl5 112 77 0 68 1 0 1 1 0 8 0 amappl4 104 436 0 410 1 0 1 1 0 8 0 amappl3 96 10868 0 10769 3 0 3 3 0 8 0 amappl2 88 2272 0 2200 2 0 2 2 0 8 0 amappl1 80 18040 0 17495 14 1 13 13 0 8 0 amappl 88 16615 0 16438 5 0 5 5 0 92 0 uvmvnodes 80 145 0 0 3 0 3 3 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 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 258 0 258 2 1 1 1 0 8 1 dma64 64 8 0 8 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 50 0 7 1 0 1 1 0 8 0 uaddrrnd 24 2127 0 2097 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2127 0 2097 1 0 1 1 0 8 0 vmmpekpl 168 17989 0 17940 3 0 3 3 0 8 0 vmmpepl 168 138709 0 136822 92 0 92 92 0 357 7 vmsppl 368 2126 0 2097 4 1 3 4 0 8 0 rwobjpl 40 35638 0 34562 13 0 13 13 0 8 1 pdppl 4096 4275 0 4202 122 48 74 83 0 8 1 pvpl 32 883308 0 873591 149 22 127 127 0 265 37 pmappl 216 2133 0 2098 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 542 0 192 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a825a20,ffff80002a8f3e00,ffff80002a8f3d50) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a8f3e00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8f3e00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x607653bf8f0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a825a20,ffff80002a8f3e00,ffff80002a8f3d50) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a8f3e00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8f3e00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x607653bf8f0, count: -3