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(ffff80003c95e2d0,ffff80003b131df0,ffff80003b131d40) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003b131df0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003b131df0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc15c5d86650, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003b131d20 rbx 0xdeaf4152deaf4152 rdx 0 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0xf0aa5d2c555228fd r11 0x3d6265fe8442d1d1 r12 0 r13 0xfffffd806c0ffc40 r14 0xffff80003b131df0 r15 0 rip 0xffffffff810bd015 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003b131c30 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=169128 pid=45705 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c95e800,0xffff80003c95ed40 process=0xffff8000ffffb198 user=0xffff80003b12c000, vmspace=0xfffffd806c24c180 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45705 320216 74460 0 2 0 syz-executor *45705 169128 74460 0 7 0x4000000 syz-executor 45705 294106 74460 0 3 0x4000080 fsleep syz-executor 79592 251675 75394 0 3 0x80 fsleep syz-executor 79592 510792 75394 0 2 0x4000000 syz-executor 63849 413073 45979 0 3 0x80 fsleep syz-executor 63849 123412 45979 0 3 0x4000080 ttyin syz-executor 24551 307611 79859 0 3 0x80 fsleep syz-executor 24551 9943 79859 0 3 0x4000080 sbwait syz-executor 45979 197501 35247 0 2 0xc82 syz-executor 95243 374692 50797 0 3 0x80 fsleep syz-executor 95243 129282 50797 0 3 0x4000080 bell syz-executor 47407 186717 27465 60929 3 0x90 fsleep syz-executor 47407 347184 27465 60929 3 0x4000090 netcon syz-executor 20000 470843 69170 0 3 0x80 fsleep syz-executor 20000 411795 69170 0 3 0x4000080 ttyin syz-executor 59834 265931 0 0 3 0x14200 acct acct 30006 107810 0 0 3 0x14280 nfsidl nfsio 63367 130123 0 0 3 0x14280 nfsidl nfsio 28428 22955 0 0 3 0x14280 nfsidl nfsio 87709 357665 0 0 3 0x14280 nfsidl nfsio 27732 520746 0 0 3 0x14280 nfsidl nfsio 3359 109284 0 0 3 0x14280 nfsidl nfsio 91920 61158 0 0 3 0x14280 nfsidl nfsio 70692 332752 0 0 3 0x14280 nfsidl nfsio 10579 79941 0 0 3 0x14280 nfsidl nfsio 31096 97364 0 0 3 0x14280 nfsidl nfsio 34300 171689 0 0 3 0x14280 nfsidl nfsio 95900 192740 0 0 3 0x14280 nfsidl nfsio 6564 369307 0 0 3 0x14280 nfsidl nfsio 83566 52128 0 0 3 0x14280 nfsidl nfsio 7457 383197 0 0 3 0x14280 nfsidl nfsio 6266 299209 0 0 3 0x14280 nfsidl nfsio 62286 442563 0 0 3 0x14280 nfsidl nfsio 84464 164062 0 0 3 0x14280 nfsidl nfsio 71722 333521 0 0 3 0x14280 nfsidl nfsio 46020 133772 0 0 3 0x14280 nfsidl nfsio 17351 126246 0 0 3 0x14200 bored sosplice 50797 368465 35247 0 2 0xc82 syz-executor 79859 276097 35247 0 2 0xc82 syz-executor 75394 345935 35247 0 3 0x82 nanoslp syz-executor 7619 95141 35247 0 2 0x2 syz-executor 27465 148860 35247 0 2 0xc82 syz-executor 74460 192176 35247 0 3 0x82 nanoslp syz-executor 69170 63343 35247 0 2 0xc82 syz-executor 35247 63262 54053 0 3 0x82 kqread syz-executor 54053 31217 70845 0 3 0x10008a sigsusp ksh 70845 327354 33879 0 3 0x98 kqread sshd-session 33879 85381 98010 0 3 0x92 kqread sshd-session 14507 11830 1 0 3 0x100083 ttyin getty 98010 209122 1 0 3 0x88 kqread sshd 81291 226644 72629 73 3 0x1100090 kqread syslogd 72629 505778 1 0 3 0x100082 sbwait syslogd 60499 452125 1 0 3 0x100080 kqread resolvd 98604 245601 46286 77 3 0x100092 kqread dhcpleased 18285 76431 46286 77 3 0x100092 kqread dhcpleased 46286 274321 1 0 3 0x80 kqread dhcpleased 13529 143875 0 0 2 0x14200 smr 65834 321827 0 0 2 0x14200 zerothread 86964 521278 0 0 3 0x14200 aiodoned aiodoned 72938 345569 0 0 3 0x14200 syncer update 45574 18014 0 0 3 0x14200 cleaner cleaner 54302 188729 0 0 3 0x14200 reaper reaper 2844 518346 0 0 3 0x14200 pgdaemon pagedaemon 2195 341772 0 0 3 0x14200 bored viomb 25006 280720 0 0 3 0x40014200 acpi0 acpi0 20543 196792 0 0 2 0x14200 softnet0 41998 311415 0 0 3 0x14200 smrbar systqmp 62907 332920 0 0 3 0x14200 syncxs systq 94421 509431 0 0 2 0x40014200 softclock 49167 439451 0 0 3 0x40014200 idle0 1 299759 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 10188 11233K 11731K 166960K 12901 0 pcb 20 15K 16K 166960K 318 0 rtable 204 7K 8K 166960K 483 0 pf 31 13K 67481K 166960K 97 0 ifaddr 38 6K 7K 166960K 73 0 ifgroup 49 2K 2K 166960K 103 0 sysctl 4 1K 9K 166960K 45 0 counters 31 17K 18K 166960K 53 0 ioctlops 0 0K 4K 166960K 157 0 iov 1 2K 16K 166960K 221 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1471 92K 93K 166960K 2324 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 61 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 941 0 sigio 0 0K 0K 166960K 81 0 proc 60 59K 124K 166960K 597 0 subproc 72 4K 4K 166960K 83 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 106 0 in_multi 86 6K 7K 166960K 159 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 426 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 216 151K 161K 166960K 10059 0 UVM aobj 23 2K 2K 166960K 25 0 pinsyscall 38 76K 96K 166960K 2019 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 64 0 NDP 12 0K 2K 166960K 46 0 temp 77 8648K 8776K 166960K 33351 0 kqueue 13 20K 29K 166960K 166 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 vscsiccb 40 1 0 0 1 0 1 1 0 8 0 rtpcb 120 107 0 104 1 0 1 1 0 8 0 rtentry 136 140 0 54 4 0 4 4 0 8 0 unpcb 144 577 0 559 4 2 2 3 0 8 1 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 3 0 3 1 1 0 1 0 8 0 tcpcb 736 270 0 262 8 6 2 7 0 8 1 arp 96 22 0 5 1 0 1 1 0 8 0 ipq 40 6 0 2 1 0 1 1 0 8 0 ipqe 40 40 0 4 1 0 1 1 0 8 0 inpcb 328 1053 0 1039 19 12 7 13 0 8 5 nd6 112 32 0 11 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 1 1 1 0 8 1 ppxss 1072 16 0 16 2 1 1 1 0 8 1 pfstscr 40 3 0 3 2 1 1 1 0 8 1 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 6 1 0 1 1 0 8 0 pfstate 384 4 0 3 1 0 1 1 0 8 0 pfrule 1344 7 0 7 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 625 0 238 29 3 26 29 0 8 1 art_table 40 627 0 238 5 0 5 5 0 8 0 art_node 32 140 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 1 0 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 58 0 49 1 0 1 1 0 8 0 shmpl 112 22 0 2 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 3217 0 1718 95 0 95 95 0 8 0 ffsino 256 3217 0 1718 95 0 95 95 0 8 0 nchpl 144 4560 0 2869 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 vnodes 216 3789 0 0 211 0 211 211 0 8 0 namei 1024 16156 0 16154 3 2 1 2 0 8 0 kstatmem 264 56 0 36 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 14466 0 14465 15 7 8 8 1 8 7 plimitpl 152 301 0 284 1 0 1 1 0 8 0 sigapl 424 1225 0 1161 8 0 8 8 0 8 0 knotepl 120 35123 0 35076 26 16 10 24 0 8 8 kqueuepl 184 385 0 376 7 3 4 4 0 8 3 pipepl 304 175 0 148 3 0 3 3 0 8 0 fdescpl 448 1188 0 1159 5 1 4 5 0 8 0 filepl 120 8018 0 7795 15 5 10 13 0 8 2 lockfpl 104 331 0 328 1 0 1 1 0 8 0 lockfspl 48 147 0 144 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 41 0 25 1 0 1 1 0 8 0 ucredpl 104 1479 0 1466 1 0 1 1 0 8 0 zombiepl 144 1430 0 1430 1 0 1 1 0 8 1 processpl 1152 1225 0 1161 5 0 5 5 0 8 0 procpl 664 2505 0 2433 8 0 8 8 0 8 0 sosppl 168 5 0 5 2 1 1 1 0 8 1 sockpl 552 1770 0 1735 18 10 8 13 0 8 5 mcl64k 65536 255 0 253 3 1 2 2 0 8 1 mcl16k 16384 67 0 67 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 19 0 19 2 1 1 1 0 8 1 mcl4k 4096 3507 0 3458 14 6 8 13 0 8 1 mcl2k 2048 1282 0 1279 3 1 2 2 0 8 1 mtagpl 96 10 0 5 1 0 1 1 0 8 0 mbufpl 256 12481 0 12292 19 6 13 19 0 8 0 bufpl 280 5114 0 223 350 0 350 350 0 8 0 anonpl 24 199049 0 195947 63 18 45 45 0 187 13 amapchunkpl 152 32764 0 32331 30 5 25 27 0 158 7 amappl16 200 3943 0 3910 26 12 14 15 0 8 10 amappl15 192 5 0 4 1 0 1 1 0 8 0 amappl14 184 6 0 6 1 1 0 1 0 8 0 amappl13 176 427 0 426 1 0 1 1 0 8 0 amappl12 168 1534 0 1496 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 24 0 23 1 0 1 1 0 8 0 amappl7 128 92 0 90 1 0 1 1 0 8 0 amappl6 120 288 0 277 1 0 1 1 0 8 0 amappl5 112 72 0 64 1 0 1 1 0 8 0 amappl4 104 399 0 372 1 0 1 1 0 8 0 amappl3 96 5736 0 5655 3 0 3 3 0 8 0 amappl2 88 1313 0 1243 2 0 2 2 0 8 0 amappl1 80 12455 0 11914 13 0 13 13 0 8 0 amappl 88 9194 0 9047 5 0 5 5 0 92 0 uvmvnodes 80 3789 0 0 78 0 78 78 0 8 0 dma32768 32768 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 7 0 7 2 1 1 1 0 8 1 dma32 32 8 0 8 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 24 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1188 0 1159 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1188 0 1159 1 0 1 1 0 8 0 vmmpekpl 168 10884 0 10848 2 0 2 2 0 8 0 vmmpepl 168 81528 0 79756 100 9 91 92 0 357 8 vmsppl 368 1187 0 1159 4 1 3 4 0 8 0 rwobjpl 40 27458 0 22820 49 0 49 49 0 8 0 pdppl 4096 2382 0 2318 102 34 68 82 0 8 4 pvpl 32 525107 0 516399 129 28 101 114 0 265 15 pmappl 216 1187 0 1159 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 396 0 67 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c95e2d0,ffff80003b131df0,ffff80003b131d40) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003b131df0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003b131df0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc15c5d86650, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c95e2d0,ffff80003b131df0,ffff80003b131d40) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003b131df0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003b131df0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc15c5d86650, count: -3