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(ffff800035d2b788,ffff80003c937720,ffff80003c937670) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c937720) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937720) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcfac74e0dd0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c937650 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x2bd90442bc17f782 r11 0xa47299906617e7ec r12 0 r13 0xfffffd806bfd4c40 r14 0xffff80003c937720 r15 0 rip 0xffffffff81d4e9d5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c937560 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=21206 pid=77091 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=83, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800035d2a7f8,0xffff800035d2ba30 process=0xffff8000ffffb198 user=0xffff80003c932000, vmspace=0xfffffd806c1f2b98 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 40233 32066 71874 0 2 0 syz-executor 40233 512945 71874 0 2 0x4000000 syz-executor 30603 14675 45782 0 2 0 syz-executor 30603 500079 45782 0 2 0x4000000 syz-executor 53899 223990 31076 0 2 0 syz-executor 53899 32830 31076 0 3 0x4000080 fsleep syz-executor 77091 439543 54462 0 2 0 syz-executor *77091 21206 54462 0 7 0x4000000 syz-executor 77091 331433 54462 0 3 0x4000080 fsleep syz-executor 7015 468540 36842 0 2 0 syz-executor 7015 375491 36842 0 2 0x4000000 syz-executor 6195 259377 4278 0 2 0 syz-executor 6195 191105 4278 0 2 0x4000000 syz-executor 13171 166900 5307 0 3 0x80 nanoslp syz-executor 13171 312954 5307 0 3 0x4000080 sbwait syz-executor 13171 190475 5307 0 3 0x4000080 fsleep syz-executor 29630 408502 87911 0 2 0 syz-executor 29630 209147 87911 0 2 0x4000000 syz-executor 29630 434155 87911 0 3 0x4000080 fsleep syz-executor 68447 513927 0 0 3 0x14200 acct acct 54462 289251 88115 0 3 0x82 nanoslp syz-executor 52392 27459 1 0 3 0x100083 ttyin getty 31076 120065 88115 0 3 0x82 nanoslp syz-executor 33107 37151 0 0 3 0x14280 nfsidl nfsio 81975 108489 0 0 3 0x14280 nfsidl nfsio 69774 350263 0 0 3 0x14280 nfsidl nfsio 14998 11328 0 0 3 0x14280 nfsidl nfsio 75433 95445 0 0 3 0x14280 nfsidl nfsio 248 107989 0 0 3 0x14280 nfsidl nfsio 67698 271954 0 0 3 0x14280 nfsidl nfsio 20576 139543 0 0 3 0x14280 nfsidl nfsio 26730 231379 0 0 3 0x14280 nfsidl nfsio 20321 155389 0 0 3 0x14280 nfsidl nfsio 65834 133405 0 0 3 0x14280 nfsidl nfsio 35504 359144 0 0 3 0x14280 nfsidl nfsio 48622 159405 0 0 3 0x14280 nfsidl nfsio 47880 169152 0 0 3 0x14280 nfsidl nfsio 14857 63728 0 0 3 0x14280 nfsidl nfsio 95519 328887 0 0 3 0x14280 nfsidl nfsio 53457 91212 0 0 3 0x14280 nfsidl nfsio 75679 134230 0 0 3 0x14280 nfsidl nfsio 25728 49407 0 0 3 0x14280 nfsidl nfsio 87966 401057 0 0 3 0x14280 nfsidl nfsio 15423 145776 0 0 3 0x14200 bored sosplice 5307 17522 88115 0 3 0x82 nanoslp syz-executor 87911 303404 88115 0 3 0x82 nanoslp syz-executor 36842 383550 88115 0 3 0x82 nanoslp syz-executor 4278 464448 88115 0 3 0x82 nanoslp syz-executor 71874 134738 88115 0 3 0x82 nanoslp syz-executor 45782 341409 88115 0 3 0x82 nanoslp syz-executor 88115 369422 38992 0 3 0x82 kqread syz-executor 38992 154853 38559 0 3 0x10008a sigsusp ksh 38559 190464 97294 0 3 0x98 kqread sshd-session 97294 241901 33526 0 3 0x92 kqread sshd-session 33526 50260 1 0 3 0x88 kqread sshd 60479 382214 49918 73 3 0x1100090 kqread syslogd 49918 130870 1 0 3 0x100082 sbwait syslogd 16802 393886 1 0 3 0x100080 kqread resolvd 63411 2022 39661 77 3 0x100092 kqread dhcpleased 77108 30234 39661 77 3 0x100092 kqread dhcpleased 39661 4755 1 0 3 0x80 kqread dhcpleased 2923 186559 0 0 3 0x14200 bored smr 40483 485341 0 0 2 0x14200 zerothread 3072 363221 0 0 3 0x14200 aiodoned aiodoned 24331 499198 0 0 3 0x14200 syncer update 6583 351838 0 0 3 0x14200 cleaner cleaner 13203 144755 0 0 3 0x14200 reaper reaper 18532 506030 0 0 3 0x14200 pgdaemon pagedaemon 23147 12600 0 0 3 0x14200 bored viomb 79522 440122 0 0 3 0x40014200 acpi0 acpi0 62597 18541 0 0 3 0x14200 bored softnet0 47150 76317 0 0 3 0x14200 bored systqmp 20602 339318 0 0 3 0x14200 bored systq 46007 293400 0 0 3 0x40014200 tmoslp softclock 38143 230186 0 0 3 0x40014200 idle0 1 29751 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 10185 11067K 11448K 166960K 12797 0 pcb 17 16K 17K 166960K 288 0 rtable 162 6K 8K 166960K 513 0 pf 29 12K 67481K 166960K 105 0 ifaddr 31 5K 7K 166960K 82 0 ifgroup 46 2K 2K 166960K 121 0 sysctl 4 1K 9K 166960K 13 0 counters 31 17K 18K 166960K 66 0 ioctlops 0 0K 4K 166960K 179 0 iov 1 8K 16K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1495 94K 94K 166960K 2188 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 25 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 785 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 100K 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 103 0 in_multi 61 4K 7K 166960K 151 0 ether_multi 1 0K 0K 166960K 13 0 mrt 2 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 483 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 233 151K 168K 166960K 8771 0 UVM aobj 20 2K 4K 166960K 25 0 pinsyscall 39 78K 94K 166960K 1915 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 43 0 NDP 10 0K 2K 166960K 55 0 temp 52 8645K 8711K 166960K 27604 0 kqueue 14 22K 28K 166960K 141 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 93 0 89 1 0 1 1 0 8 0 rtentry 136 152 0 89 4 0 4 4 0 8 0 unpcb 144 366 0 351 3 1 2 2 0 8 1 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 191 0 185 1 0 1 1 0 8 0 arp 96 24 0 12 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 6 0 3 1 0 1 1 0 8 0 inpcb 328 931 0 921 13 6 7 7 0 8 5 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 4 0 4 1 0 1 1 0 8 1 nd6 112 34 0 21 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 26 0 26 2 1 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 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 0 1 1 0 8 1 pftag 88 1 0 1 1 0 1 1 0 8 1 pfrule 1344 4 0 4 2 1 1 1 0 8 1 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 654 0 357 30 4 26 30 0 8 5 art_table 40 657 0 357 5 0 5 5 0 8 0 art_node 32 152 0 96 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 4 1 0 1 1 0 8 0 semapl 112 20 0 11 1 0 1 1 0 8 0 shmpl 112 22 0 5 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2720 0 1217 95 0 95 95 0 8 0 ffsino 256 2720 0 1217 95 0 95 95 0 8 0 nchpl 144 3808 0 2114 64 0 64 64 0 8 0 rtmask 32 5 0 5 1 0 1 1 0 8 1 vnodes 216 3403 0 0 190 0 190 190 0 8 0 namei 1024 13081 0 13080 2 1 1 2 0 8 0 kstatmem 264 70 0 50 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 12833 0 12833 9 7 2 8 1 8 2 plimitpl 152 126 0 110 1 0 1 1 0 8 0 sigapl 424 1082 0 1017 8 0 8 8 0 8 0 knotepl 120 27767 0 27717 24 14 10 16 0 8 7 kqueuepl 184 228 0 216 1 0 1 1 0 8 0 pipepl 304 160 0 133 3 0 3 3 0 8 0 fdescpl 448 1047 0 1017 5 1 4 5 0 8 0 filepl 120 6273 0 6060 15 3 12 12 0 8 2 lockfpl 104 231 0 228 1 0 1 1 0 8 0 lockfspl 48 95 0 92 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 78 0 62 1 0 1 1 0 8 0 ucredpl 104 829 0 818 1 0 1 1 0 8 0 zombiepl 144 1312 0 1312 1 0 1 1 0 8 1 processpl 1152 1082 0 1017 5 0 5 5 0 8 0 procpl 664 2129 0 2052 7 0 7 7 0 8 0 sosppl 168 3 0 3 2 1 1 1 0 8 1 sockpl 552 1418 0 1389 14 6 8 8 0 8 5 mcl64k 65536 84 0 84 2 1 1 1 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 3276 0 3226 13 6 7 13 0 8 0 mcl2k 2048 1201 0 1198 5 2 3 4 0 8 2 mtagpl 96 9 0 7 1 0 1 1 0 8 0 mbufpl 256 11822 0 11674 75 59 16 75 0 8 1 bufpl 280 4533 0 120 316 0 316 316 0 8 0 anonpl 24 180484 0 177286 68 23 45 45 0 187 21 amapchunkpl 152 28692 0 28199 38 7 31 31 0 158 11 amappl16 200 3144 0 3108 26 15 11 15 0 8 8 amappl15 192 9 0 9 2 1 1 1 0 8 1 amappl14 184 3 0 3 1 1 0 1 0 8 0 amappl13 176 467 0 466 1 0 1 1 0 8 0 amappl12 168 1415 0 1376 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 39 0 28 1 0 1 1 0 8 0 amappl9 144 311 0 311 1 1 0 1 0 8 0 amappl8 136 31 0 30 1 0 1 1 0 8 0 amappl7 128 103 0 102 1 0 1 1 0 8 0 amappl6 120 293 0 281 1 0 1 1 0 8 0 amappl5 112 77 0 69 1 0 1 1 0 8 0 amappl4 104 405 0 380 1 0 1 1 0 8 0 amappl3 96 4927 0 4833 3 0 3 3 0 8 0 amappl2 88 1234 0 1161 2 0 2 2 0 8 0 amappl1 80 11868 0 11326 14 1 13 13 0 8 1 amappl 88 7912 0 7747 6 1 5 5 0 92 0 uvmvnodes 80 3403 0 0 70 0 70 70 0 8 0 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 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 83 0 82 1 0 1 1 0 8 0 aobjpl 72 24 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1047 0 1017 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1047 0 1017 1 0 1 1 0 8 0 vmmpekpl 168 9454 0 9416 3 0 3 3 0 8 1 vmmpepl 168 72426 0 70578 99 8 91 91 0 357 10 vmsppl 368 1046 0 1017 4 1 3 4 0 8 0 rwobjpl 40 24870 0 20594 44 0 44 44 0 8 0 pdppl 4096 2101 0 2034 107 40 67 83 0 8 0 pvpl 32 472854 0 464067 148 24 124 124 0 265 46 pmappl 216 1046 0 1017 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 448 0 119 12 1 11 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff800035d2b788,ffff80003c937720,ffff80003c937670) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c937720) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937720) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcfac74e0dd0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff800035d2b788,ffff80003c937720,ffff80003c937670) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c937720) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937720) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcfac74e0dd0, count: -3