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(ffff80003393bcc0,ffff80003a54d890,ffff80003a54d7e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a54d890) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a54d890) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf33611ec590, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a54d7c0 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0xe5e022f72d318404 r11 0x76080af413ea9143 r12 0 r13 0xfffffd805b856c40 r14 0xffff80003a54d890 r15 0 rip 0xffffffff82f17595 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a54d6d0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=296583 pid=29950 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a81e548,0xffff80003393afd8 process=0xffff8000ffffb618 user=0xffff80003a548000, vmspace=0xfffffd806ba55460 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12648 471411 81266 0 2 0 syz-executor 12648 444529 81266 0 3 0x4000080 fsleep syz-executor 68538 37111 2220 0 2 0 syz-executor 68538 351164 2220 0 2 0x4000000 syz-executor 68538 10498 2220 0 2 0x4000000 syz-executor 29950 179361 79179 0 2 0 syz-executor *29950 296583 79179 0 7 0x4000000 syz-executor 29950 370153 79179 0 3 0x4000080 fsleep syz-executor 20497 479489 0 0 3 0x14200 acct acct 14219 457931 97441 0 2 0 syz-executor 14219 301072 97441 0 3 0x4000080 fsleep syz-executor 14219 396946 97441 0 2 0x4000000 syz-executor 72290 54523 92621 0 2 0 syz-executor 72290 156615 92621 0 3 0x4000080 fsleep syz-executor 65050 134953 95031 0 2 0 syz-executor 65050 234694 95031 0 3 0x4000080 fsleep syz-executor 65050 65013 95031 0 3 0x4000080 fsleep syz-executor 20547 123626 1426 0 2 0x2 syz-executor 87294 171162 1 0 3 0x100083 ttyin getty 97441 6448 1426 0 2 0xc82 syz-executor 79179 48749 1426 0 2 0xc82 syz-executor 6336 454557 0 0 3 0x14200 bored sosplice 95031 109936 1426 0 2 0xc82 syz-executor 2220 380255 1426 0 2 0xc82 syz-executor 81442 450831 1426 0 2 0xc82 syz-executor 81266 371344 1426 0 2 0xc82 syz-executor 92621 54046 1426 0 2 0xc82 syz-executor 1426 63309 82289 0 3 0x82 kqread syz-executor 82289 36199 81758 0 3 0x10008a sigsusp ksh 81758 290305 83547 0 3 0x98 kqread sshd-session 83547 224107 94531 0 3 0x92 kqread sshd-session 94531 292673 1 0 3 0x88 kqread sshd 36457 230329 41062 73 3 0x1100090 kqread syslogd 41062 430087 1 0 3 0x100082 sbwait syslogd 70275 155282 1 0 3 0x100080 kqread resolvd 69640 427753 22729 77 3 0x100092 kqread dhcpleased 28999 101196 22729 77 3 0x100092 kqread dhcpleased 22729 441365 1 0 3 0x80 kqread dhcpleased 68834 520843 0 0 3 0x14200 bored smr 19118 270586 0 0 2 0x14200 zerothread 22485 89425 0 0 3 0x14200 aiodoned aiodoned 42567 320894 0 0 3 0x14200 syncer update 7056 472000 0 0 3 0x14200 cleaner cleaner 76139 291282 0 0 3 0x14200 reaper reaper 66599 292149 0 0 3 0x14200 pgdaemon pagedaemon 92787 281734 0 0 3 0x14200 bored viomb 9275 18035 0 0 3 0x40014200 acpi0 acpi0 87279 109423 0 0 3 0x14200 bored softnet7 49146 432893 0 0 3 0x14200 bored softnet6 41476 115025 0 0 3 0x14200 bored softnet5 10876 504627 0 0 3 0x14200 bored softnet4 41103 115599 0 0 3 0x14200 bored softnet3 32305 50124 0 0 3 0x14200 bored softnet2 43381 304201 0 0 3 0x14200 bored softnet1 48726 215659 0 0 3 0x14200 bored softnet0 32501 423470 0 0 3 0x14200 bored systqmp 86860 63717 0 0 3 0x14200 bored systq 10514 308284 0 0 2 0x40014200 softclock 34863 68206 0 0 3 0x40014200 idle0 1 391263 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 10195 11130K 11237K 166960K 12041 0 pcb 17 18K 20K 166960K 497 0 rtable 211 11K 11K 166960K 583 0 pf 35 13K 19K 166960K 197 0 ifaddr 42 8K 8K 166960K 133 0 ifgroup 59 2K 2K 166960K 233 0 sysctl 4 1K 9K 166960K 18 0 counters 34 18K 18K 166960K 120 0 ioctlops 0 0K 4K 166960K 422 0 iov 0 0K 24K 166960K 151 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1357 85K 87K 166960K 2214 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 28 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 54 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 1556 0 sigio 0 0K 0K 166960K 28 0 proc 60 59K 124K 166960K 736 0 subproc 72 4K 4K 166960K 100 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 177 0 in_multi 77 5K 7K 166960K 185 0 ether_multi 1 0K 0K 166960K 12 0 mrt 0 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 618 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 227 135K 152K 166960K 15993 0 UVM aobj 32 2K 4K 166960K 37 0 pinsyscall 38 76K 96K 166960K 2689 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 239 0 NDP 13 0K 2K 166960K 92 0 temp 77 8644K 8724K 166960K 76397 0 kqueue 13 20K 30K 166960K 288 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 294 0 290 6 4 2 3 0 8 1 rtentry 136 168 0 90 4 0 4 4 0 8 0 unpcb 144 1406 0 1387 14 8 6 6 0 8 5 syncache 336 9 0 9 3 2 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 641 0 636 13 6 7 7 0 8 6 arp 88 20 0 8 1 0 1 1 0 8 0 ipq 40 10 0 10 1 0 1 1 0 8 1 ipqe 40 17 0 17 1 0 1 1 0 8 1 inpcb 328 1937 0 1927 21 14 7 10 0 8 5 ip6q 72 6 0 5 1 0 1 1 0 8 0 ip6af 40 8 0 7 1 0 1 1 0 8 0 nd6 104 30 0 15 1 0 1 1 0 8 0 pkpcb 40 8 0 8 3 2 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 65 0 65 3 2 1 1 0 8 1 pppxif 1384 7 0 7 3 2 1 1 0 8 1 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfrule 1344 12 0 11 1 0 1 1 0 8 0 rttmr 136 6 0 6 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 875 0 529 30 3 27 29 0 8 5 art_table 40 879 0 529 5 0 5 5 0 8 0 art_node 32 167 0 101 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 13 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 48 0 39 1 0 1 1 0 8 0 shmpl 112 34 0 5 1 0 1 1 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 4277 0 2781 95 0 95 95 0 8 0 ffsino 256 4277 0 2781 95 0 95 95 0 8 0 nchpl 144 6494 0 4806 63 0 63 63 0 8 0 rtmask 32 12 0 12 3 2 1 1 0 8 1 uvmvnodes 80 3592 0 0 74 0 74 74 0 8 0 vnodes 216 3592 0 0 200 0 200 200 0 8 0 namei 1024 25031 0 25028 5 2 3 3 0 8 2 kstatmem 264 140 0 114 2 0 2 2 0 8 0 scsiplug 72 11 0 11 2 1 1 1 0 8 1 scxspl 216 29437 0 29437 16 8 8 8 1 8 8 plimitpl 152 404 0 387 1 0 1 1 0 8 0 sigapl 424 1844 0 1793 7 1 6 7 0 8 0 knotepl 120 95393 0 95346 35 25 10 16 0 8 8 kqueuepl 184 696 0 687 10 6 4 4 0 8 3 pipepl 304 293 0 266 3 0 3 3 0 8 0 fdescpl 448 1818 0 1789 5 1 4 5 0 8 0 filepl 120 12536 0 12320 17 6 11 11 0 8 3 lockfpl 104 727 0 725 1 0 1 1 0 8 0 lockfspl 48 238 0 236 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 64 0 48 1 0 1 1 0 8 0 ucredpl 104 1898 0 1886 1 0 1 1 0 8 0 zombiepl 144 2352 0 2351 1 0 1 1 0 8 0 processpl 1152 1844 0 1793 5 1 4 5 0 8 0 procpl 664 4204 0 4143 8 1 7 7 0 8 1 sosppl 168 10 0 9 1 0 1 1 0 8 0 sockpl 552 3730 0 3697 27 16 11 12 0 8 8 mcl64k 65536 71 0 71 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 4 0 4 2 1 1 1 0 8 1 mcl8k 8192 31 0 31 2 1 1 1 0 8 1 mcl4k 4096 4459 0 4409 15 7 8 13 0 8 1 mcl2k2 2112 5 0 5 1 1 0 1 0 8 0 mcl2k 2048 2301 0 2296 10 5 5 5 0 8 3 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 23176 0 23047 88 68 20 73 0 8 8 bufpl 280 10987 0 4759 446 0 446 446 0 8 0 anonpl 24 268412 0 264710 109 61 48 70 0 187 10 amapchunkpl 152 52651 0 52156 45 15 30 33 0 158 9 amappl16 200 5391 0 5354 60 48 12 27 0 8 8 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 135 0 125 1 0 1 1 0 8 0 amappl13 176 10 0 10 2 2 0 1 0 8 0 amappl12 168 2479 0 2450 3 1 2 3 0 8 0 amappl11 160 70 0 60 1 0 1 1 0 8 0 amappl10 152 21 0 21 1 1 0 1 0 8 0 amappl9 144 260 0 260 2 2 0 1 0 8 0 amappl8 136 31 0 29 1 0 1 1 0 8 0 amappl7 128 109 0 98 1 0 1 1 0 8 0 amappl6 120 210 0 206 1 0 1 1 0 8 0 amappl5 112 130 0 123 1 0 1 1 0 8 0 amappl4 104 305 0 288 1 0 1 1 0 8 0 amappl3 96 10720 0 10615 5 2 3 4 0 8 0 amappl2 88 706 0 648 2 0 2 2 0 8 0 amappl1 80 15321 0 14779 13 0 13 13 0 8 0 amappl 88 14976 0 14811 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 256 0 256 2 1 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 1 1 1 0 8 1 dma16 16 22 0 21 1 0 1 1 0 8 0 aobjpl 72 36 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1818 0 1789 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1818 0 1789 1 0 1 1 0 8 0 vmmpekpl 168 15968 0 15923 3 0 3 3 0 8 0 vmmpepl 168 119245 0 117367 121 26 95 104 0 357 8 vmsppl 368 1817 0 1789 4 1 3 4 0 8 0 rwobjpl 40 35231 0 30758 48 0 48 48 0 8 1 pdppl 4096 3642 0 3578 128 62 66 82 0 8 2 pvpl 32 778761 0 769508 211 93 118 158 0 265 20 pmappl 216 1817 0 1789 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 506 0 161 12 0 12 12 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003393bcc0,ffff80003a54d890,ffff80003a54d7e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a54d890) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a54d890) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf33611ec590, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003393bcc0,ffff80003a54d890,ffff80003a54d7e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a54d890) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a54d890) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf33611ec590, count: -3