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(ffff80002f0f1ca0,ffff80003c93f380,ffff80003c93f2d0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c93f380) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93f380) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8358deba710, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c93f2b0 rbx 0xdead4110dead4140 rdx 0xffff800001546800 rcx 0 rax 0xdead4110dead4140 r8 0x7f7fffffc000 r9 0 r10 0x2baf6487a1a499a8 r11 0x44b6e0d60444ef09 r12 0 r13 0xfffffd806c08a700 r14 0xffff80003c93f380 r15 0 rip 0xffffffff828c6655 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c93f1c0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=137533 pid=7840 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f0f0a78,0xffff80002f0f1780 process=0xffff8000ffff9b18 user=0xffff80003c93a000, vmspace=0xfffffd807e4e4018 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36808 89703 56952 0 2 0 syz-executor 36808 128447 56952 0 3 0x4000080 fsleep syz-executor 6234 96093 3684 0 2 0 syz-executor 6234 431717 3684 0 3 0x4000080 fsleep syz-executor 66567 50883 7720 0 2 0 syz-executor 66567 42645 7720 0 3 0x4000080 fsleep syz-executor 19843 67110 0 0 3 0x14280 nfsidl nfsio 80421 107813 0 0 3 0x14280 nfsidl nfsio 87301 48547 0 0 3 0x14280 nfsidl nfsio 10559 53803 0 0 3 0x14280 nfsidl nfsio 7840 201665 87730 0 2 0 syz-executor 7840 468924 87730 0 3 0x4000080 kqread syz-executor * 7840 137533 87730 0 7 0x4000000 syz-executor 7840 190411 87730 0 3 0x4000080 fsleep syz-executor 69870 59975 15550 0 3 0x80 nanoslp syz-executor 69870 369483 15550 0 3 0x4000080 fsleep syz-executor 35615 134158 98129 0 3 0x80 nanoslp syz-executor 35615 53165 98129 0 3 0x4000080 fsleep syz-executor 93425 177553 11943 0 2 0 syz-executor 93425 149650 11943 0 3 0x4000080 kqsel syz-executor 93425 363596 11943 0 2 0x4000000 syz-executor 93425 346587 11943 0 3 0x4000080 fsleep syz-executor 93425 33348 11943 0 3 0x4000080 fsleep syz-executor 3684 435807 63979 0 3 0x82 nanoslp syz-executor 56952 135814 63979 0 3 0x82 nanoslp syz-executor 7720 89235 63979 0 3 0x82 nanoslp syz-executor 11943 342579 63979 0 3 0x82 nanoslp syz-executor 87730 231384 63979 0 3 0x82 nanoslp syz-executor 98129 214787 63979 0 3 0x82 nanoslp syz-executor 64169 80226 63979 0 3 0x82 nanoslp syz-executor 15550 459777 63979 0 3 0x82 nanoslp syz-executor 63979 342975 30494 0 3 0x82 kqread syz-executor 30494 842 96321 0 3 0x10008a sigsusp ksh 96321 342809 13683 0 3 0x98 kqread sshd-session 13683 498922 58714 0 3 0x92 kqread sshd-session 20939 228420 1 0 3 0x100083 ttyin getty 58714 268435 1 0 3 0x88 kqread sshd 75604 463232 22104 73 3 0x1100090 kqread syslogd 22104 303074 1 0 3 0x100082 sbwait syslogd 35731 416196 1 0 3 0x100080 kqread resolvd 51072 277147 87798 77 3 0x100092 kqread dhcpleased 24188 169084 87798 77 3 0x100092 kqread dhcpleased 87798 117967 1 0 3 0x80 kqread dhcpleased 45951 425875 0 0 3 0x14200 bored smr 22183 21190 0 0 2 0x14200 zerothread 39476 408141 0 0 3 0x14200 aiodoned aiodoned 96058 343181 0 0 3 0x14200 syncer update 78522 214891 0 0 3 0x14200 cleaner cleaner 72599 263136 0 0 3 0x14200 reaper reaper 99403 461730 0 0 3 0x14200 pgdaemon pagedaemon 35268 400736 0 0 3 0x14200 bored viomb 61246 233597 0 0 3 0x40014200 acpi0 acpi0 32823 166235 0 0 3 0x14200 bored softnet0 9824 360116 0 0 3 0x14200 bored systqmp 60419 45237 0 0 3 0x14200 bored systq 69494 328268 0 0 3 0x40014200 tmoslp softclock 62339 23591 0 0 3 0x40014200 idle0 1 426879 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 11068 12268K 12735K 166960K 13955 0 pcb 19 16K 24K 166960K 368 0 rtable 243 11K 11K 166960K 546 0 pf 40 14K 15K 166960K 101 0 ifaddr 41 6K 8K 166960K 90 0 ifgroup 65 2K 2K 166960K 129 0 sysctl 4 1K 9K 166960K 80 0 counters 40 18K 18K 166960K 88 0 ioctlops 0 0K 4K 166960K 156 0 iov 0 0K 16K 166960K 42 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1471 93K 93K 166960K 2256 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 34 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 839 0 sigio 0 0K 0K 166960K 45 0 proc 60 59K 83K 166960K 607 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 107 0 in_multi 77 5K 7K 166960K 165 0 ether_multi 1 0K 0K 166960K 12 0 mrt 0 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 507 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 252 152K 173K 166960K 9264 0 UVM aobj 58 12K 12K 166960K 64 0 pinsyscall 39 78K 90K 166960K 1971 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 41 0 NDP 15 0K 2K 166960K 63 0 temp 61 8665K 8916K 166960K 39111 0 kqueue 16 26K 30K 166960K 174 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 88 0 85 1 0 1 1 0 8 0 rtentry 136 153 0 60 4 0 4 4 0 8 0 unpcb 144 537 0 517 7 1 6 6 0 8 5 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 432 0 424 16 9 7 7 0 8 6 arp 96 23 0 8 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 328 1200 0 1187 20 13 7 10 0 8 4 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 37 0 18 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 49 0 44 2 1 1 1 0 8 0 pppxif 1384 2 0 2 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 639 0 263 33 1 32 32 0 8 6 art_table 40 641 0 263 6 0 6 6 0 8 0 art_node 32 152 0 68 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 7 1 0 1 1 0 8 0 semapl 112 30 0 21 1 0 1 1 0 8 0 shmpl 112 53 0 3 2 0 2 2 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2922 0 1424 95 0 95 95 0 8 0 ffsino 256 2922 0 1424 95 0 95 95 0 8 0 nchpl 144 4035 0 2339 64 0 64 64 0 8 0 rtmask 32 14 0 12 3 2 1 1 0 8 0 vnodes 216 3574 0 0 199 0 199 199 0 8 0 namei 1024 13585 0 13585 3 2 1 1 0 8 1 vcpupl 3904 5 0 0 1 0 1 1 0 8 0 vmpool 808 8 0 3 1 0 1 1 0 8 0 kstatmem 264 84 0 54 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 15670 0 15670 9 7 2 8 1 8 2 plimitpl 152 263 0 244 1 0 1 1 0 8 0 sigapl 424 1123 0 1076 7 1 6 6 0 8 0 knotepl 120 316595 0 316504 32 22 10 17 0 8 4 kqueuepl 184 399 0 382 7 3 4 4 0 8 3 pipepl 304 177 0 149 3 0 3 3 0 8 0 fdescpl 448 1101 0 1071 4 0 4 4 0 8 0 filepl 120 7265 0 7036 18 5 13 13 0 8 4 lockfpl 104 385 0 381 1 0 1 1 0 8 0 lockfspl 48 105 0 101 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 1215 0 1204 1 0 1 1 0 8 0 zombiepl 144 1368 0 1367 2 1 1 1 0 8 0 processpl 1152 1123 0 1076 4 0 4 4 0 8 0 procpl 664 2267 0 2208 7 1 6 6 0 8 0 sosppl 176 7 0 7 3 2 1 1 0 8 1 sockpl 552 1992 0 1956 23 11 12 12 0 8 6 mcl64k 65536 37 0 37 3 2 1 1 0 8 1 mcl16k 16384 8 0 8 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 17 0 17 3 2 1 1 0 8 1 mcl4k 4096 3401 0 3349 15 7 8 15 0 8 0 mcl2k 2048 1368 0 1363 7 4 3 4 0 8 2 mtagpl 96 126 0 15 3 0 3 3 0 8 0 mbufpl 256 12074 0 11805 28 5 23 23 0 8 4 bufpl 280 6351 0 130 445 0 445 445 0 8 0 anonpl 24 201647 0 193340 86 11 75 75 0 187 0 amapchunkpl 152 31688 0 31073 51 18 33 38 0 158 7 amappl16 200 3826 0 3559 31 4 27 27 0 8 4 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 8 0 7 2 1 1 1 0 8 0 amappl13 176 431 0 430 1 0 1 1 0 8 0 amappl12 168 1462 0 1423 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 87 0 86 1 0 1 1 0 8 0 amappl6 120 292 0 281 1 0 1 1 0 8 0 amappl5 112 78 0 69 1 0 1 1 0 8 0 amappl4 104 400 0 377 1 0 1 1 0 8 0 amappl3 96 5928 0 5812 5 1 4 4 0 8 0 amappl2 88 553 0 498 2 0 2 2 0 8 0 amappl1 80 12679 0 12145 13 1 12 13 0 8 0 amappl 88 8379 0 8195 5 0 5 5 0 92 0 uvmvnodes 80 112 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 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 63 0 6 2 0 2 2 0 8 0 uaddrrnd 24 1101 0 1071 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1101 0 1071 1 0 1 1 0 8 0 vmmpekpl 168 10423 0 10381 3 0 3 3 0 8 0 vmmpepl 168 77955 0 75859 115 13 102 103 0 357 10 vmsppl 368 1100 0 1071 4 1 3 4 0 8 0 rwobjpl 40 23370 0 22104 16 0 16 16 0 8 2 pdppl 4096 2224 0 2153 101 30 71 76 0 8 0 pvpl 32 515252 0 501195 189 32 157 157 0 265 12 pmappl 216 1108 0 1074 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 420 0 68 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002f0f1ca0,ffff80003c93f380,ffff80003c93f2d0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c93f380) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93f380) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8358deba710, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002f0f1ca0,ffff80003c93f380,ffff80003c93f2d0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c93f380) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c93f380) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8358deba710, count: -3