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(ffff80002a4f2cc8,ffff80002a507850,ffff80002a5077a0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a507850) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4517314b890, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a507770 rbx 0 rdx 0xffff80000126a140 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0xfffffd807f7d7548 r10 0xf943637fa07b45a2 r11 0x62e579f42411f772 r12 0xffff80000126a144 r13 0 r14 0xffff80002a507850 r15 0 rip 0xffffffff827a767b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a507650 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor.0) tid=303288 pid=27624 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=4, usrpri=86, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4f3460,0xffff80002a4f2a50 process=0xffff8000ffffa698 user=0xffff80002a502000, vmspace=0xfffffd807eb94420 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27624 215769 73749 0 2 0x480 syz-executor.0 27624 391535 73749 0 3 0x4000080 fsleep syz-executor.0 *27624 303288 73749 0 7 0x4000000 syz-executor.0 27624 254981 73749 0 3 0x4000080 fsleep syz-executor.0 73749 232006 53038 0 3 0x82 nanoslp syz-executor.0 53038 151919 51812 0 3 0x82 kqread syz-execprog 53038 140512 51812 0 3 0x4000082 thrsleep syz-execprog 53038 294632 51812 0 3 0x4000082 thrsleep syz-execprog 53038 450460 51812 0 3 0x4000082 thrsleep syz-execprog 53038 249400 51812 0 3 0x4000082 wait syz-execprog 53038 220252 51812 0 3 0x4000082 thrsleep syz-execprog 53038 126314 51812 0 3 0x4000082 thrsleep syz-execprog 53038 44242 51812 0 3 0x4000082 thrsleep syz-execprog 53038 471915 51812 0 3 0x4000082 thrsleep syz-execprog 51812 67775 26870 0 3 0x10008a sigsusp ksh 26870 394131 78580 0 3 0x98 kqread sshd-session 78580 10081 51357 0 3 0x92 kqread sshd-session 84068 60940 1 0 3 0x100083 ttyin getty 51357 159240 1 0 3 0x88 kqread sshd 16242 150841 45545 73 3 0x1100090 kqread syslogd 45545 182888 1 0 3 0x100082 sbwait syslogd 93935 102968 1 0 3 0x100080 kqread resolvd 3164 488359 34597 77 3 0x100092 kqread dhcpleased 83927 183673 34597 77 3 0x100092 kqread dhcpleased 34597 212422 1 0 3 0x80 kqread dhcpleased 4150 209060 0 0 3 0x14200 bored smr 42457 337123 0 0 3 0x14200 pgzero zerothread 94254 375094 0 0 3 0x14200 aiodoned aiodoned 81080 215254 0 0 3 0x14200 syncer update 58821 7198 0 0 3 0x14200 cleaner cleaner 85078 153580 0 0 3 0x14200 reaper reaper 5638 243955 0 0 3 0x14200 pgdaemon pagedaemon 62838 377601 0 0 3 0x14200 bored viomb 6645 100370 0 0 3 0x40014200 acpi0 acpi0 24422 32473 0 0 3 0x14200 bored softnet3 14455 476307 0 0 3 0x14200 bored softnet2 69038 41084 0 0 3 0x14200 bored softnet1 86217 17649 0 0 3 0x14200 bored softnet0 13127 438899 0 0 3 0x14200 bored systqmp 98429 268747 0 0 3 0x14200 bored systq 17239 388706 0 0 3 0x40014200 tmoslp softclock 24567 76569 0 0 3 0x40014200 idle0 1 494366 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 10144 11023K 11052K 166960K 11225 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 12K 166960K 35 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 324 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 143 14K 15K 166960K 3359 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 26 52K 104K 166960K 1199 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 6860K 6924K 166960K 3928 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 328 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 192 0 48 9 0 9 9 0 8 0 art_table 32 193 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 1559 0 73 94 0 94 94 0 8 1 ffsino 240 1559 0 73 88 0 88 88 0 8 0 nchpl 144 1822 0 96 64 0 64 64 0 8 0 uvmvnodes 80 1568 0 0 32 0 32 32 0 8 0 vnodes 216 1568 0 0 88 0 88 88 0 8 0 namei 1024 6682 0 6682 3 0 3 3 0 8 3 kstatmem 264 10 0 2 1 0 1 1 0 8 0 scxspl 216 8395 0 8395 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 7 0 5 1 0 1 1 0 8 0 knotepl 120 7210 0 7173 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 1906 0 1836 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 147 0 136 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 374 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 9493 0 9435 21 5 16 19 0 8 8 mcl2k 2048 91 0 91 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 12715 0 12640 10 0 10 10 0 8 5 bufpl 280 4417 0 209 301 0 301 301 0 8 0 anonpl 24 196926 0 193478 54 0 54 54 0 187 22 amapchunkpl 152 11480 0 11145 27 0 27 27 0 158 12 amappl16 200 4257 0 4188 5 0 5 5 0 8 0 amappl15 192 17 0 16 1 0 1 1 0 8 0 amappl14 184 183 0 172 2 0 2 2 0 8 1 amappl13 176 5 0 5 1 0 1 1 0 8 1 amappl12 168 954 0 935 2 0 2 2 0 8 1 amappl11 160 78 0 66 1 0 1 1 0 8 0 amappl10 152 49 0 48 1 0 1 1 0 8 0 amappl9 144 1008 0 1008 1 0 1 1 0 8 1 amappl8 136 153 0 134 1 0 1 1 0 8 0 amappl7 128 199 0 183 2 0 2 2 0 8 0 amappl6 120 261 0 256 2 0 2 2 0 8 1 amappl5 112 148 0 142 1 0 1 1 0 8 0 amappl4 104 481 0 461 2 0 2 2 0 8 1 amappl3 96 1191 0 1142 2 0 2 2 0 8 0 amappl2 88 951 0 892 4 0 4 4 0 8 1 amappl1 80 14470 0 13975 27 7 20 23 0 8 9 amappl 88 2664 0 2577 4 0 4 4 0 92 1 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 11117 0 11096 2 0 2 2 0 8 0 vmmpepl 168 53168 0 51867 118 0 118 118 0 357 54 vmsppl 352 378 0 363 3 0 3 3 0 8 1 rwobjpl 24 23749 0 21401 20 0 20 20 0 8 1 pdppl 4096 764 0 726 100 42 58 62 0 8 20 pvpl 32 516347 0 508123 397 102 295 397 0 265 215 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 341 0 47 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a4f2cc8,ffff80002a507850,ffff80002a5077a0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a507850) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4517314b890, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a4f2cc8,ffff80002a507850,ffff80002a5077a0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80002a507850) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4517314b890, count: -3