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(ffff80003a9254f8,ffff80003a931150,ffff80003a9310a0) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003a931150) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a931150) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2c24c8345e0, count: -3 ddb> show registers rdi 0 rsi 0xfff3 __ALIGN_SIZE+0xeff3 rbp 0xffff80003a931080 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xffff80003a9254f8 r8 0x7f7fffffc000 r9 0 r10 0x16e1e04d56a73143 r11 0x29265dcb5a639703 r12 0xfffffff3 r13 0xfffffd806061ee70 r14 0xffff80003a931150 r15 0 rip 0xffffffff8231f304 sys_semop+0x384 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff80003a930f90 ss 0x10 sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=426191 pid=82388 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=76, usrpri=76, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003a924568,0xffff80003a924810 process=0xffff80002a794d88 user=0xffff80003a92c000, vmspace=0xfffffd806ba298b0 estcpu=26, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 97647 465875 97006 0 2 0 syz-executor 97647 82991 97006 0 2 0x4000000 syz-executor 46905 306911 96206 0 3 0x80 nanoslp syz-executor 46905 301285 96206 0 2 0x4000000 syz-executor 46905 2803 96206 0 3 0x4000080 fsleep syz-executor 46905 118264 96206 0 3 0x4000080 fsleep syz-executor 46905 229460 96206 0 3 0x4000080 fsleep syz-executor 29313 402734 21122 0 2 0 syz-executor 29313 160500 21122 0 3 0x4000080 fsleep syz-executor 29313 111966 21122 0 3 0x4000080 fsleep syz-executor 29313 364879 21122 0 3 0x4000080 piperd syz-executor 29313 500075 21122 0 3 0x4000080 pipewr syz-executor 82388 506290 48087 0 2 0 syz-executor *82388 426191 48087 0 7 0x4000000 syz-executor 82388 81709 48087 0 3 0x4000080 fsleep syz-executor 20248 195753 77690 0 2 0 syz-executor 20248 6434 77690 0 3 0x4000080 fsleep syz-executor 39408 461134 96224 0 2 0 syz-executor 39408 468801 96224 0 2 0x4000000 syz-executor 94701 21750 0 0 3 0x14280 nfsidl nfsio 54112 368850 0 0 3 0x14280 nfsidl nfsio 48467 463594 0 0 3 0x14280 nfsidl nfsio 28362 150479 0 0 3 0x14280 nfsidl nfsio 11962 389551 0 0 3 0x14280 nfsidl nfsio 81134 110648 0 0 3 0x14280 nfsidl nfsio 51620 4907 0 0 3 0x14280 nfsidl nfsio 31425 378360 0 0 3 0x14280 nfsidl nfsio 35909 206155 0 0 3 0x14280 nfsidl nfsio 24108 32651 0 0 3 0x14280 nfsidl nfsio 45965 372770 0 0 3 0x14280 nfsidl nfsio 13558 97363 0 0 3 0x14280 nfsidl nfsio 51264 328671 0 0 3 0x14280 nfsidl nfsio 58360 156567 0 0 3 0x14280 nfsidl nfsio 23723 251432 0 0 3 0x14280 nfsidl nfsio 23045 301297 0 0 3 0x14280 nfsidl nfsio 31392 440097 0 0 3 0x14280 nfsidl nfsio 40186 73716 0 0 3 0x14280 nfsidl nfsio 70409 179501 0 0 3 0x14280 nfsidl nfsio 71249 44901 0 0 3 0x14280 nfsidl nfsio 1017 358317 0 0 3 0x14200 acct acct 84096 245510 0 0 3 0x14200 bored sosplice 48087 441222 12545 0 3 0x82 nanoslp syz-executor 4060 332227 12545 0 2 0x2 syz-executor 96224 29753 12545 0 3 0x82 nanoslp syz-executor 97006 445292 12545 0 3 0x82 nanoslp syz-executor 77690 241649 12545 0 3 0x82 nanoslp syz-executor 62405 363812 12545 0 2 0x2 syz-executor 21122 508643 12545 0 3 0x82 nanoslp syz-executor 96206 427616 12545 0 3 0x82 nanoslp syz-executor 12545 5544 78423 0 3 0x82 kqread syz-executor 78423 151857 7870 0 3 0x10008a sigsusp ksh 7870 481974 34195 0 3 0x98 kqread sshd-session 34195 31408 71910 0 3 0x92 kqread sshd-session 76449 356200 1 0 3 0x100083 ttyin getty 71910 334399 1 0 3 0x88 kqread sshd 73264 68014 32285 73 3 0x1100090 kqread syslogd 32285 105164 1 0 3 0x100082 sbwait syslogd 23748 334230 1 0 3 0x100080 kqread resolvd 80574 430213 89394 77 3 0x100092 kqread dhcpleased 44584 439901 89394 77 3 0x100092 kqread dhcpleased 89394 133586 1 0 3 0x80 kqread dhcpleased 15050 429444 0 0 3 0x14200 bored smr 5500 137932 0 0 2 0x14200 zerothread 68729 119102 0 0 3 0x14200 aiodoned aiodoned 79390 67677 0 0 3 0x14200 syncer update 39277 237288 0 0 3 0x14200 cleaner cleaner 4298 461211 0 0 3 0x14200 reaper reaper 71578 457055 0 0 3 0x14200 pgdaemon pagedaemon 52303 147775 0 0 3 0x14200 bored viomb 83763 290272 0 0 3 0x40014200 acpi0 acpi0 61847 111713 0 0 3 0x14200 bored softnet0 53954 469471 0 0 3 0x14200 bored systqmp 8220 229284 0 0 3 0x14200 bored systq 34821 441044 0 0 3 0x40014200 tmoslp softclock 90579 480690 0 0 3 0x40014200 idle0 1 170375 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10166 11033K 11279K 166960K 11422 0 pcb 18 13K 14K 166960K 95 0 rtable 159 5K 7K 166960K 308 0 pf 27 12K 17K 166960K 66 0 ifaddr 34 6K 7K 166960K 62 0 ifgroup 42 1K 2K 166960K 81 0 sysctl 1 1K 9K 166960K 7 0 counters 30 17K 18K 166960K 50 0 ioctlops 0 0K 4K 166960K 68 0 iov 0 0K 12K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1333 84K 85K 166960K 1487 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 7 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 232K 166960K 336 0 sigio 0 0K 0K 166960K 5 0 proc 60 59K 124K 166960K 500 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 25 0 in_multi 77 5K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 365 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 226 160K 168K 166960K 4559 0 UVM aobj 4 2K 2K 166960K 5 0 pinsyscall 37 74K 96K 166960K 1345 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 9 0K 2K 166960K 37 0 temp 46 8640K 8721K 166960K 4561 0 kqueue 14 22K 28K 166960K 75 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 47 0 44 1 0 1 1 0 8 0 rtentry 136 102 0 36 4 0 4 4 0 8 0 unpcb 144 290 0 274 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 145 0 141 7 0 7 7 0 8 6 arp 96 10 0 2 1 0 1 1 0 8 0 inpcb 328 306 0 298 7 0 7 7 0 8 6 ip6q 72 2 0 2 1 0 1 1 0 8 1 ip6af 40 4 0 4 1 0 1 1 0 8 1 nd6 112 16 0 4 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 14 0 14 2 1 1 1 0 8 1 pppxif 1384 4 0 4 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfosfp 40 2 0 1 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 4 0 4 2 1 1 1 0 8 1 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pftag 88 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 1344 3 0 3 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 516 0 205 30 1 29 30 0 8 5 art_table 40 518 0 205 5 0 5 5 0 8 0 art_node 32 102 0 44 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 2 1 1 1 0 8 1 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 7 0 3 1 0 1 1 0 8 0 shmpl 112 2 0 1 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 1928 0 433 95 0 95 95 0 8 0 ffsino 256 1928 0 433 95 0 95 95 0 8 0 nchpl 144 2383 0 707 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 2071 0 0 43 0 43 43 0 8 0 vnodes 216 2071 0 0 116 0 116 116 0 8 0 namei 1024 7700 0 7697 4 2 2 2 0 8 1 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 42 0 24 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 9576 0 9576 10 7 3 8 1 8 3 plimitpl 152 102 0 84 1 0 1 1 0 8 0 sigapl 424 619 0 556 9 1 8 8 0 8 0 knotepl 120 11012 0 10962 16 7 9 9 0 8 7 kqueuepl 184 93 0 83 1 0 1 1 0 8 0 pipepl 304 113 0 84 3 0 3 3 0 8 0 fdescpl 448 584 0 556 5 1 4 5 0 8 0 filepl 120 2971 0 2753 10 0 10 10 0 8 3 lockfpl 104 151 0 149 1 0 1 1 0 8 0 lockfspl 48 40 0 38 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 352 0 341 1 0 1 1 0 8 0 zombiepl 144 654 0 654 2 1 1 1 0 8 1 processpl 1152 619 0 556 5 0 5 5 0 8 0 procpl 664 954 0 878 8 0 8 8 0 8 0 sockpl 552 647 0 620 8 0 8 8 0 8 6 mcl64k 65536 7 0 7 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2704 0 2653 14 6 8 13 0 8 1 mcl2k 2048 427 0 426 1 0 1 1 0 8 0 mtagpl 96 6 0 5 1 0 1 1 0 8 0 mbufpl 256 5969 0 5822 14 2 12 12 0 8 1 bufpl 280 3930 0 118 273 0 273 273 0 8 0 anonpl 24 127007 0 121808 56 2 54 54 0 187 22 amapchunkpl 152 14697 0 14090 38 6 32 32 0 158 7 amappl16 200 2261 0 2234 7 2 5 5 0 8 2 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 105 0 94 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1190 0 1162 3 1 2 3 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 103 0 93 1 0 1 1 0 8 0 amappl6 120 167 0 164 1 0 1 1 0 8 0 amappl5 112 112 0 106 1 0 1 1 0 8 0 amappl4 104 265 0 251 1 0 1 1 0 8 0 amappl3 96 2297 0 2205 3 0 3 3 0 8 0 amappl2 88 817 0 747 2 0 2 2 0 8 0 amappl1 80 8661 0 8116 13 1 12 13 0 8 0 amappl 88 3889 0 3727 5 0 5 5 0 92 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 4 0 1 1 0 1 1 0 8 0 uaddrrnd 24 584 0 556 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 584 0 556 1 0 1 1 0 8 0 vmmpekpl 168 6165 0 6123 3 0 3 3 0 8 0 vmmpepl 168 43291 0 41492 86 0 86 86 0 357 1 vmsppl 368 583 0 556 4 1 3 4 0 8 0 rwobjpl 40 16555 0 13632 31 0 31 31 0 8 0 pdppl 4096 1174 0 1112 96 30 66 82 0 8 4 pvpl 32 300572 0 289043 139 14 125 125 0 265 32 pmappl 216 583 0 556 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 378 0 49 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003a9254f8,ffff80003a931150,ffff80003a9310a0) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003a931150) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a931150) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2c24c8345e0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003a9254f8,ffff80003a931150,ffff80003a9310a0) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003a931150) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a931150) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2c24c8345e0, count: -3