kernel: protection fault trap, code=0 Stopped at sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80003c94b778,ffff80002c90b3c0,ffff80002c90b310) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80002c90b3c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c90b3c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2557c4db880, count: -3 ddb> show registers rdi 0 rsi 0x560b __ALIGN_SIZE+0x460b rbp 0xffff80002c90b2f0 rbx 0xdead4110deb041b8 rdx 0 rcx 0 rax 0xffff80003c94b778 r8 0x7f7fffffc000 r9 0 r10 0xffe57de3b3e6e9e0 r11 0xbed5cd62c738352 r12 0x560b __ALIGN_SIZE+0x460b r13 0xfffffd80708b2af0 r14 0xffff80002c90b3c0 r15 0x560b __ALIGN_SIZE+0x460b rip 0xffffffff822d7c52 sys_semop+0x352 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002c90b200 ss 0x10 sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=98989 pid=50311 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=0xffff80002a786538,0xffff80003c94ba20 process=0xffff80003c9ad6a0 user=0xffff80002c906000, vmspace=0xfffffd8069f4e468 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 53908 444757 37054 0 2 0 syz-executor 53908 120160 37054 0 3 0x4000080 fsleep syz-executor 53908 235893 37054 0 3 0x4000080 fsleep syz-executor 43372 133385 34325 0 2 0 syz-executor 43372 59160 34325 0 3 0x4000080 fsleep syz-executor 11842 150455 56089 0 2 0 syz-executor 11842 291905 56089 0 2 0x4000000 syz-executor 11842 16772 56089 0 2 0x4000000 syz-executor 65577 8279 46259 0 2 0 syz-executor 65577 489571 46259 0 3 0x4000080 fsleep syz-executor 65577 117062 46259 0 3 0x4000080 fsleep syz-executor 24397 418985 86680 0 2 0 syz-executor 24397 218155 86680 0 3 0x4000080 fsleep syz-executor 50311 425167 21894 0 2 0 syz-executor *50311 98989 21894 0 7 0x4000000 syz-executor 50311 1981 21894 0 3 0x4000080 fsleep syz-executor 50311 419491 21894 0 3 0x4000080 fsleep syz-executor 42607 368462 27416 0 2 0 syz-executor 42607 56262 27416 0 3 0x4000080 fsleep syz-executor 42607 168104 27416 0 2 0x4000000 syz-executor 37054 177043 31674 0 3 0x82 nanoslp syz-executor 5548 122047 0 0 3 0x14200 acct acct 69142 233970 26557 0 3 0x82 sbwait sshd-session 60559 155259 1 0 3 0x100083 ttyin getty 86680 191990 31674 0 3 0x82 nanoslp syz-executor 56089 478990 31674 0 2 0x3 syz-executor 88044 493337 31674 0 2 0x2 syz-executor 21894 361711 31674 0 3 0x82 nanoslp syz-executor 34325 2696 31674 0 2 0x3 syz-executor 46259 218219 31674 0 3 0x82 nanoslp syz-executor 27416 125894 31674 0 3 0x82 nanoslp syz-executor 31674 454844 15748 0 3 0x82 kqread syz-executor 15748 508231 95676 0 3 0x10008a sigsusp ksh 95676 389925 49918 0 3 0x98 kqread sshd-session 49918 383955 26557 0 3 0x92 kqread sshd-session 26557 247736 1 0 3 0x88 kqread sshd 18611 153682 9096 73 3 0x1100090 kqread syslogd 9096 82837 1 0 3 0x100082 sbwait syslogd 52726 378561 1 0 3 0x100080 kqread resolvd 46827 21229 25387 77 3 0x100092 kqread dhcpleased 49625 137039 25387 77 3 0x100092 kqread dhcpleased 25387 179181 1 0 3 0x80 kqread dhcpleased 97018 184120 0 0 3 0x14200 bored smr 77597 179705 0 0 2 0x14200 zerothread 25503 407800 0 0 3 0x14200 aiodoned aiodoned 51797 466610 0 0 3 0x14200 syncer update 22383 194617 0 0 3 0x14200 cleaner cleaner 47387 193081 0 0 3 0x14200 reaper reaper 19863 491558 0 0 3 0x14200 pgdaemon pagedaemon 12848 486773 0 0 3 0x14200 bored viomb 82700 144490 0 0 3 0x40014200 acpi0 acpi0 30385 398359 0 0 3 0x14200 bored softnet0 43214 95342 0 0 3 0x14200 bored systqmp 94893 223536 0 0 3 0x14200 bored systq 13312 162951 0 0 3 0x40014200 tmoslp softclock 70395 228937 0 0 3 0x40014200 idle0 1 487176 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 10217 11087K 13290K 166960K 14732 0 pcb 18 16K 18K 166960K 501 0 rtable 276 13K 13K 166960K 906 0 pf 36 14K 67481K 166960K 188 0 ifaddr 42 8K 8K 166960K 147 0 ifgroup 55 2K 2K 166960K 243 0 sysctl 3 1K 9K 166960K 84 0 counters 33 17K 18K 166960K 244 0 ioctlops 0 0K 4K 166960K 529 0 iov 0 0K 17K 166960K 300 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1699 107K 107K 166960K 3256 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 25 11K 11K 166960K 189 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 1900 0 sigio 0 0K 0K 166960K 46 0 proc 60 59K 108K 166960K 804 0 subproc 72 4K 4K 166960K 129 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 229 0 in_multi 95 7K 7K 166960K 240 0 ether_multi 1 0K 0K 166960K 24 0 mrt 0 0K 0K 166960K 24 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 819 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 239 168K 188K 166960K 18227 0 UVM aobj 39 4K 6K 166960K 44 0 pinsyscall 40 80K 96K 166960K 3166 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 102 0 NDP 12 0K 2K 166960K 107 0 temp 82 8652K 8908K 166960K 64690 0 kqueue 14 22K 34K 166960K 401 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 278 0 275 3 2 1 3 0 8 0 rtentry 136 223 0 119 4 0 4 4 0 8 0 unpcb 144 1319 0 1300 8 4 4 4 0 8 3 syncache 336 14 0 14 3 2 1 1 0 8 1 tcpqe 32 6 0 6 2 1 1 1 0 8 1 tcpcb 736 830 0 824 19 12 7 7 0 8 6 arp 96 33 0 14 1 0 1 1 0 8 0 ipq 40 5 0 4 1 0 1 1 0 8 0 ipqe 40 5 0 4 1 0 1 1 0 8 0 inpcb 328 2316 0 2305 17 10 7 7 0 8 4 ip6q 72 7 0 6 1 0 1 1 0 8 0 ip6af 40 11 0 10 1 0 1 1 0 8 0 nd6 112 52 0 26 1 0 1 1 0 8 0 pkpcb 40 10 0 10 3 2 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 189 0 189 3 2 1 1 0 8 1 pppxif 1384 8 0 8 1 1 0 1 0 8 0 pfrktable 1344 2 0 2 2 1 1 1 0 8 1 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 2 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 rttmr 136 6 0 6 2 2 0 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 980 0 554 34 7 27 31 0 8 0 art_table 40 985 0 554 5 0 5 5 0 8 0 art_node 32 219 0 125 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 183 0 161 1 0 1 1 0 8 0 shmpl 112 41 0 5 3 1 2 2 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 4800 0 3291 95 0 95 95 0 8 0 ffsino 256 4800 0 3291 95 0 95 95 0 8 0 nchpl 144 7354 0 5642 64 0 64 64 0 8 0 rtmask 32 22 0 22 3 2 1 1 0 8 1 vnodes 216 3211 0 0 179 0 179 179 0 8 0 namei 1024 26957 0 26955 4 3 1 2 0 8 0 kstatmem 264 158 0 134 2 0 2 2 0 8 0 scsiplug 72 10 0 10 2 1 1 1 0 8 1 scxspl 216 30066 0 30066 11 8 3 8 1 8 3 plimitpl 152 402 0 386 1 0 1 1 0 8 0 sigapl 424 2189 0 2145 8 2 6 8 0 8 0 knotepl 120 79928 0 79878 72 62 10 23 0 8 5 kqueuepl 184 842 0 832 9 5 4 4 0 8 3 pipepl 304 501 0 474 13 5 8 8 0 8 5 fdescpl 448 2150 0 2120 5 1 4 5 0 8 0 filepl 120 15072 0 14856 24 7 17 18 0 8 7 lockfpl 104 1213 0 1211 3 1 2 2 0 8 1 lockfspl 48 339 0 337 1 0 1 1 0 8 0 sessionpl 144 39 0 30 1 0 1 1 0 8 0 pgrppl 48 77 0 60 1 0 1 1 0 8 0 ucredpl 104 2228 0 2217 1 0 1 1 0 8 0 zombiepl 144 2554 0 2554 1 0 1 1 0 8 1 processpl 1152 2189 0 2145 5 0 5 5 0 8 0 procpl 664 4900 0 4843 7 1 6 7 0 8 0 sosppl 176 11 0 11 2 1 1 1 0 8 1 sockpl 552 4007 0 3974 24 16 8 12 0 8 4 mcl64k 65536 368 0 368 3 2 1 3 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 7 0 6 1 0 1 1 0 8 0 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 20 0 20 3 2 1 1 0 8 1 mcl4k 4096 4818 0 4764 16 7 9 14 0 8 1 mcl2k2 2112 69 0 69 2 2 0 2 0 8 0 mcl2k 2048 2872 0 2866 9 4 5 5 0 8 4 mtagpl 96 14 0 7 2 1 1 1 0 8 0 mbufpl 256 26275 0 26104 151 129 22 75 0 8 6 bufpl 280 13965 0 7743 445 0 445 445 0 8 0 anonpl 24 379521 0 376219 98 51 47 70 0 187 6 amapchunkpl 152 66085 0 65612 60 24 36 40 0 158 15 amappl16 200 8209 0 8176 62 48 14 28 0 8 8 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 6 0 6 2 1 1 1 0 8 1 amappl13 176 480 0 479 1 0 1 1 0 8 0 amappl12 168 2561 0 2521 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 45 0 35 1 0 1 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 25 0 24 1 0 1 1 0 8 0 amappl7 128 106 0 104 1 0 1 1 0 8 0 amappl6 120 351 0 338 1 0 1 1 0 8 0 amappl5 112 81 0 71 1 0 1 1 0 8 0 amappl4 104 485 0 460 1 0 1 1 0 8 0 amappl3 96 11101 0 11012 3 0 3 3 0 8 0 amappl2 88 2356 0 2278 2 0 2 2 0 8 0 amappl1 80 19257 0 18621 16 1 15 15 0 8 0 amappl 88 17075 0 16914 5 0 5 5 0 92 0 uvmvnodes 80 3211 0 0 66 0 66 66 0 8 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 1 0 1 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 2 2 0 1 0 8 0 dma128 128 256 0 256 2 2 0 1 0 8 0 dma64 64 7 0 7 2 2 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 43 0 5 1 0 1 1 0 8 0 uaddrrnd 24 2150 0 2120 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2150 0 2120 1 0 1 1 0 8 0 vmmpekpl 168 18549 0 18505 3 0 3 3 0 8 0 vmmpepl 168 144983 0 143036 125 25 100 102 0 357 10 vmsppl 368 2149 0 2120 4 1 3 4 0 8 0 rwobjpl 40 43628 0 39426 49 3 46 46 0 8 1 pdppl 4096 4307 0 4240 128 58 70 81 0 8 3 pvpl 32 1006448 0 997501 216 89 127 158 0 265 25 pmappl 216 2149 0 2120 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 586 0 235 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c94b778,ffff80002c90b3c0,ffff80002c90b310) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80002c90b3c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c90b3c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2557c4db880, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c94b778,ffff80002c90b3c0,ffff80002c90b310) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80002c90b3c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002c90b3c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2557c4db880, count: -3