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(ffff80002a4a71d0,ffff80002a4f7db0,ffff80002a4f7d00) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a4f7db0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x22c3a165630, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a4f7cd0 rbx 0 rdx 0xffff800001162f80 rcx 0 rax 0xdeafbeaddeafbead r8 0x7f7fffffc000 r9 0xfffffd807f7d78f0 r10 0x71e1f71a025be12d r11 0x420781b1c0f98a21 r12 0xffff800001162f84 r13 0 r14 0xffff80002a4f7db0 r15 0 rip 0xffffffff82a628eb sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a4f7bb0 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor.0) tid=11616 pid=37153 tcnt=4 stat=onproc flags process=8000000 proc=4000000 runpri=4, usrpri=86, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4a76e0,0xffff80002a4a7468 process=0xffff80002a4e2cd0 user=0xffff80002a4f2000, vmspace=0xfffffd807ec83d70 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37153 227944 38737 0 2 0x8000480 syz-executor.0 37153 95213 38737 0 3 0xc000080 fsleep syz-executor.0 *37153 11616 38737 0 7 0xc000000 syz-executor.0 37153 188382 38737 0 3 0xc000080 fsleep syz-executor.0 38737 120766 97047 0 2 0x8000482 syz-executor.0 97047 501750 75816 0 3 0x18000082 kqread syz-execprog 97047 82159 75816 0 3 0x1c000082 thrsleep syz-execprog 97047 469657 75816 0 3 0x1c000082 wait syz-execprog 97047 385701 75816 0 3 0x1c000082 thrsleep syz-execprog 97047 450656 75816 0 3 0x1c000082 thrsleep syz-execprog 97047 73431 75816 0 3 0x1c000082 thrsleep syz-execprog 97047 10218 75816 0 3 0x1c000082 thrsleep syz-execprog 97047 296594 75816 0 3 0x1c000082 thrsleep syz-execprog 97047 216168 75816 0 3 0x1c000082 thrsleep syz-execprog 75816 186032 74173 0 3 0x810008a sigsusp ksh 74173 19143 28471 0 3 0x18000098 kqread sshd-session 28471 331611 85074 0 3 0x18000092 kqread sshd-session 60297 147938 1 0 3 0x18100083 ttyin getty 85074 209627 1 0 3 0x18000088 kqread sshd 81545 364714 7802 73 3 0x19100090 kqread syslogd 7802 98814 1 0 3 0x18100082 sbwait syslogd 87798 318972 1 0 3 0x18100080 kqread resolvd 83977 309143 24715 77 3 0x18100092 kqread dhcpleased 81803 153584 24715 77 3 0x18100092 kqread dhcpleased 24715 175936 1 0 3 0x18000080 kqread dhcpleased 49006 138175 0 0 3 0x14200 bored smr 42061 358498 0 0 3 0x14200 pgzero zerothread 32934 73693 0 0 3 0x14200 aiodoned aiodoned 77650 282303 0 0 3 0x14200 syncer update 80372 95815 0 0 3 0x14200 cleaner cleaner 54623 400354 0 0 3 0x14200 reaper reaper 11042 63245 0 0 3 0x14200 pgdaemon pagedaemon 83574 87589 0 0 3 0x14200 bored viomb 90341 45383 0 0 3 0x40014200 acpi0 acpi0 38606 386764 0 0 3 0x14200 bored softnet3 80000 220296 0 0 3 0x14200 bored softnet2 39689 277497 0 0 3 0x14200 bored softnet1 22317 286817 0 0 3 0x14200 bored softnet0 23834 227566 0 0 3 0x14200 bored systqmp 65029 500250 0 0 3 0x14200 bored systq 27199 23317 0 0 3 0x40014200 tmoslp softclock 20742 367094 0 0 3 0x40014200 idle0 1 250908 0 0 3 0x8000082 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 10141 10064K 10093K 166960K 11222 0 pcb 17 12K 12K 166960K 17 0 rtable 80 2K 2K 166960K 172 0 pf 16 10K 10K 166960K 19 0 ifaddr 14 2K 2K 166960K 18 0 ifgroup 22 1K 1K 166960K 27 0 counters 23 16K 16K 166960K 24 0 ioctlops 0 0K 2K 166960K 23 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1259 79K 79K 166960K 1275 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 3 8K 12K 166960K 35 0 proc 55 58K 67K 166960K 302 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 22 1K 1K 166960K 33 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 318 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 167 15K 17K 166960K 3501 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 26 52K 104K 166960K 1182 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 6 0K 0K 166960K 9 0 temp 1 6792K 6856K 166960K 3848 0 kqueue 13 20K 20K 166960K 46 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 25 0 22 1 0 1 1 0 8 0 rtentry 112 45 0 12 1 0 1 1 0 8 0 unpcb 144 67 0 52 1 0 1 1 0 8 0 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 88 6 0 2 1 0 1 1 0 8 0 inpcb 336 38 0 32 1 0 1 1 0 8 0 nd6 104 6 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 193 0 48 10 0 10 10 0 8 0 art_table 32 194 0 48 2 0 2 2 0 8 0 art_node 16 44 0 14 1 0 1 1 0 8 0 semapl 112 1 0 1 1 0 1 1 0 8 1 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1557 0 73 93 0 93 93 0 8 0 ffsino 240 1557 0 73 88 0 88 88 0 8 0 nchpl 144 1819 0 96 64 0 64 64 0 8 0 uvmvnodes 80 1566 0 0 32 0 32 32 0 8 0 vnodes 216 1566 0 0 87 0 87 87 0 8 0 namei 1024 6520 0 6520 3 0 3 3 0 8 3 kstatmem 264 10 0 2 1 0 1 1 0 8 0 scxspl 216 8111 0 8111 8 0 8 8 1 8 8 plimitpl 152 51 0 42 1 0 1 1 0 8 0 sigapl 424 398 0 366 5 0 5 5 0 8 1 futexpl 64 9 0 7 1 0 1 1 0 8 0 knotepl 120 7146 0 7109 2 0 2 2 0 8 0 kqueuepl 184 42 0 33 1 0 1 1 0 8 0 pipepl 288 156 0 149 1 0 1 1 0 8 0 fdescpl 432 382 0 366 4 0 4 4 0 8 2 filepl 120 1821 0 1752 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 27 0 18 1 0 1 1 0 8 0 pgrppl 48 27 0 18 1 0 1 1 0 8 0 ucredpl 104 111 0 100 1 0 1 1 0 8 0 zombiepl 144 366 0 366 1 0 1 1 0 8 1 processpl 1088 398 0 366 3 0 3 3 0 8 0 procpl 648 420 0 377 5 0 5 5 0 8 1 sockpl 504 130 0 106 4 0 4 4 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 1 0 1 1 0 8 1 mcl2k 2048 19168 0 19066 60 36 24 42 0 8 8 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 23067 0 22951 26 10 16 22 0 8 8 bufpl 280 4301 0 155 297 0 297 297 0 8 0 anonpl 24 290076 0 286494 55 0 55 55 0 187 22 amapchunkpl 152 13278 0 12920 28 0 28 28 0 158 10 amappl16 200 8245 0 8179 5 0 5 5 0 8 1 amappl15 192 11 0 11 1 0 1 1 0 8 1 amappl14 184 222 0 209 2 0 2 2 0 8 1 amappl13 176 15 0 15 1 0 1 1 0 8 1 amappl12 168 970 0 951 2 0 2 2 0 8 1 amappl11 160 61 0 51 1 0 1 1 0 8 0 amappl10 152 75 0 71 1 0 1 1 0 8 0 amappl9 144 311 0 311 1 0 1 1 0 8 1 amappl8 136 192 0 175 1 0 1 1 0 8 0 amappl7 128 204 0 188 2 0 2 2 0 8 0 amappl6 120 208 0 206 1 0 1 1 0 8 0 amappl5 112 162 0 154 1 0 1 1 0 8 0 amappl4 104 456 0 438 2 0 2 2 0 8 1 amappl3 96 4182 0 4130 3 0 3 3 0 8 1 amappl2 88 1022 0 962 4 0 4 4 0 8 1 amappl1 80 14391 0 13894 26 6 20 23 0 8 9 amappl 88 2824 0 2727 4 0 4 4 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 382 0 366 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 382 0 366 1 0 1 1 0 8 0 vmmpekpl 168 12187 0 12159 2 0 2 2 0 8 0 vmmpepl 168 61456 0 60137 121 0 121 121 0 357 59 vmsppl 344 381 0 366 3 0 3 3 0 8 1 rwobjpl 24 29362 0 27007 20 0 20 20 0 8 1 pdppl 4096 771 0 732 103 44 59 63 0 8 20 pvpl 32 614482 0 605959 400 96 304 400 0 265 218 pmappl 216 381 0 366 2 0 2 2 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 403 0 90 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a4a71d0,ffff80002a4f7db0,ffff80002a4f7d00) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a4f7db0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x22c3a165630, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a4a71d0,ffff80002a4f7db0,ffff80002a4f7d00) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a4f7db0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x22c3a165630, count: -3