kernel: protection fault trap, code=0 Stopped at sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80002a76a018,ffff80002c8f7ab0,ffff80002c8f7a00) at sys_semop+0x352 sys/kern/sysv_sem.c:624 syscall(ffff80002c8f7ab0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c8f7ab0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31826c398f0, count: -3 ddb> show registers rdi 0 rsi 0x7 rbp 0xffff80002c8f79e0 rbx 0xdeafbeaddeafbec5 rdx 0 rcx 0 rax 0xffff80002a76a018 r8 0x7f7fffffc000 r9 0 r10 0x781697123eed4341 r11 0xe697040a6e21c5f r12 0x7 r13 0xfffffd80691fd9a0 r14 0xffff80002c8f7ab0 r15 0x7 rip 0xffffffff81fcdf42 sys_semop+0x352 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002c8f78f0 ss 0x10 sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=8681 pid=19076 tcnt=4 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=0xffff80002a76a548,0xffff80003c902aa0 process=0xffff80002ccbb1a0 user=0xffff80002c8f2000, vmspace=0xfffffd806cb365d0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19076 352656 4153 0 2 0 syz-executor *19076 8681 4153 0 7 0x4000000 syz-executor 19076 477878 4153 0 3 0x4000080 fsleep syz-executor 19076 492688 4153 0 3 0x4000080 fsleep syz-executor 23472 264093 87872 0 2 0 syz-executor 23472 351729 87872 0 3 0x4000080 fsleep syz-executor 97910 386755 27707 0 2 0 syz-executor 97910 206542 27707 0 3 0x4000080 fsleep syz-executor 71229 67333 93711 0 2 0 syz-executor 71229 235335 93711 0 3 0x4000080 fsleep syz-executor 74233 402124 42032 0 2 0 syz-executor 74233 364988 42032 0 3 0x4000080 kqread syz-executor 47752 413750 21576 0 2 0 syz-executor 47752 493103 21576 0 3 0x4000080 sbwait syz-executor 47752 295426 21576 0 3 0x4000080 fsleep syz-executor 24528 235198 36365 60929 2 0x10 syz-executor 24528 443285 36365 60929 3 0x4000090 fsleep syz-executor 9323 356310 75825 0 3 0 vmmaplk syz-executor 9323 190229 75825 0 2 0x4000000 syz-executor 9323 70615 75825 0 3 0x4000080 fsleep syz-executor 9323 504561 75825 0 3 0x4000080 fsleep syz-executor 22680 222086 0 0 3 0x14280 nfsidl nfsio 14313 97604 0 0 3 0x14280 nfsidl nfsio 24593 391717 0 0 3 0x14280 nfsidl nfsio 49591 287887 0 0 3 0x14280 nfsidl nfsio 12837 45309 0 0 3 0x14280 nfsidl nfsio 3806 67970 0 0 3 0x14280 nfsidl nfsio 87898 183299 0 0 3 0x14280 nfsidl nfsio 57729 447519 0 0 3 0x14280 nfsidl nfsio 39734 436603 0 0 3 0x14280 nfsidl nfsio 59221 96427 0 0 3 0x14280 nfsidl nfsio 9241 87079 0 0 3 0x14280 nfsidl nfsio 43259 41002 0 0 3 0x14280 nfsidl nfsio 41173 389629 0 0 3 0x14280 nfsidl nfsio 69750 154494 0 0 3 0x14280 nfsidl nfsio 46615 258473 0 0 3 0x14280 nfsidl nfsio 67032 252008 0 0 3 0x14280 nfsidl nfsio 82889 198728 0 0 3 0x14280 nfsidl nfsio 16069 358546 0 0 3 0x14280 nfsidl nfsio 81977 196843 0 0 3 0x14280 nfsidl nfsio 66332 506280 0 0 3 0x14280 nfsidl nfsio 93711 213351 3109 0 3 0x82 nanoslp syz-executor 75825 325765 3109 0 3 0x82 nanoslp syz-executor 27707 440361 3109 0 3 0x82 nanoslp syz-executor 36365 97552 3109 0 3 0x82 nanoslp syz-executor 87872 510873 3109 0 3 0x82 nanoslp syz-executor 21576 410492 3109 0 3 0x82 nanoslp syz-executor 4153 379460 3109 0 3 0x82 nanoslp syz-executor 42032 261453 3109 0 3 0x82 nanoslp syz-executor 3109 216111 96640 0 3 0x82 kqread syz-executor 96640 490213 29011 0 3 0x10008a sigsusp ksh 29011 30213 9618 0 3 0x98 kqread sshd-session 9618 429733 83135 0 3 0x92 kqread sshd-session 82114 316831 1 0 3 0x100083 ttyopn getty 83135 487635 1 0 3 0x88 kqread sshd 7475 278643 87041 73 3 0x1100090 kqread syslogd 87041 221063 1 0 3 0x100082 sbwait syslogd 24771 333098 1 0 3 0x100080 kqread resolvd 84974 394453 84852 77 3 0x100092 kqread dhcpleased 67103 213552 84852 77 3 0x100092 kqread dhcpleased 84852 290665 1 0 3 0x80 kqread dhcpleased 35085 277199 0 0 3 0x14200 bored smr 61208 266422 0 0 2 0x14200 zerothread 1934 58698 0 0 3 0x14200 aiodoned aiodoned 43093 411697 0 0 3 0x14200 syncer update 58840 424767 0 0 3 0x14200 cleaner cleaner 44285 135582 0 0 3 0x14200 reaper reaper 19909 382867 0 0 3 0x14200 pgdaemon pagedaemon 15304 283911 0 0 3 0x14200 bored viomb 25279 24327 0 0 3 0x40014200 acpi0 acpi0 80295 225856 0 0 3 0x14200 bored softnet0 901 417052 0 0 3 0x14200 bored systqmp 24532 246039 0 0 3 0x14200 bored systq 95818 332807 0 0 3 0x40014200 tmoslp softclock 23781 363049 0 0 3 0x40014200 idle0 1 479760 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11056 12182K 12573K 166960K 13143 0 pcb 18 15K 16K 166960K 245 0 rtable 238 7K 8K 166960K 448 0 pf 33 13K 15K 166960K 107 0 ifaddr 43 7K 7K 166960K 70 0 ifgroup 55 2K 2K 166960K 98 0 sysctl 4 1K 9K 166960K 14 0 counters 34 17K 18K 166960K 59 0 ioctlops 0 0K 4K 166960K 255 0 iov 0 0K 16K 166960K 27 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1354 85K 86K 166960K 2054 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 65 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 796 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 124K 166960K 555 0 subproc 72 4K 4K 166960K 83 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 68 0 in_multi 99 7K 7K 166960K 128 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 169 758K 758K 166960K 169 0 exec 0 0K 1K 166960K 438 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 250 153K 173K 166960K 8894 0 UVM aobj 20 2K 2K 166960K 20 0 pinsyscall 39 78K 96K 166960K 1973 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 12 0K 2K 166960K 48 0 temp 53 9070K 9134K 166960K 69614 0 kqueue 14 20K 30K 166960K 137 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 85 0 82 1 0 1 1 0 8 0 rtentry 136 135 0 30 4 0 4 4 0 8 0 unpcb 144 565 0 548 8 7 1 8 0 8 0 syncache 336 10 0 10 2 1 1 1 0 8 1 tcpqe 32 11 0 11 2 1 1 1 0 8 1 tcpcb 736 262 0 251 7 5 2 7 0 8 1 arp 96 21 0 3 1 0 1 1 0 8 0 ipq 40 6 0 3 1 0 1 1 0 8 0 ipqe 40 9 0 6 1 0 1 1 0 8 0 inpcb 328 894 0 878 9 2 7 9 0 8 4 ip6q 72 10 0 3 1 0 1 1 0 8 0 ip6af 40 15 0 7 1 0 1 1 0 8 0 nd6 112 32 0 5 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 22 0 22 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 1 0 1 0 8 0 pfrule 1360 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 575 0 124 30 1 29 30 0 8 0 art_table 40 577 0 124 5 0 5 5 0 8 0 art_node 32 135 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 10 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 61 0 52 1 0 1 1 0 8 0 shmpl 112 17 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2787 0 1338 92 0 92 92 0 8 0 ffsino 256 2787 0 1338 92 0 92 92 0 8 0 nchpl 144 3852 0 2153 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3292 0 0 183 0 183 183 0 8 0 namei 1024 12984 0 12984 3 2 1 2 0 8 1 kstatmem 264 60 0 36 3 1 2 3 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 14095 0 14095 8 7 1 8 1 8 1 plimitpl 152 202 0 186 1 0 1 1 0 8 0 sigapl 424 1119 0 1056 8 0 8 8 0 8 0 knotepl 120 544859 0 544811 22 20 2 17 0 8 0 kqueuepl 184 238 0 226 3 2 1 3 0 8 0 pipepl 304 243 0 216 8 5 3 8 0 8 0 fdescpl 448 1086 0 1056 5 1 4 5 0 8 0 filepl 120 6385 0 6164 16 6 10 15 0 8 2 lockfpl 104 381 0 379 2 0 2 2 0 8 1 lockfspl 48 131 0 129 1 0 1 1 0 8 0 sessionpl 144 114 0 106 1 0 1 1 0 8 0 pgrppl 48 129 0 113 1 0 1 1 0 8 0 ucredpl 104 905 0 893 1 0 1 1 0 8 0 zombiepl 144 1114 0 1114 1 0 1 1 0 8 1 processpl 1152 1119 0 1056 5 0 5 5 0 8 0 procpl 664 2095 0 2019 7 0 7 7 0 8 0 sosppl 176 4 0 4 2 1 1 1 0 8 1 sockpl 552 1568 0 1532 17 9 8 17 0 8 4 mcl64k 65536 120 0 118 1 0 1 1 0 8 0 mcl16k 16384 8 0 8 1 1 0 1 0 8 0 mcl12k 12288 70 0 70 1 1 0 1 0 8 0 mcl8k 8192 15 0 15 2 1 1 1 0 8 1 mcl4k 4096 3449 0 3396 16 8 8 15 0 8 0 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 1098 0 1094 9 0 9 9 0 8 8 mtagpl 96 23 0 11 1 0 1 1 0 8 0 mbufpl 256 16331 0 16170 287 265 22 287 0 8 8 bufpl 280 5128 0 105 359 0 359 359 0 8 0 anonpl 24 173491 0 160555 102 11 91 102 0 187 0 amapchunkpl 152 29134 0 28449 40 7 33 35 0 158 5 amappl16 200 3081 0 2610 31 0 31 31 0 8 0 amappl15 192 2 0 1 1 0 1 1 0 8 0 amappl14 184 434 0 433 1 0 1 1 0 8 0 amappl13 176 129 0 119 1 0 1 1 0 8 0 amappl12 168 1335 0 1305 2 0 2 2 0 8 0 amappl11 160 15 0 15 1 1 0 1 0 8 0 amappl10 152 94 0 83 1 0 1 1 0 8 0 amappl9 144 284 0 284 1 1 0 1 0 8 0 amappl8 136 121 0 118 1 0 1 1 0 8 0 amappl7 128 163 0 151 1 0 1 1 0 8 0 amappl6 120 162 0 161 1 0 1 1 0 8 0 amappl5 112 138 0 130 1 0 1 1 0 8 0 amappl4 104 283 0 268 1 0 1 1 0 8 0 amappl3 96 5665 0 5545 4 0 4 4 0 8 0 amappl2 88 628 0 573 2 0 2 2 0 8 0 amappl1 80 14672 0 14119 17 2 15 15 0 8 2 amappl 88 7999 0 7813 5 0 5 5 0 92 0 uvmvnodes 80 113 0 0 3 0 3 3 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 253 0 253 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 19 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1086 0 1056 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1086 0 1056 1 0 1 1 0 8 0 vmmpekpl 168 11120 0 11080 3 0 3 3 0 8 0 vmmpepl 168 78928 0 76625 114 7 107 107 0 357 6 vmsppl 368 1085 0 1056 4 1 3 4 0 8 0 rwobjpl 40 23776 0 22325 16 0 16 16 0 8 0 pdppl 4096 2178 0 2112 114 48 66 82 0 8 0 pvpl 32 498152 0 479663 201 37 164 201 0 265 0 pmappl 216 1085 0 1056 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 674 0 337 18 0 18 18 0 8 2 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a76a018,ffff80002c8f7ab0,ffff80002c8f7a00) at sys_semop+0x352 sys/kern/sysv_sem.c:624 syscall(ffff80002c8f7ab0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c8f7ab0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31826c398f0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a76a018,ffff80002c8f7ab0,ffff80002c8f7a00) at sys_semop+0x352 sys/kern/sysv_sem.c:624 syscall(ffff80002c8f7ab0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c8f7ab0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31826c398f0, count: -3