kernel: protection fault trap, code=0 Stopped at sys_semop+0x45b: 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(ffff80002a7e2cf0,ffff80003c9b6fd0,ffff80003c9b6f20) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c9b6fd0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9b6fd0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd166aa685f0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9b6ef0 rbx 0 rdx 0 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0x66baa65b8e97cc12 r11 0xde60cff15833a1fa r12 0xffff80000158a504 r13 0 r14 0xffff80003c9b6fd0 r15 0 rip 0xffffffff8221503b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9b6dd0 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=264954 pid=22516 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=0xffff80002a7b62a8,0xffff80002a7e2550 process=0xffff80002a839a90 user=0xffff80003c9b2000, vmspace=0xfffffd806c065178 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 22516 308441 3223 0 2 0 syz-executor *22516 264954 3223 0 7 0x4000000 syz-executor 22516 386920 3223 0 3 0x4000080 fsleep syz-executor 88482 167485 42198 0 3 0x80 nanoslp syz-executor 88482 498242 42198 0 3 0x4000080 fsleep syz-executor 88482 218356 42198 0 2 0x4000000 syz-executor 92081 197857 54258 0 2 0 syz-executor 92081 499154 54258 0 3 0x4000080 fsleep syz-executor 92081 491305 54258 0 3 0x4000080 fsleep syz-executor 22240 447689 26074 0 2 0 syz-executor 22240 429958 26074 0 3 0x4000080 fsleep syz-executor 22240 93941 26074 0 3 0x4000080 fsleep syz-executor 72964 96603 1 0 3 0x100083 ttyin getty 3223 366704 32951 0 3 0x82 nanoslp syz-executor 93613 492733 32951 0 2 0x2 syz-executor 89639 172088 0 0 3 0x14200 bored sosplice 35601 181922 32951 0 2 0x2 syz-executor 63129 404938 32951 0 2 0x2 syz-executor 42198 444978 32951 0 3 0x82 nanoslp syz-executor 54258 263537 32951 0 3 0x82 nanoslp syz-executor 26074 245005 32951 0 3 0x82 nanoslp syz-executor 99684 11845 32951 0 2 0x2 syz-executor 32951 482047 58765 0 3 0x82 kqread syz-executor 58765 301976 68451 0 3 0x10008a sigsusp ksh 68451 464709 26504 0 3 0x98 kqread sshd-session 26504 23880 16109 0 3 0x92 kqread sshd-session 16109 322173 1 0 3 0x88 kqread sshd 79072 384375 6754 73 3 0x1100090 kqread syslogd 6754 178436 1 0 3 0x100082 sbwait syslogd 54196 3389 1 0 3 0x100080 kqread resolvd 72870 338680 66696 77 3 0x100092 kqread dhcpleased 3703 368575 66696 77 3 0x100092 kqread dhcpleased 66696 229439 1 0 3 0x80 kqread dhcpleased 15873 389413 0 0 3 0x14200 bored smr 61631 238000 0 0 2 0x14200 zerothread 67294 290033 0 0 3 0x14200 aiodoned aiodoned 34708 126849 0 0 3 0x14200 syncer update 74856 378872 0 0 3 0x14200 cleaner cleaner 54355 368566 0 0 3 0x14200 reaper reaper 38390 506756 0 0 3 0x14200 pgdaemon pagedaemon 23075 416108 0 0 3 0x14200 bored viomb 40784 305264 0 0 3 0x40014200 acpi0 acpi0 71187 470275 0 0 3 0x14200 bored softnet3 2264 458126 0 0 3 0x14200 bored softnet2 97963 768 0 0 3 0x14200 bored softnet1 18534 165942 0 0 2 0x14200 softnet0 73216 252260 0 0 3 0x14200 bored systqmp 6550 156995 0 0 3 0x14200 bored systq 56146 186754 0 0 3 0x40014200 tmoslp softclock 77492 162287 0 0 3 0x40014200 idle0 1 430150 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 10219 11192K 11649K 166960K 13354 0 pcb 17 14K 15K 166960K 178 0 rtable 240 17K 18K 166960K 524 0 pf 37 14K 16K 166960K 203 0 ifaddr 42 7K 7K 166960K 107 0 ifgroup 59 2K 2K 166960K 184 0 sysctl 3 1K 9K 166960K 15 0 counters 33 17K 18K 166960K 97 0 ioctlops 0 0K 4K 166960K 319 0 iov 0 0K 20K 166960K 93 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1367 86K 86K 166960K 2422 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 21 0 VM map 2 1K 1K 166960K 2 0 sem 22 17K 17K 166960K 52 0 dirhash 12 2K 3K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 236K 166960K 1193 0 sigio 0 0K 0K 166960K 21 0 proc 61 59K 91K 166960K 596 0 subproc 72 4K 4K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 117 0 in_multi 88 6K 7K 166960K 157 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 12 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 578 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 208 151K 169K 166960K 12013 0 UVM aobj 93 5K 7K 166960K 99 0 pinsyscall 36 72K 96K 166960K 2278 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 67 0 NDP 13 0K 1K 166960K 75 0 temp 75 8668K 8795K 166960K 41602 0 kqueue 15 24K 32K 166960K 209 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 136 0 133 2 0 2 2 0 8 1 rtentry 136 157 0 54 4 0 4 4 0 8 0 unpcb 144 1028 0 1008 9 5 4 6 0 8 3 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 264 0 259 5 1 4 4 0 8 3 arp 88 25 0 8 1 0 1 1 0 8 0 ipq 40 3 0 2 1 0 1 1 0 8 0 ipqe 40 5 0 3 1 0 1 1 0 8 0 inpcb 344 1014 0 1004 10 5 5 7 0 8 3 nd6 104 33 0 10 1 0 1 1 0 8 0 pkpcb 40 16 0 16 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 49 0 49 1 0 1 1 0 8 1 pppxif 1384 8 0 8 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 2 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 608 0 179 30 2 28 29 0 8 1 art_table 32 611 0 179 4 0 4 4 0 8 0 art_node 16 153 0 60 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 41 0 22 1 0 1 1 0 8 0 shmpl 112 96 0 6 3 0 3 3 0 8 0 dirhash 1024 36 0 19 3 0 3 3 0 8 0 dino2pl 256 3665 0 2169 95 0 95 95 0 8 0 ffsino 248 3665 0 2169 95 0 95 95 0 8 0 nchpl 144 5240 0 3556 63 0 63 63 0 8 0 rtmask 32 7 0 7 2 1 1 1 0 8 1 uvmvnodes 80 4276 0 0 88 0 88 88 0 8 0 vnodes 216 4276 0 0 238 0 238 238 0 8 0 namei 1024 19253 0 19252 3 2 1 2 0 8 0 kstatmem 264 110 0 84 4 1 3 3 0 8 1 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 15220 0 15220 9 1 8 8 1 8 8 plimitpl 152 211 0 195 1 0 1 1 0 8 0 sigapl 424 1482 0 1438 8 0 8 8 0 8 1 knotepl 120 323849 0 323734 28 17 11 16 0 8 7 kqueuepl 184 526 0 515 4 3 1 4 0 8 0 pipepl 296 260 0 233 3 0 3 3 0 8 0 fdescpl 440 1443 0 1416 5 1 4 5 0 8 0 filepl 120 9704 0 9491 13 3 10 11 0 8 2 lockfpl 104 258 0 256 1 0 1 1 0 8 0 lockfspl 48 113 0 111 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 107 0 91 1 0 1 1 0 8 0 ucredpl 104 1709 0 1698 1 0 1 1 0 8 0 zombiepl 144 1745 0 1745 1 0 1 1 0 8 1 processpl 1128 1482 0 1438 5 0 5 5 0 8 0 procpl 656 3153 0 3101 8 0 8 8 0 8 2 sosppl 168 9 0 9 2 1 1 1 0 8 1 sockpl 528 2220 0 2188 15 8 7 11 0 8 4 mcl64k 65536 74 0 72 1 0 1 1 0 8 0 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 53 0 53 2 1 1 1 0 8 1 mcl4k 4096 3841 0 3787 15 7 8 14 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1330 0 1327 5 3 2 4 0 8 1 mtagpl 96 35 0 9 1 0 1 1 0 8 0 mbufpl 256 15507 0 15323 47 30 17 44 0 8 2 bufpl 280 4990 0 127 348 0 348 348 0 8 0 anonpl 24 209765 0 201691 76 0 76 76 0 187 0 amapchunkpl 152 39647 0 39163 36 4 32 32 0 158 7 amappl16 200 3870 0 3609 28 1 27 27 0 8 1 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 117 0 107 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 2089 0 2063 3 1 2 3 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 251 0 250 1 0 1 1 0 8 0 amappl8 136 21 0 19 1 0 1 1 0 8 0 amappl7 128 102 0 91 1 0 1 1 0 8 0 amappl6 120 191 0 187 1 0 1 1 0 8 0 amappl5 112 124 0 117 1 0 1 1 0 8 0 amappl4 104 304 0 289 1 0 1 1 0 8 0 amappl3 96 8108 0 8020 4 0 4 4 0 8 0 amappl2 88 658 0 600 2 0 2 2 0 8 0 amappl1 80 12812 0 12279 14 1 13 14 0 8 0 amappl 88 11105 0 10960 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 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 7 0 7 1 1 0 1 0 8 0 dma128 128 254 0 254 1 1 0 1 0 8 0 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 98 0 6 2 0 2 2 0 8 0 uaddrrnd 24 1443 0 1416 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1443 0 1416 1 0 1 1 0 8 0 vmmpekpl 168 12131 0 12081 3 0 3 3 0 8 0 vmmpepl 168 94572 0 92614 110 5 105 105 0 357 5 vmsppl 360 1442 0 1416 4 1 3 4 0 8 0 rwobjpl 32 29532 0 24101 45 0 45 45 0 8 0 pdppl 4096 2893 0 2832 107 40 67 83 0 8 6 pvpl 32 605863 0 593045 168 16 152 156 0 265 15 pmappl 216 1442 0 1416 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 325 0 92 8 1 7 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7e2cf0,ffff80003c9b6fd0,ffff80003c9b6f20) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c9b6fd0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9b6fd0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd166aa685f0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7e2cf0,ffff80003c9b6fd0,ffff80003c9b6f20) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c9b6fd0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9b6fd0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd166aa685f0, count: -3