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(ffff80002a5382a8,ffff80002a58fbf0,ffff80002a58fb40) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a58fbf0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b2dc7b9390, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a58fb10 rbx 0 rdx 0xffff800001256f40 rcx 0 rax 0xdeafbeaddeafbead r8 0x7f7fffffc000 r9 0xfffffd807f7d7888 r10 0x7d37afa4133b96fd r11 0x99f0930d3c7fdc76 r12 0xffff800001256f44 r13 0 r14 0xffff80002a58fbf0 r15 0 rip 0xffffffff81505a4b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a58f9f0 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor.0) tid=317204 pid=36700 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=4, usrpri=53, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a538020,0xffff80002a538540 process=0xffff8000ffff9578 user=0xffff80002a58a000, vmspace=0xfffffd807eb94ac0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36700 168541 77258 0 2 0x480 syz-executor.0 36700 516395 77258 0 3 0x4000080 fsleep syz-executor.0 *36700 317204 77258 0 7 0x4000000 syz-executor.0 36700 309152 77258 0 3 0x4000080 fsleep syz-executor.0 77258 106202 29522 0 2 0x482 syz-executor.0 29522 286125 73728 0 3 0x82 wait syz-execprog 29522 152805 73728 0 3 0x4000082 thrsleep syz-execprog 29522 133268 73728 0 3 0x4000082 thrsleep syz-execprog 29522 351915 73728 0 3 0x4000082 thrsleep syz-execprog 29522 400313 73728 0 3 0x4000082 thrsleep syz-execprog 29522 493267 73728 0 3 0x4000082 kqread syz-execprog 29522 352937 73728 0 3 0x4000082 thrsleep syz-execprog 29522 192413 73728 0 3 0x4000082 thrsleep syz-execprog 29522 355160 73728 0 3 0x4000082 thrsleep syz-execprog 29522 169563 73728 0 3 0x4000082 thrsleep syz-execprog 73728 417293 89676 0 3 0x10008a sigsusp ksh 89676 158157 4813 0 3 0x98 kqread sshd-session 4813 66900 43975 0 3 0x92 kqread sshd-session 87862 339085 1 0 3 0x100083 ttyin getty 43975 514786 1 0 3 0x88 kqread sshd 66829 138025 46965 73 3 0x1100090 kqread syslogd 46965 45839 1 0 3 0x100082 sbwait syslogd 53661 404968 1 0 3 0x100080 kqread resolvd 19450 399289 53009 77 3 0x100092 kqread dhcpleased 88089 18658 53009 77 3 0x100092 kqread dhcpleased 53009 105178 1 0 3 0x80 kqread dhcpleased 37844 30242 0 0 3 0x14200 bored smr 57121 318530 0 0 3 0x14200 pgzero zerothread 97650 219503 0 0 3 0x14200 aiodoned aiodoned 53936 309044 0 0 3 0x14200 syncer update 39566 382774 0 0 3 0x14200 cleaner cleaner 40669 456741 0 0 3 0x14200 reaper reaper 87302 385186 0 0 3 0x14200 pgdaemon pagedaemon 90556 54461 0 0 3 0x14200 bored viomb 33187 258679 0 0 3 0x40014200 acpi0 acpi0 73516 306697 0 0 3 0x14200 bored softnet3 89569 14256 0 0 3 0x14200 bored softnet2 27684 484375 0 0 3 0x14200 bored softnet1 26840 89565 0 0 3 0x14200 bored softnet0 48893 454037 0 0 3 0x14200 bored systqmp 42654 276801 0 0 3 0x14200 bored systq 720 467377 0 0 3 0x40014200 tmoslp softclock 33075 222489 0 0 3 0x40014200 idle0 1 427149 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 10142 11023K 11052K 166960K 11223 0 pcb 17 12K 12K 166960K 17 0 rtable 80 2K 2K 166960K 170 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 1260 79K 79K 166960K 1276 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 1690 195K 286K 166960K 12468 0 file desc 3 8K 13K 166960K 37 0 proc 57 58K 67K 166960K 304 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 315 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 163 15K 18K 166960K 3537 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 26 52K 104K 166960K 1172 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 6800K 6864K 166960K 3827 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 24 0 21 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 1558 0 73 94 0 94 94 0 8 1 ffsino 240 1558 0 73 88 0 88 88 0 8 0 nchpl 144 1822 0 97 64 0 64 64 0 8 0 uvmvnodes 80 1567 0 0 32 0 32 32 0 8 0 vnodes 216 1567 0 0 88 0 88 88 0 8 0 namei 1024 6529 0 6529 2 0 2 2 0 8 2 kstatmem 264 10 0 2 1 0 1 1 0 8 0 scxspl 216 8245 0 8245 8 0 8 8 1 8 8 plimitpl 152 51 0 42 1 0 1 1 0 8 0 sigapl 424 395 0 363 5 0 5 5 0 8 1 futexpl 64 8 0 6 1 0 1 1 0 8 0 knotepl 120 7090 0 7053 2 0 2 2 0 8 0 kqueuepl 184 42 0 33 1 0 1 1 0 8 0 pipepl 288 155 0 148 1 0 1 1 0 8 0 fdescpl 432 379 0 363 4 0 4 4 0 8 2 filepl 120 1816 0 1747 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 363 0 363 1 0 1 1 0 8 1 processpl 1096 395 0 363 4 0 4 4 0 8 1 procpl 648 417 0 373 5 0 5 5 0 8 0 sockpl 504 129 0 105 4 0 4 4 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 11387 0 11333 16 1 15 16 0 8 8 mcl2k 2048 92 0 92 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 15593 0 15525 8 0 8 8 0 8 3 bufpl 280 4315 0 157 297 0 297 297 0 8 0 anonpl 24 310525 0 307019 54 0 54 54 0 187 19 amapchunkpl 152 13937 0 13576 27 0 27 27 0 158 7 amappl16 200 8914 0 8849 5 0 5 5 0 8 1 amappl15 192 30 0 30 1 0 1 1 0 8 1 amappl14 184 209 0 197 2 0 2 2 0 8 0 amappl13 176 14 0 14 1 0 1 1 0 8 1 amappl12 168 968 0 951 2 0 2 2 0 8 1 amappl11 160 80 0 68 1 0 1 1 0 8 0 amappl10 152 68 0 65 1 0 1 1 0 8 0 amappl9 144 287 0 287 1 0 1 1 0 8 1 amappl8 136 106 0 87 1 0 1 1 0 8 0 amappl7 128 189 0 175 2 0 2 2 0 8 0 amappl6 120 234 0 228 1 0 1 1 0 8 0 amappl5 112 176 0 168 1 0 1 1 0 8 0 amappl4 104 461 0 443 2 0 2 2 0 8 1 amappl3 96 4316 0 4267 2 0 2 2 0 8 0 amappl2 88 1133 0 1071 4 0 4 4 0 8 2 amappl1 80 13608 0 13121 28 7 21 22 0 8 11 amappl 88 2868 0 2773 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 379 0 363 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 379 0 363 1 0 1 1 0 8 0 vmmpekpl 168 10722 0 10694 2 0 2 2 0 8 0 vmmpepl 168 60994 0 59694 120 0 120 120 0 357 56 vmsppl 344 378 0 363 3 0 3 3 0 8 1 rwobjpl 24 29666 0 27318 20 0 20 20 0 8 1 pdppl 4096 765 0 726 105 42 63 63 0 8 24 pvpl 32 632226 0 623653 441 104 337 400 0 265 256 pmappl 216 378 0 363 2 0 2 2 0 8 1 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 340 0 43 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a5382a8,ffff80002a58fbf0,ffff80002a58fb40) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a58fbf0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b2dc7b9390, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a5382a8,ffff80002a58fbf0,ffff80002a58fb40) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a58fbf0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b2dc7b9390, count: -3