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(ffff800039514fc0,ffff800035d03a30,ffff800035d03980) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff800035d03a30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d03a30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x789f4b631a0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff800035d03960 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0xfffffd8007bfd618 r10 0x34efdc88f375899d r11 0x853eabd6154a0304 r12 0 r13 0xfffffd806a836a80 r14 0xffff800035d03a30 r15 0 rip 0xffffffff8206f975 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800035d03870 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=465480 pid=24569 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800039514d28,0xffff800039515500 process=0xffff8000ffffa898 user=0xffff800035cfe000, vmspace=0xfffffd806c999e70 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 24569 215523 4092 0 3 0x80 nanoslp syz-executor *24569 465480 4092 0 7 0x4000000 syz-executor 24569 99974 4092 0 3 0x4000080 fsleep syz-executor 92712 242482 71126 -1 3 0x90 fsleep syz-executor 92712 37553 71126 -1 3 0x4000090 netacc syz-executor 92712 392025 71126 -1 3 0x4000090 fsleep syz-executor 68352 371215 57519 0 3 0x80 fsleep syz-executor 68352 251189 57519 0 3 0x4000080 kqsel syz-executor 96199 188530 29107 0 3 0x80 fsleep syz-executor 96199 337031 29107 0 2 0x4000000 syz-executor 96199 480917 29107 0 3 0x4000080 fsleep syz-executor 85431 244692 8219 0 3 0x80 fsleep syz-executor 85431 185442 8219 0 3 0x4000080 sbwait syz-executor 38286 475841 45755 0 3 0x80 fsleep syz-executor 38286 155823 45755 0 3 0x4000080 kqread syz-executor 81584 127311 21633 0 3 0x80 fsleep syz-executor 81584 188583 21633 0 3 0x4000080 dtread syz-executor 90303 145675 0 0 3 0x14200 acct acct 62396 361122 0 0 3 0x14280 nfsidl nfsio 94477 425352 0 0 3 0x14280 nfsidl nfsio 49701 267682 0 0 3 0x14280 nfsidl nfsio 76735 520958 0 0 3 0x14280 nfsidl nfsio 10143 447449 0 0 3 0x14280 nfsidl nfsio 53782 175204 0 0 3 0x14280 nfsidl nfsio 34202 344260 0 0 3 0x14280 nfsidl nfsio 98955 477791 0 0 3 0x14280 nfsidl nfsio 4529 247271 0 0 3 0x14280 nfsidl nfsio 42972 205311 0 0 3 0x14280 nfsidl nfsio 25167 493731 0 0 3 0x14280 nfsidl nfsio 16279 15798 0 0 3 0x14280 nfsidl nfsio 87681 447165 0 0 3 0x14280 nfsidl nfsio 93669 160355 0 0 3 0x14280 nfsidl nfsio 20568 12046 0 0 3 0x14280 nfsidl nfsio 43146 449135 0 0 3 0x14280 nfsidl nfsio 94273 172732 0 0 3 0x14280 nfsidl nfsio 94421 411410 0 0 3 0x14280 nfsidl nfsio 95799 397551 0 0 3 0x14280 nfsidl nfsio 34021 412942 0 0 3 0x14280 nfsidl nfsio 45755 369141 62230 0 2 0xc82 syz-executor 57519 199845 62230 0 3 0x82 nanoslp syz-executor 71126 292842 62230 0 3 0x82 nanoslp syz-executor 4092 125253 62230 0 2 0xc82 syz-executor 8219 476462 62230 0 3 0x82 nanoslp syz-executor 29107 431858 62230 0 3 0x82 nanoslp syz-executor 91239 244584 62230 0 3 0x82 wait syz-executor 21633 262838 62230 0 2 0xc82 syz-executor 62230 78398 12420 0 3 0x82 kqread syz-executor 12420 317984 16918 0 3 0x10008a sigsusp ksh 16918 44021 66162 0 3 0x98 kqread sshd-session 66162 504969 31118 0 3 0x92 kqread sshd-session 89583 480308 1 0 3 0x100083 ttyin getty 31118 115688 1 0 3 0x88 kqread sshd 20994 118058 84525 73 3 0x1100090 kqread syslogd 84525 127570 1 0 3 0x100082 sbwait syslogd 31836 232918 1 0 3 0x100080 kqread resolvd 43925 106183 1470 77 3 0x100092 kqread dhcpleased 1108 451488 1470 77 3 0x100092 kqread dhcpleased 1470 15123 1 0 3 0x80 kqread dhcpleased 58765 258914 0 0 3 0x14200 bored smr 7155 107759 0 0 3 0x14200 pgzero zerothread 89613 211110 0 0 3 0x14200 aiodoned aiodoned 40502 119299 0 0 3 0x14200 syncer update 98735 89697 0 0 3 0x14200 cleaner cleaner 43927 111538 0 0 3 0x14200 reaper reaper 35101 516460 0 0 3 0x14200 pgdaemon pagedaemon 6411 73412 0 0 3 0x14200 bored viomb 15226 294479 0 0 3 0x40014200 acpi0 acpi0 40133 343522 0 0 3 0x14200 bored softnet0 72879 147085 0 0 3 0x14200 bored systqmp 17681 58646 0 0 3 0x14200 bored systq 94642 517583 0 0 3 0x40014200 tmoslp softclock 36754 348617 0 0 3 0x40014200 idle0 1 287352 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11038 12119K 12231K 166960K 12285 0 pcb 18 13K 13K 166960K 79 0 rtable 251 9K 9K 166960K 404 0 pf 32 13K 17K 166960K 60 0 ifaddr 41 7K 7K 166960K 57 0 ifgroup 50 2K 2K 166960K 76 0 sysctl 3 1K 9K 166960K 10 0 counters 33 17K 18K 166960K 47 0 ioctlops 0 0K 4K 166960K 113 0 iov 0 0K 16K 166960K 15 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1333 84K 84K 166960K 1570 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 13 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 110K 166960K 488 0 sigio 1 0K 0K 166960K 6 0 proc 60 59K 100K 166960K 506 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 57 0 in_multi 98 7K 7K 166960K 112 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 3 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 438 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 233 143K 157K 166960K 6076 0 UVM aobj 21 7K 7K 166960K 23 0 pinsyscall 39 78K 93K 166960K 1554 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 22 0 NDP 11 0K 1K 166960K 37 0 temp 45 8672K 8736K 166960K 22133 0 kqueue 13 20K 29K 166960K 98 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 66 0 63 1 0 1 1 0 8 0 rtentry 136 117 0 9 4 0 4 4 0 8 0 unpcb 144 330 0 312 6 0 6 6 0 8 5 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 198 0 189 7 0 7 7 0 8 6 arp 96 20 0 3 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 553 0 538 13 3 10 13 0 8 8 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 24 0 0 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1360 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 467 0 12 29 0 29 29 0 8 0 art_table 40 470 0 12 5 0 5 5 0 8 0 art_node 32 117 0 20 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 10 0 3 1 0 1 1 0 8 0 shmpl 112 18 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2239 0 739 95 0 95 95 0 8 0 ffsino 256 2239 0 739 95 0 95 95 0 8 0 nchpl 144 2944 0 1250 64 0 64 64 0 8 1 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 2385 0 0 133 0 133 133 0 8 0 namei 1024 9505 0 9505 2 0 2 2 0 8 2 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 808 2 0 0 1 0 1 1 0 8 0 kstatmem 264 40 0 18 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scxspl 216 15472 0 15472 8 0 8 8 1 8 8 plimitpl 152 146 0 128 1 0 1 1 0 8 0 sigapl 424 790 0 726 8 0 8 8 0 8 0 knotepl 120 19502 0 19455 10 0 10 10 0 8 8 kqueuepl 184 127 0 116 1 0 1 1 0 8 0 pipepl 304 139 0 110 3 0 3 3 0 8 0 fdescpl 448 755 0 725 5 0 5 5 0 8 1 filepl 120 4079 0 3848 12 0 12 12 0 8 4 lockfpl 104 129 0 126 1 0 1 1 0 8 0 lockfspl 48 58 0 55 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 500 0 488 1 0 1 1 0 8 0 zombiepl 144 727 0 726 1 0 1 1 0 8 0 processpl 1152 790 0 726 5 0 5 5 0 8 0 procpl 664 1331 0 1257 7 0 7 7 0 8 0 sosppl 176 3 0 3 1 0 1 1 0 8 1 sockpl 552 968 0 932 14 3 11 12 0 8 8 mcl64k 65536 11 0 11 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 2935 0 2883 15 0 15 15 0 8 8 mcl2k 2048 421 0 416 1 0 1 1 0 8 0 mtagpl 96 6 0 4 1 0 1 1 0 8 0 mbufpl 256 7511 0 7351 12 0 12 12 0 8 0 bufpl 280 6238 0 118 438 0 438 438 0 8 0 anonpl 24 139475 0 133509 69 0 69 69 0 187 33 amapchunkpl 152 19527 0 19037 28 0 28 28 0 158 9 amappl16 200 2968 0 2760 30 18 12 27 0 8 1 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 7 0 6 1 0 1 1 0 8 0 amappl13 176 413 0 412 1 0 1 1 0 8 0 amappl12 168 1095 0 1056 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 0 1 1 0 8 1 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 245 0 245 1 0 1 1 0 8 1 amappl8 136 117 0 116 1 0 1 1 0 8 0 amappl7 128 82 0 80 1 0 1 1 0 8 0 amappl6 120 265 0 254 1 0 1 1 0 8 0 amappl5 112 74 0 66 1 0 1 1 0 8 0 amappl4 104 378 0 353 1 0 1 1 0 8 0 amappl3 96 3171 0 3080 3 0 3 3 0 8 0 amappl2 88 870 0 800 2 0 2 2 0 8 0 amappl1 80 10441 0 9898 13 0 13 13 0 8 0 amappl 88 5329 0 5162 4 0 4 4 0 92 0 uvmvnodes 80 104 0 0 3 0 3 3 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 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 7 0 7 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 22 0 2 1 0 1 1 0 8 0 uaddrrnd 24 755 0 725 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 755 0 725 1 0 1 1 0 8 0 vmmpekpl 168 7490 0 7457 2 0 2 2 0 8 0 vmmpepl 168 54991 0 52990 101 0 101 101 0 357 13 vmsppl 368 754 0 725 4 0 4 4 0 8 1 rwobjpl 40 17712 0 16573 15 0 15 15 0 8 3 pdppl 4096 1520 0 1452 97 29 68 80 0 8 0 pvpl 32 354120 0 342346 139 0 139 139 0 265 43 pmappl 216 756 0 725 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 378 0 29 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff800039514fc0,ffff800035d03a30,ffff800035d03980) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff800035d03a30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d03a30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x789f4b631a0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff800039514fc0,ffff800035d03a30,ffff800035d03980) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff800035d03a30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d03a30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x789f4b631a0, count: -3