kernel: protection fault trap, code=0 Stopped at sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80002a7f1738,ffff80003c9aff20,ffff80003c9afe70) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff80003c9aff20) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9aff20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf2668608eb0, count: -3 ddb> show registers rdi 0 rsi 0x405 rbp 0xffff80003c9afe40 rbx 0 rdx 0 rcx 0x213 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0xc2d6b9586fdfe38a r11 0xcc12d893e3d5ac7c r12 0xffff8000014b5f04 r13 0x405 r14 0xffff80003c9aff20 r15 0x405 rip 0xffffffff828b2a6e sys_semop+0x3ae cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9afd20 ss 0x10 sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb> show proc PROC (syz-executor) tid=55810 pid=95577 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=0xffff80002a7f0a68,0xffff80002a7f1228 process=0xffff8000339171f0 user=0xffff80003c9aa000, vmspace=0xfffffd806c27c2e0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 95577 216142 82229 0 2 0 syz-executor 95577 123478 82229 0 2 0x4000000 syz-executor *95577 55810 82229 0 7 0x4000000 syz-executor 95577 4375 82229 0 3 0x4000080 fsleep syz-executor 34477 30109 78832 0 3 0x80 fsleep syz-executor 34477 96110 78832 0 3 0x4000080 kqread syz-executor 97913 355453 37924 0 3 0x80 fsleep syz-executor 97913 282353 37924 0 3 0x4000080 kqread syz-executor 57821 311551 82900 0 3 0x80 fsleep syz-executor 57821 339595 82900 0 3 0x4000080 kqpoll syz-executor 28718 267152 3622 0 3 0x80 fsleep syz-executor 28718 129333 3622 0 3 0x4000080 pipewr syz-executor 24756 72210 32360 0 3 0x80 nanoslp syz-executor 24756 318800 32360 0 3 0x4000080 fsleep syz-executor 24756 31247 32360 0 3 0x4000080 kqsel syz-executor 24756 298164 32360 0 3 0x4000080 fsleep syz-executor 69760 468110 87238 0 3 0x80 fsleep syz-executor 69760 265527 87238 0 3 0x4000080 fsleep syz-executor 69760 236896 87238 0 3 0x4000080 bell syz-executor 45928 315413 30918 0 3 0x80 fsleep syz-executor 45928 150979 30918 0 3 0x4000080 sbwait syz-executor 74566 169745 0 0 3 0x14200 acct acct 20103 5377 0 0 3 0x14200 bored sosplice 32360 311453 35664 0 3 0x82 nanoslp syz-executor 37924 254264 35664 0 3 0x82 nanoslp syz-executor 82229 488686 35664 0 3 0x82 nanoslp syz-executor 78832 215762 35664 0 3 0x82 nanoslp syz-executor 82900 206911 35664 0 3 0x82 nanoslp syz-executor 87238 3192 35664 0 3 0x82 nanoslp syz-executor 30918 380091 35664 0 3 0x82 nanoslp syz-executor 3622 402155 35664 0 3 0x82 nanoslp syz-executor 35664 24797 70673 0 3 0x82 kqread syz-executor 70673 138929 13007 0 3 0x10008a sigsusp ksh 13007 50920 12394 0 3 0x98 kqread sshd-session 12394 492166 61217 0 3 0x92 kqread sshd-session 10195 106122 1 0 3 0x100083 ttyin getty 61217 385958 1 0 3 0x88 kqread sshd 58824 137339 85141 73 3 0x1100090 kqread syslogd 85141 136116 1 0 3 0x100082 sbwait syslogd 94391 417332 1 0 3 0x100080 kqread resolvd 29525 243543 34808 77 3 0x100092 kqread dhcpleased 59819 245621 34808 77 3 0x100092 kqread dhcpleased 34808 102841 1 0 3 0x80 kqread dhcpleased 76894 432385 0 0 3 0x14200 bored smr 88542 99904 0 0 2 0x14200 zerothread 49823 92365 0 0 3 0x14200 aiodoned aiodoned 22489 472837 0 0 3 0x14200 syncer update 77692 270919 0 0 3 0x14200 cleaner cleaner 12037 499323 0 0 3 0x14200 reaper reaper 90805 365003 0 0 3 0x14200 pgdaemon pagedaemon 15028 229260 0 0 3 0x14200 bored viomb 35327 231540 0 0 3 0x40014200 acpi0 acpi0 14284 204268 0 0 3 0x14200 bored softnet3 95934 64262 0 0 3 0x14200 bored softnet2 4854 454721 0 0 3 0x14200 bored softnet1 6579 78798 0 0 3 0x14200 bored softnet0 35001 499762 0 0 3 0x14200 bored systqmp 75955 321736 0 0 3 0x14200 bored systq 89769 495073 0 0 3 0x40014200 tmoslp softclock 14300 250685 0 0 3 0x40014200 idle0 1 335128 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 10194 11055K 12010K 166960K 13286 0 pcb 18 14K 22K 166960K 620 0 rtable 106 6K 7K 166960K 530 0 pf 33 13K 22K 166960K 114 0 ifaddr 26 3K 7K 166960K 82 0 ifgroup 48 2K 2K 166960K 119 0 sysctl 4 1K 9K 166960K 16 0 counters 32 17K 18K 166960K 73 0 ioctlops 0 0K 4K 166960K 216 0 iov 1 4K 16K 166960K 59 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1510 95K 95K 166960K 2459 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 34 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 84 0 dirhash 9 1K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 106K 166960K 1241 0 sigio 0 0K 0K 166960K 19 0 proc 60 59K 83K 166960K 589 0 subproc 72 4K 4K 166960K 74 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 128 0 in_multi 34 2K 7K 166960K 143 0 ether_multi 1 0K 0K 166960K 8 0 mrt 2 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 536 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 243 153K 167K 166960K 12902 0 UVM aobj 22 2K 2K 166960K 28 0 pinsyscall 39 78K 90K 166960K 2281 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 78 0 NDP 11 0K 2K 166960K 53 0 temp 75 8687K 8760K 166960K 62881 0 kqueue 14 22K 28K 166960K 184 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 122 0 119 1 0 1 1 0 8 0 rtentry 136 143 0 106 4 0 4 4 0 8 0 unpcb 144 801 0 781 6 0 6 6 0 8 5 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 340 0 335 7 0 7 7 0 8 6 arp 88 19 0 13 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 1484 0 1475 8 1 7 7 0 8 5 ip6q 72 3 0 3 1 0 1 1 0 8 1 ip6af 40 5 0 5 1 0 1 1 0 8 1 nd6 104 29 0 22 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 33 0 32 1 0 1 1 0 8 0 pppxif 1384 4 0 4 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 3 0 3 1 0 1 1 0 8 1 pftag 88 6 0 2 1 0 1 1 0 8 0 pfqueue 320 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 5 0 1 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1344 13 0 12 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 6 0 3 4 0 4 4 0 8 1 art_heap4 256 701 0 513 30 4 26 30 0 8 8 art_table 32 707 0 516 4 0 4 4 0 8 0 art_node 16 138 0 106 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 77 0 68 1 0 1 1 0 8 0 shmpl 112 25 0 6 1 0 1 1 0 8 0 dirhash 1024 25 0 18 3 0 3 3 0 8 1 dino2pl 256 3566 0 2075 95 0 95 95 0 8 0 ffsino 248 3566 0 2075 95 0 95 95 0 8 0 nchpl 144 5403 0 3720 63 0 63 63 0 8 0 rtmask 32 7 0 7 1 0 1 1 0 8 1 uvmvnodes 80 4410 0 0 90 0 90 90 0 8 0 vnodes 216 4410 0 0 245 0 245 245 0 8 0 namei 1024 18053 0 18052 4 2 2 2 0 8 1 kstatmem 264 72 0 50 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 21000 0 21000 9 1 8 8 1 8 8 plimitpl 152 292 0 275 1 0 1 1 0 8 0 sigapl 424 1523 0 1475 6 0 6 6 0 8 0 knotepl 120 221295 0 221246 15 5 10 15 0 8 8 kqueuepl 184 592 0 577 4 0 4 4 0 8 3 pipepl 296 374 0 346 8 0 8 8 0 8 5 fdescpl 440 1501 0 1471 4 0 4 4 0 8 0 filepl 120 10146 0 9917 15 0 15 15 0 8 7 lockfpl 104 557 0 554 2 0 2 2 0 8 1 lockfspl 48 242 0 239 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 46 0 30 1 0 1 1 0 8 0 ucredpl 104 1182 0 1169 1 0 1 1 0 8 0 zombiepl 144 2127 0 2127 2 1 1 1 0 8 1 processpl 1160 1523 0 1475 4 0 4 4 0 8 0 procpl 656 3384 0 3323 6 0 6 6 0 8 0 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 528 2517 0 2484 16 5 11 15 0 8 8 mcl64k 65536 70 0 70 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3994 0 3942 16 8 8 16 0 8 0 mcl2k2 2112 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 1221 0 1218 3 0 3 3 0 8 2 mtagpl 96 42 0 32 1 0 1 1 0 8 0 mbufpl 256 15500 0 15402 19 0 19 19 0 8 8 bufpl 280 6947 0 720 445 0 445 445 0 8 0 anonpl 24 201237 0 194683 70 0 70 70 0 187 18 amapchunkpl 152 44219 0 43630 33 0 33 33 0 158 8 amappl16 200 2751 0 2590 29 9 20 20 0 8 8 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 109 0 99 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 2117 0 2087 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 3 0 2 1 0 1 1 0 8 0 amappl9 144 268 0 267 2 1 1 1 0 8 0 amappl8 136 16 0 14 1 0 1 1 0 8 0 amappl7 128 99 0 88 1 0 1 1 0 8 0 amappl6 120 169 0 165 1 0 1 1 0 8 0 amappl5 112 107 0 100 1 0 1 1 0 8 0 amappl4 104 288 0 273 1 0 1 1 0 8 0 amappl3 96 8744 0 8627 4 0 4 4 0 8 1 amappl2 88 643 0 588 2 0 2 2 0 8 0 amappl1 80 13065 0 12505 15 1 14 14 0 8 1 amappl 88 11995 0 11816 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma2048 2048 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 8 0 8 2 1 1 1 0 8 1 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 21 0 20 1 0 1 1 0 8 0 aobjpl 72 27 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1501 0 1471 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1501 0 1471 1 0 1 1 0 8 0 vmmpekpl 168 13719 0 13684 3 0 3 3 0 8 0 vmmpepl 168 96781 0 94718 101 2 99 99 0 357 6 vmsppl 360 1500 0 1471 4 1 3 4 0 8 0 rwobjpl 32 29305 0 23869 44 0 44 44 0 8 0 pdppl 4096 3008 0 2942 103 37 66 76 0 8 0 pvpl 32 621488 0 609211 152 4 148 148 0 265 33 pmappl 216 1500 0 1471 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 297 0 56 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7f1738,ffff80003c9aff20,ffff80003c9afe70) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff80003c9aff20) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9aff20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf2668608eb0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7f1738,ffff80003c9aff20,ffff80003c9afe70) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff80003c9aff20) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9aff20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf2668608eb0, count: -3