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(ffff80002a823240,ffff800039d53ec0,ffff800039d53e10) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800039d53ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d53ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x158bb2d8960, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff800039d53df0 rbx 0xdeafbeaddeb038ed rdx 0 rcx 0 rax 0xdeafbeaddeb038ed r8 0x7f7fffffc000 r9 0 r10 0x2a67599d4cdb87ce r11 0xdd17a5c2b7725c04 r12 0 r13 0xfffffd805eae9ee8 r14 0xffff800039d53ec0 r15 0 rip 0xffffffff81a5fb05 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800039d53d00 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=117606 pid=41837 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=75, usrpri=75, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a823a08,0xffff80002a7f02c8 process=0xffff80003c98c010 user=0xffff800039d4e000, vmspace=0xfffffd806ba2bb90 estcpu=25, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 77153 349930 26753 0 2 0 syz-executor 77153 431042 26753 0 3 0x4000080 fsleep syz-executor 83582 408824 83640 0 2 0 syz-executor 83582 116857 83640 0 2 0x4000000 syz-executor 83582 340411 83640 0 3 0x4000080 fsleep syz-executor 48092 181082 39435 0 3 0x90 nanoslp syz-executor 48092 322526 39435 0 3 0x4000090 piperd syz-executor 48092 286361 39435 0 3 0x4000090 fsleep syz-executor 48092 125171 39435 0 3 0x4000090 fsleep syz-executor 41837 126069 52784 0 2 0 syz-executor *41837 117606 52784 0 7 0x4000000 syz-executor 41837 509452 52784 0 3 0x4000080 fsleep syz-executor 35359 522853 71630 0 2 0 syz-executor 35359 340269 71630 0 2 0x4000000 syz-executor 93464 471015 0 0 3 0x14200 bored sosplice 79547 366741 48931 0 3 0x82 sbwait sshd-session 39435 259803 72642 0 2 0xc82 syz-executor 83640 397391 72642 0 2 0xc82 syz-executor 71630 328875 72642 0 2 0xc82 syz-executor 26753 171625 72642 0 2 0xc82 syz-executor 58143 336727 72642 0 2 0xc82 syz-executor 52784 92367 72642 0 3 0x82 nanoslp syz-executor 60561 254019 72642 0 2 0x2 syz-executor 78342 195436 72642 0 3 0x82 wait syz-executor 72642 81027 5442 0 3 0x82 kqread syz-executor 5442 130541 59366 0 3 0x10008a sigsusp ksh 59366 339725 77848 0 3 0x98 kqread sshd-session 77848 52061 48931 0 3 0x92 kqread sshd-session 13074 14788 1 0 3 0x100083 ttyin getty 48931 206370 1 0 3 0x88 kqread sshd 7195 63395 4687 73 3 0x1100090 kqread syslogd 4687 430800 1 0 3 0x100082 sbwait syslogd 71668 505660 1 0 3 0x100080 kqread resolvd 37933 280679 42616 77 3 0x100092 kqread dhcpleased 56524 11453 42616 77 3 0x100092 kqread dhcpleased 42616 505462 1 0 3 0x80 kqread dhcpleased 19299 436493 0 0 3 0x14200 bored smr 19021 252411 0 0 2 0x14200 zerothread 67431 65123 0 0 3 0x14200 aiodoned aiodoned 17513 75765 0 0 3 0x14200 syncer update 75295 516874 0 0 3 0x14200 cleaner cleaner 85409 101907 0 0 3 0x14200 reaper reaper 81329 227362 0 0 3 0x14200 pgdaemon pagedaemon 99909 60998 0 0 3 0x14200 bored viomb 91361 305643 0 0 3 0x40014200 acpi0 acpi0 67073 328946 0 0 3 0x14200 bored softnet7 53473 293984 0 0 3 0x14200 bored softnet6 8378 119185 0 0 3 0x14200 bored softnet5 60033 157977 0 0 3 0x14200 bored softnet4 79204 146463 0 0 3 0x14200 bored softnet3 57148 423329 0 0 3 0x14200 bored softnet2 48501 178222 0 0 3 0x14200 bored softnet1 3238 205782 0 0 3 0x14200 bored softnet0 66688 395303 0 0 3 0x14200 bored systqmp 58221 523629 0 0 3 0x14200 bored systq 70870 436138 0 0 2 0x40014200 softclock 6700 19208 0 0 3 0x40014200 idle0 1 223116 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 10179 11050K 11222K 166960K 11383 0 pcb 18 12K 12K 166960K 80 0 rtable 198 6K 6K 166960K 303 0 pf 30 12K 14K 166960K 42 0 ifaddr 41 7K 8K 166960K 51 0 ifgroup 50 2K 2K 166960K 63 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 71 0 ioctlops 0 0K 4K 166960K 177 0 iov 0 0K 12K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1342 84K 85K 166960K 1461 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 266 0 sigio 0 0K 0K 166960K 3 0 proc 63 67K 124K 166960K 490 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 27 0 in_multi 96 7K 7K 166960K 107 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 359 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 237 160K 164K 166960K 3951 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 40 80K 96K 166960K 1303 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 31 0 NDP 11 0K 1K 166960K 31 0 temp 39 8634K 8698K 166960K 4958 0 kqueue 13 20K 24K 166960K 36 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 46 0 42 1 0 1 1 0 8 0 rtentry 136 105 0 19 4 0 4 4 0 8 0 unpcb 144 78 0 61 1 0 1 1 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 37 0 30 1 0 1 1 0 8 0 arp 88 12 0 1 1 0 1 1 0 8 0 inpcb 328 207 0 196 2 0 2 2 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 18 0 1 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 37 0 37 2 1 1 1 0 8 1 pppxif 1384 2 0 2 1 1 0 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 2 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 497 0 96 32 1 31 32 0 8 1 art_table 40 499 0 96 6 0 6 6 0 8 0 art_node 32 105 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semapl 112 2 0 2 2 1 1 1 0 8 1 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1798 0 294 95 0 95 95 0 8 0 ffsino 256 1798 0 294 95 0 95 95 0 8 0 nchpl 144 2159 0 479 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 1932 0 0 40 0 40 40 0 8 0 vnodes 216 1932 0 0 108 0 108 108 0 8 0 namei 1024 6302 0 6300 2 1 1 2 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 7393 0 7393 8 7 1 8 1 8 1 plimitpl 152 37 0 21 1 0 1 1 0 8 0 sigapl 424 552 0 501 7 1 6 7 0 8 0 knotepl 120 8584 0 8536 15 7 8 10 0 8 5 kqueuepl 184 218 0 209 8 4 4 6 0 8 3 pipepl 304 109 0 82 3 0 3 3 0 8 0 fdescpl 448 531 0 501 5 1 4 5 0 8 0 filepl 120 2136 0 1920 11 1 10 11 0 8 1 lockfpl 104 56 0 54 1 0 1 1 0 8 0 lockfspl 48 27 0 25 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 14 1 0 1 1 0 8 0 ucredpl 104 176 0 164 1 0 1 1 0 8 0 zombiepl 144 520 0 518 1 0 1 1 0 8 0 processpl 1168 552 0 501 5 1 4 5 0 8 0 procpl 664 752 0 692 6 0 6 6 0 8 0 sockpl 552 339 0 307 4 1 3 4 0 8 0 mcl64k 65536 10 0 10 1 1 0 1 0 8 0 mcl16k 16384 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 6 0 6 1 1 0 1 0 8 0 mcl4k 4096 2652 0 2601 15 7 8 15 0 8 1 mcl2k 2048 344 0 341 3 0 3 3 0 8 2 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 5126 0 4960 14 1 13 13 0 8 0 bufpl 280 3075 0 118 212 0 212 212 0 8 0 anonpl 24 106130 0 102792 46 0 46 46 0 187 19 amapchunkpl 152 11653 0 11154 23 1 22 22 0 158 0 amappl16 200 1964 0 1939 17 2 15 15 0 8 11 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 107 0 96 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1144 0 1114 3 1 2 3 0 8 0 amappl11 160 49 0 38 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 258 0 257 1 0 1 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 102 0 91 1 0 1 1 0 8 0 amappl6 120 187 0 182 1 0 1 1 0 8 0 amappl5 112 108 0 101 1 0 1 1 0 8 0 amappl4 104 280 0 266 1 0 1 1 0 8 0 amappl3 96 2035 0 1922 3 0 3 3 0 8 0 amappl2 88 637 0 574 2 0 2 2 0 8 0 amappl1 80 8639 0 8013 13 0 13 13 0 8 0 amappl 88 3283 0 3115 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 531 0 501 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 531 0 501 1 0 1 1 0 8 0 vmmpekpl 168 5739 0 5705 2 0 2 2 0 8 0 vmmpepl 168 40185 0 38218 99 0 99 99 0 357 7 vmsppl 368 530 0 501 4 1 3 4 0 8 0 rwobjpl 40 15416 0 12537 32 0 32 32 0 8 1 pdppl 4096 1068 0 1002 100 32 68 82 0 8 2 pvpl 32 254314 0 245205 120 2 118 118 0 265 33 pmappl 216 530 0 501 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 383 0 51 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a823240,ffff800039d53ec0,ffff800039d53e10) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800039d53ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d53ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x158bb2d8960, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a823240,ffff800039d53ec0,ffff800039d53e10) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800039d53ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d53ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x158bb2d8960, count: -3