kernel: protection fault trap, code=0 Stopped at sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80002a8d42a8,ffff8000315059d0,ffff800031505920) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff8000315059d0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000315059d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6d257a0fdf0, count: -3 ddb> show registers rdi 0 rsi 0x4 rbp 0xffff8000315058f0 rbx 0 rdx 0 rcx 0xc rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0xfa969db0e483b418 r11 0xab96875c90a7672d r12 0xffff8000015a9884 r13 0x4 r14 0xffff8000315059d0 r15 0x4 rip 0xffffffff820f8bce sys_semop+0x3ae cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000315057d0 ss 0x10 sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb> show proc PROC (syz-executor) tid=126645 pid=87463 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=77, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a8d5208,0xffff80002a8d4028 process=0xffff8000ffff5a28 user=0xffff800031500000, vmspace=0xfffffd8070713018 estcpu=27, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65962 169112 5581 0 2 0 syz-executor 65962 22001 5581 0 3 0x4000080 fsleep syz-executor 73916 117496 92190 0 3 0x80 nanoslp syz-executor 73916 503251 92190 0 3 0x4000080 fsleep syz-executor 73916 268920 92190 0 3 0x4000000 futex syz-executor 87463 22343 75738 0 2 0 syz-executor *87463 126645 75738 0 7 0x4000000 syz-executor 87463 482922 75738 0 2 0x4000000 syz-executor 87463 383380 75738 0 3 0x4000080 fsleep syz-executor 18600 338197 60618 0 2 0 syz-executor 18600 427824 60618 0 2 0x4000000 syz-executor 18600 36853 60618 0 3 0x4000080 fsleep syz-executor 11737 410527 70968 0 2 0 syz-executor 11737 216518 70968 0 2 0x4000000 syz-executor 11737 364017 70968 0 2 0x4000000 syz-executor 19434 316042 85565 0 2 0 syz-executor 19434 102855 85565 0 3 0x4000080 fsleep syz-executor 19434 271439 85565 0 2 0x4000000 syz-executor 34130 233430 57696 0 3 0x80 nanoslp syz-executor 34130 183342 57696 0 3 0x4000080 sbwait syz-executor 34130 187987 57696 0 3 0x4000080 fsleep syz-executor 62458 372587 0 0 3 0x14200 bored sosplice 92190 68303 12929 0 2 0x3 syz-executor 75738 297984 12929 0 2 0x3 syz-executor 57696 204940 12929 0 2 0x3 syz-executor 60618 97779 12929 0 2 0x3 syz-executor 5581 58026 12929 0 3 0x82 nanoslp syz-executor 81868 162551 12929 0 2 0x2 syz-executor 85565 108987 12929 0 2 0x3 syz-executor 70968 329864 12929 0 2 0x3 syz-executor 12929 393763 49475 0 3 0x82 kqread syz-executor 49475 166120 86210 0 3 0x10008a sigsusp ksh 86210 229332 47826 0 3 0x98 kqread sshd-session 47826 80110 65691 0 3 0x92 kqread sshd-session 91510 95835 1 0 3 0x100083 ttyin getty 65691 448072 1 0 3 0x88 kqread sshd 68711 297981 37339 73 3 0x1100090 kqread syslogd 37339 135452 1 0 3 0x100082 sbwait syslogd 85435 394259 1 0 3 0x100080 kqread resolvd 60978 202753 66474 77 3 0x100092 kqread dhcpleased 26757 310159 66474 77 3 0x100092 kqread dhcpleased 66474 111604 1 0 3 0x80 kqread dhcpleased 14977 196935 0 0 3 0x14200 bored smr 24516 155209 0 0 2 0x14200 zerothread 24167 488904 0 0 3 0x14200 aiodoned aiodoned 9127 32969 0 0 3 0x14200 syncer update 22184 288973 0 0 3 0x14200 cleaner cleaner 21553 182665 0 0 3 0x14200 reaper reaper 91141 372129 0 0 3 0x14200 pgdaemon pagedaemon 88764 475844 0 0 3 0x14200 bored viomb 94419 479299 0 0 3 0x40014200 acpi0 acpi0 21474 50723 0 0 3 0x14200 bored softnet3 965 483152 0 0 3 0x14200 bored softnet2 7429 22732 0 0 3 0x14200 bored softnet1 99380 27058 0 0 3 0x14200 bored softnet0 3770 348291 0 0 3 0x14200 bored systqmp 30466 328264 0 0 3 0x14200 bored systq 46345 166229 0 0 3 0x40014200 tmoslp softclock 66745 233364 0 0 3 0x40014200 idle0 1 233102 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 10182 11112K 12198K 166960K 11856 0 pcb 17 12K 12K 166960K 47 0 rtable 247 8K 9K 166960K 389 0 pf 35 13K 17K 166960K 48 0 ifaddr 45 7K 8K 166960K 50 0 ifgroup 57 2K 2K 166960K 67 0 sysctl 1 1K 1K 166960K 1 0 counters 32 17K 17K 166960K 35 0 ioctlops 0 0K 4K 166960K 47 0 iov 0 0K 6K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1466 92K 93K 166960K 1607 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 8 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 304 0 sigio 1 0K 0K 166960K 7 0 proc 60 59K 108K 166960K 486 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 24 0 in_multi 99 7K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 399 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 233 159K 170K 166960K 4544 0 UVM aobj 7 2K 2K 166960K 8 0 pinsyscall 39 78K 90K 166960K 1336 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 13 0K 2K 166960K 31 0 temp 42 8672K 8738K 166960K 12787 0 kqueue 14 22K 26K 166960K 51 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 54 0 51 1 0 1 1 0 8 0 rtentry 136 119 0 5 5 0 5 5 0 8 1 unpcb 144 201 0 186 4 0 4 4 0 8 3 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 808 46 0 40 1 0 1 1 0 8 0 arp 88 19 0 0 1 0 1 1 0 8 0 inpcb 344 197 0 185 3 1 2 2 0 8 0 nd6 104 26 0 1 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 1 1 0 1 1 0 8 0 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 1 2 0 2 2 0 8 1 art_heap4 256 471 0 14 30 0 30 30 0 8 1 art_table 32 473 0 15 4 0 4 4 0 8 0 art_node 16 118 0 15 1 0 1 1 0 8 0 semapl 112 7 0 2 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1875 0 373 95 0 95 95 0 8 0 ffsino 248 1875 0 373 95 0 95 95 0 8 0 nchpl 144 2315 0 629 63 0 63 63 0 8 0 uvmvnodes 80 2149 0 0 44 0 44 44 0 8 0 vnodes 216 2149 0 0 120 0 120 120 0 8 0 namei 1024 7090 0 7090 4 2 2 2 0 8 2 kstatmem 264 30 0 4 2 0 2 2 0 8 0 scxspl 216 7898 0 7898 10 2 8 8 1 8 8 plimitpl 152 47 0 30 1 0 1 1 0 8 0 sigapl 424 584 0 537 6 0 6 6 0 8 0 futexpl 64 2727 0 2720 1 0 1 1 0 8 0 knotepl 120 8898 0 8845 9 0 9 9 0 8 7 kqueuepl 184 64 0 53 1 0 1 1 0 8 0 pipepl 296 110 0 82 3 0 3 3 0 8 0 fdescpl 440 567 0 537 5 1 4 5 0 8 0 filepl 120 2516 0 2298 14 0 14 14 0 8 7 lockfpl 104 63 0 61 1 0 1 1 0 8 0 lockfspl 48 27 0 25 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 402 0 391 1 0 1 1 0 8 0 zombiepl 144 672 0 672 2 1 1 1 0 8 1 processpl 1112 584 0 537 4 0 4 4 0 8 0 procpl 656 922 0 861 6 0 6 6 0 8 0 sockpl 528 459 0 429 8 1 7 7 0 8 4 mcl64k 65536 2 0 2 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 2 1 1 1 0 8 1 mcl4k 4096 2627 0 2576 12 3 9 12 0 8 2 mcl2k 2048 308 0 308 2 1 1 1 0 8 1 mtagpl 96 12 0 6 1 0 1 1 0 8 0 mbufpl 256 5748 0 5572 12 0 12 12 0 8 0 bufpl 280 3238 0 118 223 0 223 223 0 8 0 anonpl 24 107814 0 104633 34 3 31 31 0 187 8 amapchunkpl 152 13500 0 13006 24 0 24 24 0 158 5 amappl16 200 2029 0 1999 11 3 8 8 0 8 5 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 106 0 96 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1176 0 1147 3 1 2 3 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 32 0 31 1 0 1 1 0 8 0 amappl7 128 100 0 89 1 0 1 1 0 8 0 amappl6 120 173 0 169 1 0 1 1 0 8 0 amappl5 112 125 0 118 1 0 1 1 0 8 0 amappl4 104 303 0 288 1 0 1 1 0 8 0 amappl3 96 2428 0 2316 4 0 4 4 0 8 1 amappl2 88 622 0 567 2 0 2 2 0 8 0 amappl1 80 8898 0 8350 15 1 14 14 0 8 1 amappl 88 3857 0 3689 5 0 5 5 0 92 1 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 7 0 1 1 0 1 1 0 8 0 uaddrrnd 24 567 0 537 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 567 0 537 1 0 1 1 0 8 0 vmmpekpl 168 6401 0 6367 3 0 3 3 0 8 0 vmmpepl 168 42828 0 40965 90 0 90 90 0 357 5 vmsppl 360 566 0 537 4 1 3 4 0 8 0 rwobjpl 32 16487 0 13481 25 0 25 25 0 8 0 pdppl 4096 1141 0 1074 97 30 67 79 0 8 0 pvpl 32 263128 0 254416 85 0 85 85 0 265 10 pmappl 216 566 0 537 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 268 0 41 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a8d42a8,ffff8000315059d0,ffff800031505920) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff8000315059d0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000315059d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6d257a0fdf0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a8d42a8,ffff8000315059d0,ffff800031505920) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff8000315059d0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000315059d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6d257a0fdf0, count: -3