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(ffff80002a7dca78,ffff80002a7cfda0,ffff80002a7cfcf0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a7cfda0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7cfda0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b87d2d54c0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a7cfcd0 rbx 0xdeafbeaddeb07ead rdx 0 rcx 0 rax 0xdeafbeaddeb07ead r8 0x7f7fffffc000 r9 0 r10 0xf73e76e0e3b6ac45 r11 0xf81386a3c349ccfc r12 0 r13 0xfffffd8066695e00 r14 0xffff80002a7cfda0 r15 0 rip 0xffffffff8147a3b5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a7cfbe0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=371123 pid=81493 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f54e0,0xffff80002a7dd4e8 process=0xffff80002cd28d98 user=0xffff80002a7ca000, vmspace=0xfffffd806ba3a010 estcpu=36, cpticks=19, pctcpu=0.0, user=0, sys=19, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 33592 187116 52659 0 2 0 syz-executor 33592 379356 52659 0 3 0x4000080 fsleep syz-executor 27379 489212 73071 0 2 0 syz-executor 27379 249151 73071 0 3 0x4000080 fsleep syz-executor 24748 270160 39383 0 2 0 syz-executor 24748 513058 39383 0 3 0x4000080 fsleep syz-executor 24748 441835 39383 0 3 0x4000080 fsleep syz-executor 58709 278109 39533 0 2 0 syz-executor 58709 280056 39533 0 3 0x4000080 fsleep syz-executor 81493 66936 91578 0 2 0 syz-executor *81493 371123 91578 0 7 0x4000000 syz-executor 81493 463752 91578 0 3 0x4000080 fsleep syz-executor 52659 514538 95987 0 2 0xc82 syz-executor 62925 382925 0 0 3 0x14200 acct acct 80349 289704 1 0 3 0x100083 ttyin getty 14666 252268 0 0 3 0x14200 bored sosplice 25246 220595 95987 0 2 0x3 syz-executor 41528 464237 95987 0 2 0x2 syz-executor 39533 490380 95987 0 2 0xc82 syz-executor 91578 217675 95987 0 2 0xc82 syz-executor 39383 70758 95987 0 2 0xc82 syz-executor 73071 278561 95987 0 2 0xc82 syz-executor 64569 465234 95987 0 3 0x82 wait syz-executor 95987 44742 82377 0 3 0x82 kqread syz-executor 82377 208360 49178 0 3 0x10008a sigsusp ksh 49178 176129 75844 0 3 0x98 kqread sshd-session 75844 259992 53073 0 3 0x92 kqread sshd-session 53073 417481 1 0 3 0x88 kqread sshd 92008 512721 37126 73 3 0x1100090 kqread syslogd 37126 22586 1 0 3 0x100082 sbwait syslogd 72898 377284 1 0 3 0x100080 kqread resolvd 97849 287211 0 0 3 0x14200 bored smr 94476 320436 0 0 2 0x14200 zerothread 59613 501342 0 0 3 0x14200 aiodoned aiodoned 32070 73267 0 0 3 0x14200 syncer update 29133 61461 0 0 3 0x14200 cleaner cleaner 57417 3704 0 0 3 0x14200 reaper reaper 99372 71889 0 0 3 0x14200 pgdaemon pagedaemon 56841 350813 0 0 3 0x14200 bored viomb 31246 447593 0 0 3 0x40014200 acpi0 acpi0 43036 310302 0 0 3 0x14200 bored softnet7 10770 270317 0 0 3 0x14200 bored softnet6 72846 253519 0 0 3 0x14200 bored softnet5 15980 446103 0 0 3 0x14200 bored softnet4 36293 423817 0 0 3 0x14200 bored softnet3 71168 156099 0 0 3 0x14200 bored softnet2 77536 147439 0 0 3 0x14200 bored softnet1 28678 61311 0 0 2 0x14200 softnet0 90581 165504 0 0 3 0x14200 bored systqmp 55773 126147 0 0 3 0x14200 bored systq 92080 434128 0 0 2 0x40014200 softclock 64511 399286 0 0 3 0x40014200 idle0 1 147631 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 10201 11043K 12258K 166960K 13043 0 pcb 17 18K 20K 166960K 508 0 rtable 191 7K 8K 166960K 412 0 pf 31 13K 14K 166960K 116 0 ifaddr 39 7K 8K 166960K 91 0 ifgroup 50 2K 2K 166960K 147 0 sysctl 4 1K 9K 166960K 84 0 counters 32 17K 18K 166960K 85 0 ioctlops 0 0K 4K 166960K 416 0 iov 0 0K 36K 166960K 255 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1483 93K 94K 166960K 2482 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 69 0 dirhash 12 2K 2K 166960K 48 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 1450 0 sigio 0 0K 0K 166960K 55 0 proc 54 43K 91K 166960K 663 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 196 0 in_multi 85 6K 7K 166960K 168 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 671 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 185 133K 177K 166960K 14315 0 UVM aobj 37 4K 4K 166960K 40 0 pinsyscall 32 64K 92K 166960K 2497 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 101 0 NDP 11 0K 2K 166960K 64 0 temp 75 8648K 8776K 166960K 49254 0 kqueue 8 13K 28K 166960K 252 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 124 0 123 1 0 1 1 0 8 0 rtentry 136 138 0 59 4 0 4 4 0 8 0 unpcb 144 1351 0 1341 11 5 6 6 0 8 5 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 476 0 472 10 9 1 10 0 8 0 arp 88 19 0 6 1 0 1 1 0 8 0 ipq 40 6 0 6 1 0 1 1 0 8 1 ipqe 40 42 0 42 1 0 1 1 0 8 1 inpcb 328 1778 0 1774 16 7 9 10 0 8 8 ip6q 72 37 0 35 1 0 1 1 0 8 0 ip6af 40 75 0 73 1 0 1 1 0 8 0 nd6 104 23 0 9 1 0 1 1 0 8 0 pkpcb 40 12 0 12 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 44 0 44 2 1 1 1 0 8 1 pppxif 1384 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 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 2 0 0 2 0 2 2 0 8 0 art_heap4 256 699 0 320 32 3 29 30 0 8 4 art_table 40 701 0 320 5 0 5 5 0 8 0 art_node 32 138 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semapl 112 65 0 56 1 0 1 1 0 8 0 shmpl 112 37 0 3 1 0 1 1 0 8 0 dirhash 1024 42 0 25 3 0 3 3 0 8 0 dino2pl 256 4076 0 2585 95 0 95 95 0 8 0 ffsino 256 4076 0 2585 95 0 95 95 0 8 0 nchpl 144 6213 0 4530 63 0 63 63 0 8 0 rtmask 32 9 0 9 2 1 1 1 0 8 1 uvmvnodes 80 4521 0 0 93 0 93 93 0 8 0 vnodes 216 4521 0 0 252 0 252 252 0 8 0 namei 1024 22651 0 22651 2 1 1 1 0 8 1 kstatmem 264 92 0 70 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 23023 0 23023 9 7 2 8 1 8 2 plimitpl 152 474 0 458 1 0 1 1 0 8 0 sigapl 424 1738 0 1690 9 0 9 9 0 8 1 knotepl 120 55666 0 55634 38 27 11 17 0 8 8 kqueuepl 184 617 0 610 4 3 1 4 0 8 0 pipepl 304 307 0 278 8 5 3 8 0 8 0 fdescpl 448 1693 0 1667 5 1 4 5 0 8 0 filepl 120 12406 0 12207 16 5 11 13 0 8 3 lockfpl 104 705 0 702 2 1 1 2 0 8 0 lockfspl 48 317 0 314 1 0 1 1 0 8 0 sessionpl 144 26 0 19 1 0 1 1 0 8 0 pgrppl 48 98 0 83 1 0 1 1 0 8 0 ucredpl 104 1876 0 1868 1 0 1 1 0 8 0 zombiepl 144 1989 0 1988 1 0 1 1 0 8 0 processpl 1152 1738 0 1690 6 0 6 6 0 8 1 procpl 664 3843 0 3788 8 0 8 8 0 8 2 sosppl 168 7 0 7 1 0 1 1 0 8 1 sockpl 552 3377 0 3362 23 13 10 17 0 8 8 mcl64k 65536 161 0 161 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 20 0 20 2 1 1 1 0 8 1 mcl4k 4096 4277 0 4221 16 8 8 16 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 2202 0 2197 3 1 2 3 0 8 0 mtagpl 96 14 0 11 1 0 1 1 0 8 0 mbufpl 256 19104 0 18966 25 10 15 25 0 8 2 bufpl 280 9078 0 2850 446 0 446 446 0 8 0 anonpl 24 239211 0 236567 72 38 34 69 0 187 4 amapchunkpl 152 49071 0 48665 43 14 29 34 0 158 9 amappl16 200 3874 0 3846 44 38 6 28 0 8 1 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 112 0 105 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 2317 0 2292 2 0 2 2 0 8 0 amappl11 160 61 0 55 1 0 1 1 0 8 0 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 14 0 13 1 0 1 1 0 8 0 amappl7 128 102 0 94 1 0 1 1 0 8 0 amappl6 120 179 0 176 1 0 1 1 0 8 0 amappl5 112 117 0 113 1 0 1 1 0 8 0 amappl4 104 306 0 290 1 0 1 1 0 8 0 amappl3 96 9848 0 9760 4 0 4 4 0 8 0 amappl2 88 654 0 615 2 0 2 2 0 8 0 amappl1 80 13890 0 13442 14 0 14 14 0 8 1 amappl 88 13372 0 13232 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 255 0 255 2 1 1 1 0 8 1 dma64 64 8 0 8 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 39 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1693 0 1667 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1693 0 1667 1 0 1 1 0 8 0 vmmpekpl 168 14709 0 14678 2 0 2 2 0 8 0 vmmpepl 168 109642 0 108130 105 16 89 105 0 357 13 vmsppl 368 1692 0 1667 4 1 3 4 0 8 0 rwobjpl 40 32355 0 27115 54 0 54 54 0 8 0 pdppl 4096 3392 0 3334 112 52 60 78 0 8 2 pvpl 32 717201 0 710007 161 55 106 145 0 265 22 pmappl 216 1692 0 1667 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 416 0 93 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7dca78,ffff80002a7cfda0,ffff80002a7cfcf0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a7cfda0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7cfda0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b87d2d54c0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7dca78,ffff80002a7cfda0,ffff80002a7cfcf0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a7cfda0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7cfda0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b87d2d54c0, count: -3