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(ffff8000380f3a18,ffff80003ad19460,ffff80003ad193b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003ad19460) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ad19460) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfb79aa5b170, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003ad19390 rbx 0xdeafbeaddeafbead rdx 0 rcx 0 rax 0xdeafbeaddeafbead r8 0x7f7fffffc000 r9 0 r10 0x186646deef250318 r11 0xa856f880b85ab62c r12 0 r13 0xfffffd806cc09b60 r14 0xffff80003ad19460 r15 0 rip 0xffffffff824fae65 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003ad192a0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=275964 pid=58713 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000380f34e8,0xffff80002a8a42d8 process=0xffff8000380f68a0 user=0xffff80003ad14000, vmspace=0xfffffd807c679e78 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 6327 124575 26711 0 2 0 syz-executor 6327 373743 26711 0 2 0x4000000 syz-executor 58713 250220 46094 0 2 0 syz-executor *58713 275964 46094 0 7 0x4000000 syz-executor 58713 113549 46094 0 3 0x4000080 fsleep syz-executor 10735 272929 21864 0 2 0 syz-executor 10735 366037 21864 0 2 0x4000000 syz-executor 37112 63298 81013 0 2 0 syz-executor 37112 479482 81013 0 2 0x4000000 syz-executor 95559 389960 32821 0 2 0 syz-executor 95559 380971 32821 0 3 0x4000080 fsleep syz-executor 95559 118 32821 0 2 0x4000000 syz-executor 95559 133657 32821 0 3 0x4000080 fsleep syz-executor 40198 182003 62938 0 4 0x82000 syz-executor 40198 469700 62938 0 2 0x4082000 syz-executor 40198 78333 62938 0 3 0x4002000 suspend syz-executor 98078 375151 1 0 3 0x100083 ttyin getty 43095 255172 0 0 3 0x14280 nfsidl nfsio 53461 21215 0 0 3 0x14280 nfsidl nfsio 81973 217823 0 0 3 0x14280 nfsidl nfsio 35037 111184 0 0 3 0x14280 nfsidl nfsio 21599 502283 0 0 3 0x14280 nfsidl nfsio 79412 422773 0 0 3 0x14280 nfsidl nfsio 64104 136847 0 0 3 0x14280 nfsidl nfsio 49603 424007 0 0 3 0x14280 nfsidl nfsio 59741 38207 0 0 3 0x14280 nfsidl nfsio 83564 182695 0 0 3 0x14280 nfsidl nfsio 7044 65335 0 0 3 0x14280 nfsidl nfsio 95516 292169 0 0 3 0x14280 nfsidl nfsio 92896 12055 0 0 3 0x14280 nfsidl nfsio 2855 99794 0 0 3 0x14280 nfsidl nfsio 99081 392787 0 0 3 0x14280 nfsidl nfsio 86873 95964 0 0 3 0x14280 nfsidl nfsio 55278 167996 0 0 3 0x14280 nfsidl nfsio 3285 76088 0 0 3 0x14280 nfsidl nfsio 11355 150924 0 0 3 0x14280 nfsidl nfsio 5803 249252 0 0 3 0x14280 nfsidl nfsio 28769 209753 56997 0 2 0x2 syz-executor 81013 256524 56997 0 3 0x82 nanoslp syz-executor 21864 383759 56997 0 3 0x82 nanoslp syz-executor 32821 149494 56997 0 3 0x82 nanoslp syz-executor 46094 114684 56997 0 3 0x82 nanoslp syz-executor 62938 1296 56997 0 3 0x82 wait syz-executor 26711 236084 56997 0 3 0x82 nanoslp syz-executor 3082 24880 56997 0 2 0x2 syz-executor 56997 360170 83322 0 3 0x82 kqread syz-executor 83322 135610 71900 0 3 0x10008a sigsusp ksh 71900 147901 53720 0 3 0x98 kqread sshd-session 53720 182334 38579 0 3 0x92 kqread sshd-session 38579 34969 1 0 3 0x88 kqread sshd 37731 51443 92947 73 3 0x1100090 kqread syslogd 92947 102336 1 0 3 0x100082 sbwait syslogd 79431 251265 1 0 3 0x100080 kqread resolvd 15672 381414 5689 77 3 0x100092 kqread dhcpleased 31994 500238 5689 77 3 0x100092 kqread dhcpleased 5689 427962 1 0 3 0x80 kqread dhcpleased 1310 316954 0 0 3 0x14200 bored smr 39011 87525 0 0 2 0x14200 zerothread 14931 504444 0 0 3 0x14200 aiodoned aiodoned 39606 153008 0 0 3 0x14200 syncer update 18002 254778 0 0 3 0x14200 cleaner cleaner 55359 314707 0 0 3 0x14200 reaper reaper 10895 142785 0 0 3 0x14200 pgdaemon pagedaemon 15285 301632 0 0 3 0x14200 bored viomb 64356 232319 0 0 3 0x40014200 acpi0 acpi0 13337 443951 0 0 3 0x14200 bored softnet0 98298 183038 0 0 3 0x14200 bored systqmp 36057 209211 0 0 3 0x14200 bored systq 47307 30267 0 0 3 0x40014200 tmoslp softclock 97064 470529 0 0 3 0x40014200 idle0 1 286928 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 11077 12117K 13336K 166960K 14923 0 pcb 17 13K 13K 166960K 243 0 rtable 185 15K 17K 166960K 599 0 pf 33 13K 17K 166960K 128 0 ifaddr 34 5K 8K 166960K 104 0 ifgroup 51 2K 2K 166960K 170 0 sysctl 4 1K 9K 166960K 18 0 counters 34 17K 18K 166960K 93 0 ioctlops 0 0K 4K 166960K 315 0 iov 0 0K 24K 166960K 58 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1479 93K 93K 166960K 2974 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 26 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 62 0 dirhash 12 2K 3K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1262 0 sigio 0 0K 0K 166960K 31 0 proc 62 59K 91K 166960K 666 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 160 0 in_multi 67 4K 7K 166960K 143 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 31 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 552 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 223 158K 175K 166960K 13303 0 UVM aobj 47 23K 25K 166960K 49 0 pinsyscall 38 76K 95K 166960K 2364 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 75 0 NDP 12 0K 2K 166960K 70 0 temp 81 9075K 9318K 166960K 34499 0 kqueue 13 20K 31K 166960K 207 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 383 0 380 5 2 3 3 0 8 2 rtentry 136 163 0 99 4 0 4 4 0 8 0 unpcb 144 796 0 780 5 1 4 4 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 566 0 561 13 6 7 7 0 8 6 arp 96 22 0 12 1 0 1 1 0 8 0 ipq 40 4 0 3 1 0 1 1 0 8 0 ipqe 40 5 0 4 1 0 1 1 0 8 0 inpcb 328 1203 0 1194 12 5 7 7 0 8 6 ip6q 72 4 0 3 1 0 1 1 0 8 0 ip6af 40 12 0 11 1 0 1 1 0 8 0 nd6 112 35 0 19 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 45 0 45 2 1 1 1 0 8 1 pppxif 1384 8 0 8 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 2 0 2 1 1 0 1 0 8 0 pfstkey 128 3 0 3 1 1 0 1 0 8 0 pfstate 384 2 0 2 1 1 0 1 0 8 0 pfrule 1360 1 0 1 1 1 0 1 0 8 0 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 744 0 463 31 3 28 30 0 8 5 art_table 40 748 0 463 5 0 5 5 0 8 0 art_node 32 158 0 103 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 59 0 50 1 0 1 1 0 8 0 shmpl 112 35 0 1 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3984 0 2533 92 0 92 92 0 8 0 ffsino 256 3984 0 2533 92 0 92 92 0 8 0 nchpl 144 5675 0 3985 64 0 64 64 0 8 0 rtmask 32 7 0 7 2 1 1 1 0 8 1 vnodes 216 3595 0 0 200 0 200 200 0 8 0 namei 1024 20630 0 20629 2 1 1 2 0 8 0 vcpupl 3904 11 0 1 2 0 2 2 0 8 0 vmpool 808 11 0 1 2 0 2 2 0 8 0 kstatmem 264 104 0 80 3 0 3 3 0 8 1 scsiplug 72 9 0 9 2 1 1 1 0 8 1 scxspl 216 33187 0 33187 9 7 2 8 1 8 2 plimitpl 152 525 0 508 1 0 1 1 0 8 0 sigapl 424 1561 0 1499 9 1 8 8 0 8 0 knotepl 120 61384 0 61337 18 8 10 10 0 8 6 kqueuepl 184 361 0 352 2 0 2 2 0 8 1 pipepl 304 208 0 180 3 0 3 3 0 8 0 fdescpl 448 1526 0 1497 5 1 4 5 0 8 0 filepl 120 10517 0 10300 13 2 11 11 0 8 1 lockfpl 104 656 0 653 3 1 2 2 0 8 1 lockfspl 48 229 0 226 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 51 0 35 1 0 1 1 0 8 0 ucredpl 104 2166 0 2155 1 0 1 1 0 8 0 zombiepl 144 1885 0 1885 1 0 1 1 0 8 1 processpl 1152 1561 0 1499 5 0 5 5 0 8 0 procpl 664 3336 0 3264 7 0 7 7 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 552 2642 0 2614 15 5 10 10 0 8 8 mcl64k 65536 70 0 70 2 1 1 1 0 8 1 mcl16k 16384 5 0 5 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 4026 0 3974 15 7 8 14 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1252 0 1249 4 2 2 4 0 8 0 mtagpl 96 92 0 23 2 0 2 2 0 8 0 mbufpl 256 16995 0 16825 25 0 25 25 0 8 6 bufpl 280 13614 0 7400 445 0 445 445 0 8 0 anonpl 24 259604 0 253910 110 38 72 72 0 187 34 amapchunkpl 152 56663 0 56197 47 11 36 36 0 158 17 amappl16 200 6115 0 5930 53 40 13 29 0 8 3 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 422 0 420 1 0 1 1 0 8 0 amappl13 176 116 0 106 1 0 1 1 0 8 0 amappl12 168 1791 0 1764 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 260 0 260 1 1 0 1 0 8 0 amappl8 136 107 0 105 1 0 1 1 0 8 0 amappl7 128 174 0 162 1 0 1 1 0 8 0 amappl6 120 161 0 160 1 0 1 1 0 8 0 amappl5 112 89 0 81 1 0 1 1 0 8 0 amappl4 104 257 0 241 1 0 1 1 0 8 0 amappl3 96 8918 0 8811 4 0 4 4 0 8 0 amappl2 88 519 0 465 2 0 2 2 0 8 0 amappl1 80 13602 0 13056 13 1 12 13 0 8 0 amappl 88 12419 0 12260 5 0 5 5 0 92 0 uvmvnodes 80 123 0 0 3 0 3 3 0 8 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 7 0 7 1 1 0 1 0 8 0 dma128 128 257 0 257 2 1 1 1 0 8 1 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 48 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1525 0 1497 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1525 0 1497 1 0 1 1 0 8 0 vmmpekpl 168 12259 0 12212 3 0 3 3 0 8 0 vmmpepl 168 101763 0 99868 118 15 103 103 0 357 17 vmsppl 368 1525 0 1497 4 1 3 4 0 8 0 rwobjpl 40 29213 0 28041 17 1 16 16 0 8 2 pdppl 4096 3078 0 3006 107 31 76 78 0 8 4 pvpl 32 706986 0 696140 207 57 150 150 0 265 49 pmappl 216 1536 0 1498 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 410 0 59 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff8000380f3a18,ffff80003ad19460,ffff80003ad193b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003ad19460) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ad19460) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfb79aa5b170, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff8000380f3a18,ffff80003ad19460,ffff80003ad193b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003ad19460) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ad19460) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfb79aa5b170, count: -3