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(ffff80002a7e39b8,ffff80003a93b400,ffff80003a93b350) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003a93b400) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a93b400) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x901cd1b4d60, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a93b320 rbx 0 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0x989935d7a706b7e r11 0x830946342353feaa r12 0xffff8000014b0604 r13 0 r14 0xffff80003a93b400 r15 0 rip 0xffffffff828810cb sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a93b200 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=196364 pid=10282 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=80, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c9427d8,0xffff80002a7e2028 process=0xffff8000371144a0 user=0xffff80003a936000, vmspace=0xfffffd806a274e28 estcpu=30, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 92586 78510 41559 0 2 0 syz-executor 92586 272162 41559 0 3 0x4000080 fsleep syz-executor 92586 300423 41559 0 3 0x4000080 fsleep syz-executor 92586 123330 41559 0 3 0x4000080 fsleep syz-executor 95950 257179 54546 0 2 0 syz-executor 95950 213438 54546 0 3 0x4000080 fsleep syz-executor 86798 233340 29468 0 2 0 syz-executor 86798 109288 29468 0 3 0x4000080 fsleep syz-executor 86798 76957 29468 0 3 0x4000080 fsleep syz-executor 97409 155671 62531 0 2 0 syz-executor 97409 60113 62531 0 3 0x4000080 fsleep syz-executor 50973 213356 32513 0 2 0 syz-executor 50973 3624 32513 0 3 0x4000080 fsleep syz-executor 50973 421214 32513 0 2 0x4000000 syz-executor 84132 254422 50458 0 2 0 syz-executor 84132 52255 50458 0 3 0x4000080 fsleep syz-executor 84132 253621 50458 0 2 0x4000000 syz-executor 10282 314997 77033 0 2 0 syz-executor *10282 196364 77033 0 7 0x4000000 syz-executor 10282 24578 77033 0 3 0x4000080 fsleep syz-executor 10282 192749 77033 0 3 0x4000080 fsleep syz-executor 10118 119951 73547 0 2 0 syz-executor 10118 403912 73547 0 3 0x4000080 fsleep syz-executor 43726 453326 0 0 3 0x14200 bored sosplice 77033 287168 57290 0 3 0x82 nanoslp syz-executor 54546 3718 57290 0 3 0x82 nanoslp syz-executor 50458 37859 57290 0 3 0x82 nanoslp syz-executor 29468 158519 57290 0 3 0x82 nanoslp syz-executor 73547 101318 57290 0 3 0x82 nanoslp syz-executor 62531 502891 57290 0 3 0x82 nanoslp syz-executor 32513 102777 57290 0 3 0x82 nanoslp syz-executor 41559 376553 57290 0 3 0x82 nanoslp syz-executor 57290 500849 64389 0 3 0x82 kqread syz-executor 64389 469465 53460 0 3 0x10008a sigsusp ksh 53460 474211 5189 0 3 0x98 kqread sshd-session 5189 375399 69435 0 3 0x92 kqread sshd-session 25013 380381 1 0 3 0x100083 ttyin getty 69435 395892 1 0 3 0x88 kqread sshd 38465 339622 7538 73 3 0x1100090 kqread syslogd 7538 39034 1 0 3 0x100082 sbwait syslogd 36762 414261 1 0 3 0x100080 kqread resolvd 50753 26417 51231 77 3 0x100092 kqread dhcpleased 87731 429980 51231 77 3 0x100092 kqread dhcpleased 51231 66144 1 0 3 0x80 kqread dhcpleased 56458 436780 0 0 3 0x14200 bored smr 43023 112395 0 0 2 0x14200 zerothread 63738 222599 0 0 3 0x14200 aiodoned aiodoned 40889 465533 0 0 3 0x14200 syncer update 73182 82614 0 0 3 0x14200 cleaner cleaner 44163 36216 0 0 3 0x14200 reaper reaper 29372 77653 0 0 3 0x14200 pgdaemon pagedaemon 12368 50753 0 0 3 0x14200 bored viomb 15432 253125 0 0 3 0x40014200 acpi0 acpi0 53110 521100 0 0 3 0x14200 bored softnet3 63461 341589 0 0 3 0x14200 bored softnet2 55316 250539 0 0 3 0x14200 bored softnet1 81387 8516 0 0 3 0x14200 bored softnet0 79465 465875 0 0 3 0x14200 bored systqmp 67445 378499 0 0 3 0x14200 bored systq 68794 323619 0 0 3 0x40014200 tmoslp softclock 99233 347076 0 0 3 0x40014200 idle0 1 454638 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 10177 11042K 11383K 166960K 11718 0 pcb 17 12K 12K 166960K 63 0 rtable 224 9K 9K 166960K 400 0 pf 32 13K 17K 166960K 53 0 ifaddr 39 6K 7K 166960K 54 0 ifgroup 50 2K 2K 166960K 70 0 sysctl 2 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 43 0 ioctlops 0 0K 4K 166960K 56 0 iov 0 0K 12K 166960K 15 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1402 88K 88K 166960K 1604 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 362 0 sigio 0 0K 0K 166960K 3 0 proc 60 59K 124K 166960K 518 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 33 0 in_multi 88 6K 7K 166960K 113 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 368 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 237 151K 169K 166960K 4791 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 39 78K 96K 166960K 1394 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 16 0 NDP 11 0K 2K 166960K 33 0 temp 75 8688K 8753K 166960K 17172 0 kqueue 13 20K 28K 166960K 62 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 52 0 48 1 0 1 1 0 8 0 rtentry 136 120 0 22 4 0 4 4 0 8 0 unpcb 144 212 0 196 3 2 1 3 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 136 0 130 7 6 1 7 0 8 0 arp 88 20 0 4 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 302 0 292 8 6 2 7 0 8 1 ip6q 72 4 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 2 1 0 1 1 0 8 0 nd6 104 25 0 4 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 8 0 8 2 1 1 1 0 8 1 pppxif 1384 2 0 2 2 1 1 1 0 8 1 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 3 0 1 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 471 0 62 29 2 27 29 0 8 0 art_table 32 472 0 62 4 0 4 4 0 8 0 art_node 16 119 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semapl 112 7 0 2 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 1958 0 460 95 0 95 95 0 8 0 ffsino 248 1958 0 460 95 0 95 95 0 8 0 nchpl 144 2471 0 791 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 2218 0 0 46 0 46 46 0 8 0 vnodes 216 2219 0 0 124 0 124 124 0 8 0 namei 1024 7529 0 7528 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 kstatmem 264 34 0 12 2 0 2 2 0 8 0 scxspl 216 7728 0 7728 4 3 1 4 1 8 1 plimitpl 152 159 0 142 1 0 1 1 0 8 0 sigapl 424 643 0 596 7 1 6 7 0 8 0 knotepl 120 11523 0 11476 9 7 2 9 0 8 0 kqueuepl 184 83 0 74 1 0 1 1 0 8 0 pipepl 296 122 0 94 3 0 3 3 0 8 0 fdescpl 440 626 0 596 5 1 4 5 0 8 0 filepl 120 2857 0 2610 10 1 9 9 0 8 1 lockfpl 104 271 0 236 2 0 2 2 0 8 1 lockfspl 48 117 0 114 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 307 0 296 1 0 1 1 0 8 0 zombiepl 144 666 0 666 1 0 1 1 0 8 1 processpl 1160 643 0 596 4 0 4 4 0 8 0 procpl 656 1028 0 966 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 528 584 0 554 7 4 3 7 0 8 0 mcl64k 65536 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 2748 0 2700 13 6 7 13 0 8 0 mcl2k 2048 353 0 348 3 1 2 2 0 8 1 mtagpl 96 11 0 5 1 0 1 1 0 8 0 mbufpl 256 7655 0 7485 13 1 12 13 0 8 0 bufpl 280 2798 0 120 192 0 192 192 0 8 0 anonpl 24 126989 0 123813 54 21 33 44 0 187 9 amapchunkpl 152 15417 0 14894 38 11 27 31 0 158 6 amappl16 200 2260 0 2231 5 3 2 5 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 172 0 162 1 0 1 1 0 8 0 amappl13 176 6 0 6 2 1 1 1 0 8 1 amappl12 168 1280 0 1250 2 0 2 2 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 236 0 236 1 1 0 1 0 8 0 amappl8 136 28 0 27 1 0 1 1 0 8 0 amappl7 128 102 0 92 1 0 1 1 0 8 0 amappl6 120 188 0 185 1 0 1 1 0 8 0 amappl5 112 114 0 108 1 0 1 1 0 8 0 amappl4 104 280 0 265 1 0 1 1 0 8 0 amappl3 96 2740 0 2623 3 0 3 3 0 8 0 amappl2 88 621 0 565 2 0 2 2 0 8 0 amappl1 80 8814 0 8255 13 1 12 13 0 8 0 amappl 88 4117 0 3943 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 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 626 0 596 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 626 0 596 1 0 1 1 0 8 0 vmmpekpl 168 6461 0 6428 2 0 2 2 0 8 0 vmmpepl 168 45646 0 43742 86 1 85 85 0 357 2 vmsppl 360 625 0 596 4 1 3 4 0 8 0 rwobjpl 32 16874 0 13780 25 0 25 25 0 8 0 pdppl 4096 1259 0 1192 99 32 67 83 0 8 0 pvpl 32 298719 0 290492 140 37 103 122 0 265 21 pmappl 216 625 0 596 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 272 0 53 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7e39b8,ffff80003a93b400,ffff80003a93b350) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003a93b400) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a93b400) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x901cd1b4d60, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7e39b8,ffff80003a93b400,ffff80003a93b350) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003a93b400) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a93b400) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x901cd1b4d60, count: -3