kernel: protection fault trap, code=0 Stopped at sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80003c94afb0,ffff80003c963740,ffff80003c963690) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c963740) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963740) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xedcf359e1e0, count: -3 ddb> show registers rdi 0 rsi 0xfff3 __ALIGN_SIZE+0xeff3 rbp 0xffff80003c963670 rbx 0xdeafbeaddeafbead rdx 0 rcx 0 rax 0xffff80003c94afb0 r8 0x7f7fffffc000 r9 0 r10 0x244b7002c8c14882 r11 0xa1f2ef23d4628505 r12 0xfffffff3 r13 0xfffffd8068e69c40 r14 0xffff80003c963740 r15 0 rip 0xffffffff81e12f84 sys_semop+0x384 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff80003c963580 ss 0x10 sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=58342 pid=19380 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a799258,0xffff80003c94a030 process=0xffff8000ffffb618 user=0xffff80003c95e000, vmspace=0xfffffd807b6272f8 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19380 352435 40026 0 2 0 syz-executor *19380 58342 40026 0 7 0x4000000 syz-executor 19380 259179 40026 0 3 0x4000080 fsleep syz-executor 19380 489228 40026 0 3 0x4000080 fsleep syz-executor 58566 253673 66705 0 2 0 syz-executor 58566 179741 66705 0 3 0x4000080 ttyout syz-executor 20087 453448 88571 0 2 0 syz-executor 20087 93222 88571 0 3 0x4000080 fsleep syz-executor 8191 96075 23742 0 2 0x82000 syz-executor 8191 384881 23742 0 3 0x4002000 suspend syz-executor 8191 470262 23742 0 4 0x4082000 syz-executor 89988 484159 40086 0 2 0x1 syz-executor 89988 122362 40086 0 3 0x4000080 fsleep syz-executor 89988 199067 40086 0 3 0x4000080 fsleep syz-executor 16181 219442 83950 0 2 0x1 syz-executor 16181 138487 83950 0 3 0x4000080 fsleep syz-executor 16181 315845 83950 0 3 0x4000080 fsleep syz-executor 7857 60565 37297 0 3 0x3000 suspend syz-executor 7857 347458 37297 0 2 0x4081000 syz-executor 40086 460818 14917 0 3 0x82 nanoslp syz-executor 83950 266385 14917 0 3 0x82 nanoslp syz-executor 65016 322562 1 0 3 0x100083 ttyin getty 41961 313166 0 0 3 0x14200 bored sosplice 73099 258297 14917 0 2 0x2 syz-executor 23742 245008 14917 0 2 0x3 syz-executor 37297 104502 14917 0 3 0x82 wait syz-executor 88571 408270 14917 0 2 0x2 syz-executor 40026 32701 14917 0 3 0x82 nanoslp syz-executor 66705 12876 14917 0 2 0x3 syz-executor 14917 175367 69181 0 3 0x82 kqread syz-executor 69181 503401 3802 0 3 0x10008a sigsusp ksh 3802 300162 8239 0 3 0x98 kqread sshd-session 8239 422600 40408 0 3 0x92 kqread sshd-session 40408 132862 1 0 3 0x88 kqread sshd 83891 414859 40177 73 3 0x1100090 kqread syslogd 40177 279393 1 0 3 0x100082 sbwait syslogd 53182 232887 1 0 3 0x100080 kqread resolvd 99172 357771 47619 77 3 0x100092 kqread dhcpleased 85752 83158 47619 77 3 0x100092 kqread dhcpleased 47619 66989 1 0 3 0x80 kqread dhcpleased 51329 465003 0 0 3 0x14200 bored smr 95249 378272 0 0 2 0x14200 zerothread 23290 289862 0 0 3 0x14200 aiodoned aiodoned 5523 513289 0 0 3 0x14200 syncer update 29438 396779 0 0 3 0x14200 cleaner cleaner 48712 216536 0 0 3 0x14200 reaper reaper 78387 169322 0 0 3 0x14200 pgdaemon pagedaemon 59405 353303 0 0 3 0x14200 bored viomb 23465 48341 0 0 3 0x40014200 acpi0 acpi0 94436 483722 0 0 3 0x14200 bored softnet0 54973 64630 0 0 3 0x14200 bored systqmp 76996 231960 0 0 3 0x14200 bored systq 66885 369503 0 0 3 0x40014200 tmoslp softclock 96367 77145 0 0 3 0x40014200 idle0 1 210093 0 0 3 0x82 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 10210 11064K 11599K 166960K 12820 0 pcb 19 18K 21K 166960K 500 0 rtable 215 8K 9K 166960K 481 0 pf 35 14K 20K 166960K 189 0 ifaddr 40 7K 7K 166960K 101 0 ifgroup 50 2K 2K 166960K 154 0 sysctl 4 1K 9K 166960K 13 0 counters 32 17K 18K 166960K 115 0 ioctlops 0 0K 4K 166960K 287 0 iov 0 0K 24K 166960K 89 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1458 92K 92K 166960K 2549 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 34 0 dirhash 12 2K 3K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 102K 166960K 1250 0 sigio 0 0K 0K 166960K 30 0 proc 61 67K 124K 166960K 624 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 191 0 in_multi 90 6K 7K 166960K 166 0 ether_multi 1 0K 0K 166960K 11 0 mrt 0 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 647 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 238 161K 179K 166960K 12877 0 UVM aobj 25 4K 4K 166960K 26 0 pinsyscall 38 76K 96K 166960K 2336 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 65 0 NDP 11 0K 2K 166960K 67 0 temp 77 8648K 8723K 166960K 51681 0 kqueue 13 20K 30K 166960K 247 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 191 0 188 2 0 2 2 0 8 1 rtentry 136 158 0 74 4 0 4 4 0 8 0 unpcb 144 861 0 843 10 4 6 6 0 8 5 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 720 0 713 16 7 9 10 0 8 8 arp 96 20 0 10 1 0 1 1 0 8 0 ipq 40 8 0 6 1 0 1 1 0 8 0 ipqe 40 45 0 43 1 0 1 1 0 8 0 inpcb 328 2061 0 2049 23 13 10 13 0 8 8 ip6q 72 28 0 23 1 0 1 1 0 8 0 ip6af 40 51 0 46 1 0 1 1 0 8 0 nd6 112 32 0 12 1 0 1 1 0 8 0 pkpcb 40 14 0 14 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 71 0 71 2 1 1 1 0 8 1 pppxif 1384 6 0 6 2 1 1 1 0 8 1 pfanchor 1288 6 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 12 0 6 1 0 1 1 0 8 0 pfstate 384 6 0 3 1 0 1 1 0 8 0 pfrule 1344 5 0 5 2 1 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 723 0 302 30 1 29 29 0 8 1 art_table 40 728 0 302 5 0 5 5 0 8 0 art_node 32 158 0 85 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 29 0 20 1 0 1 1 0 8 0 shmpl 112 23 0 1 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3701 0 2201 95 0 95 95 0 8 0 ffsino 256 3701 0 2201 95 0 95 95 0 8 0 nchpl 144 5472 0 3779 63 0 63 63 0 8 0 rtmask 32 4 0 4 2 1 1 1 0 8 1 uvmvnodes 80 4539 0 0 93 0 93 93 0 8 0 vnodes 216 4539 0 0 253 0 253 253 0 8 0 namei 1024 19124 0 19123 2 1 1 2 0 8 0 kstatmem 264 92 0 70 2 0 2 2 0 8 0 scsiplug 72 11 0 11 2 1 1 1 0 8 1 scxspl 216 26965 0 26965 9 7 2 8 1 8 2 plimitpl 152 421 0 403 1 0 1 1 0 8 0 sigapl 424 1526 0 1483 6 0 6 6 0 8 0 knotepl 120 80256 0 80208 31 21 10 16 0 8 8 kqueuepl 184 517 0 508 6 2 4 4 0 8 3 pipepl 304 223 0 195 3 0 3 3 0 8 0 fdescpl 448 1505 0 1476 5 1 4 5 0 8 0 filepl 120 10739 0 10507 20 8 12 16 0 8 4 lockfpl 104 831 0 828 3 1 2 2 0 8 1 lockfspl 48 277 0 274 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 124 0 108 1 0 1 1 0 8 0 ucredpl 104 1706 0 1694 1 0 1 1 0 8 0 zombiepl 144 2028 0 2027 1 0 1 1 0 8 0 processpl 1152 1526 0 1483 4 0 4 4 0 8 0 procpl 664 3369 0 3314 7 1 6 6 0 8 0 sosppl 168 5 0 5 2 1 1 1 0 8 1 sockpl 552 3200 0 3167 32 21 11 20 0 8 8 mcl64k 65536 130 0 128 3 1 2 2 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 51 0 50 2 1 1 1 0 8 0 mcl4k 4096 3935 0 3885 13 5 8 12 0 8 1 mcl2k 2048 1941 0 1931 10 0 10 10 0 8 8 mtagpl 96 81 0 10 2 0 2 2 0 8 0 mbufpl 256 16366 0 16139 31 6 25 28 0 8 8 bufpl 280 10294 0 4066 446 0 446 446 0 8 0 anonpl 24 240920 0 235997 96 6 90 90 0 187 44 amapchunkpl 152 58845 0 58190 46 12 34 37 0 158 7 amappl16 200 4501 0 4404 48 32 16 39 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 2149 0 2120 2 0 2 2 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 103 0 93 1 0 1 1 0 8 0 amappl6 120 205 0 202 1 0 1 1 0 8 0 amappl5 112 124 0 116 1 0 1 1 0 8 0 amappl4 104 271 0 256 1 0 1 1 0 8 0 amappl3 96 7645 0 7550 3 0 3 3 0 8 0 amappl2 88 1753 0 1681 2 0 2 2 0 8 0 amappl1 80 12766 0 12225 14 1 13 13 0 8 1 amappl 88 11972 0 11799 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma16384 16384 1 0 1 1 0 1 1 0 8 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 dma512 512 1 0 1 1 0 1 1 0 8 1 dma256 256 10 0 10 2 1 1 1 0 8 1 dma128 128 258 0 258 2 1 1 1 0 8 1 dma64 64 9 0 9 2 1 1 1 0 8 1 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 25 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1505 0 1476 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1505 0 1476 1 0 1 1 0 8 0 vmmpekpl 168 12841 0 12789 3 0 3 3 0 8 0 vmmpepl 168 98366 0 96413 115 1 114 114 0 357 23 vmsppl 368 1504 0 1476 4 1 3 4 0 8 0 rwobjpl 40 31272 0 25784 56 0 56 56 0 8 0 pdppl 4096 3016 0 2952 114 48 66 82 0 8 2 pvpl 32 668250 0 657885 190 15 175 175 0 265 70 pmappl 216 1504 0 1476 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 439 0 76 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c94afb0,ffff80003c963740,ffff80003c963690) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c963740) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963740) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xedcf359e1e0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c94afb0,ffff80003c963740,ffff80003c963690) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c963740) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963740) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xedcf359e1e0, count: -3