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(ffff80003c94a550,ffff800031d13a90,ffff800031d139e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800031d13a90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031d13a90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8c03beec6f0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff800031d139c0 rbx 0xdead4110dead411c rdx 0 rcx 0 rax 0xdead4110dead411c r8 0x7f7fffffc000 r9 0 r10 0xc0e6ad5acb182cdf r11 0x5b50533cebbbb7bc r12 0 r13 0xfffffd806c22ea10 r14 0xffff800031d13a90 r15 0 rip 0xffffffff81a45c85 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800031d138d0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=519001 pid=74354 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=69, usrpri=70, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c94aa80,0xffff80003c94ba20 process=0xffff8000ffffb618 user=0xffff800031d0e000, vmspace=0xfffffd806c23d460 estcpu=20, cpticks=2, pctcpu=0.1, user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 74354 338804 26888 0 2 0 syz-executor *74354 519001 26888 0 7 0x4000000 syz-executor 74354 27733 26888 0 3 0x4000080 fsleep syz-executor 74354 216415 26888 0 3 0x4000080 fsleep syz-executor 26677 40252 33808 0 3 0x80 nanoslp syz-executor 26677 524007 33808 0 3 0x4000080 lockf syz-executor 26677 319884 33808 0 3 0x4000080 fsleep syz-executor 77067 110995 0 0 3 0x14280 nfsidl nfsio 42504 177638 0 0 3 0x14280 nfsidl nfsio 73812 393342 0 0 3 0x14280 nfsidl nfsio 59213 339074 0 0 3 0x14280 nfsidl nfsio 99338 343620 0 0 3 0x14280 nfsidl nfsio 39683 361483 0 0 3 0x14280 nfsidl nfsio 15375 80344 0 0 3 0x14280 nfsidl nfsio 72682 134208 0 0 3 0x14280 nfsidl nfsio 5535 3329 0 0 3 0x14280 nfsidl nfsio 34092 498907 0 0 3 0x14280 nfsidl nfsio 16954 151957 0 0 3 0x14280 nfsidl nfsio 75773 205278 0 0 3 0x14280 nfsidl nfsio 79007 165146 0 0 3 0x14280 nfsidl nfsio 40959 204243 0 0 3 0x14280 nfsidl nfsio 75171 133270 0 0 3 0x14280 nfsidl nfsio 96641 442003 0 0 3 0x14280 nfsidl nfsio 67394 337695 0 0 3 0x14280 nfsidl nfsio 33138 246534 0 0 3 0x14280 nfsidl nfsio 86563 108089 0 0 3 0x14280 nfsidl nfsio 52275 333875 0 0 3 0x14280 nfsidl nfsio 38007 101059 0 0 3 0x14200 bored sosplice 36269 110783 79813 0 2 0x2 syz-executor 60748 408557 79813 0 2 0x2 syz-executor 31530 475907 79813 0 2 0xc82 syz-executor 50031 333477 79813 0 2 0x2 syz-executor 99530 388265 79813 0 2 0xc82 syz-executor 26227 2993 79813 0 2 0x2 syz-executor 26888 61501 79813 0 3 0x82 nanoslp syz-executor 33808 94799 79813 0 3 0x82 nanoslp syz-executor 79813 369622 59526 0 3 0x82 kqread syz-executor 59526 335105 23998 0 3 0x10008a sigsusp ksh 23998 248543 18617 0 3 0x98 kqread sshd-session 18617 46644 30809 0 3 0x92 kqread sshd-session 47689 254000 1 0 3 0x100083 ttyin getty 30809 447930 1 0 3 0x88 kqread sshd 20833 257021 6094 73 3 0x1100090 kqread syslogd 6094 94917 1 0 3 0x100082 sbwait syslogd 2497 238419 1 0 3 0x100080 kqread resolvd 3196 485836 67651 77 3 0x100092 kqread dhcpleased 97819 356996 67651 77 3 0x100092 kqread dhcpleased 67651 503072 1 0 3 0x80 kqread dhcpleased 24211 214180 0 0 3 0x14200 bored smr 29537 67328 0 0 2 0x14200 zerothread 37520 429835 0 0 3 0x14200 aiodoned aiodoned 83213 513265 0 0 3 0x14200 syncer update 49111 358445 0 0 3 0x14200 cleaner cleaner 90787 181067 0 0 3 0x14200 reaper reaper 72606 309007 0 0 3 0x14200 pgdaemon pagedaemon 45911 148322 0 0 3 0x14200 bored viomb 11539 19099 0 0 3 0x40014200 acpi0 acpi0 30036 32212 0 0 2 0x14200 softnet0 6159 272784 0 0 3 0x14200 bored systqmp 82884 133596 0 0 3 0x14200 bored systq 61032 295950 0 0 3 0x40014200 tmoslp softclock 10380 117225 0 0 3 0x40014200 idle0 1 381205 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 10174 11042K 11561K 166960K 11566 0 pcb 17 12K 12K 166960K 61 0 rtable 228 9K 9K 166960K 401 0 pf 31 13K 67481K 166960K 55 0 ifaddr 41 7K 7K 166960K 59 0 ifgroup 50 2K 2K 166960K 75 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 50 0 ioctlops 0 0K 4K 166960K 68 0 iov 0 0K 16K 166960K 80 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1341 84K 85K 166960K 1593 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 72 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 338 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 108K 166960K 505 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 42 0 in_multi 98 7K 7K 166960K 113 0 ether_multi 1 0K 0K 166960K 4 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 373 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 212 150K 174K 166960K 4718 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 38 76K 96K 166960K 1406 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 25 0 NDP 11 0K 2K 166960K 37 0 temp 42 8639K 8706K 166960K 4820 0 kqueue 13 20K 32K 166960K 69 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 52 0 48 1 0 1 1 0 8 0 rtentry 136 120 0 22 4 0 4 4 0 8 0 unpcb 144 138 0 123 2 1 1 2 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 64 0 59 1 0 1 1 0 8 0 arp 96 19 0 1 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 328 223 0 215 2 1 1 2 0 8 0 nd6 112 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 16 0 16 1 1 0 1 0 8 0 pppxif 1384 1 0 1 1 1 0 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 522 0 79 31 2 29 31 0 8 0 art_table 40 524 0 79 5 0 5 5 0 8 0 art_node 32 120 0 32 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 0 1 1 0 8 1 semapl 112 69 0 65 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2026 0 528 95 0 95 95 0 8 0 ffsino 256 2026 0 528 95 0 95 95 0 8 0 nchpl 144 2483 0 800 64 0 64 64 0 8 0 rtmask 32 7 0 7 1 1 0 1 0 8 0 vnodes 216 2196 0 0 122 0 122 122 0 8 0 namei 1024 7659 0 7658 2 1 1 2 0 8 0 kstatmem 264 42 0 20 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 7805 0 7805 8 7 1 8 1 8 1 plimitpl 152 54 0 36 1 0 1 1 0 8 0 sigapl 424 645 0 582 8 0 8 8 0 8 0 knotepl 120 11814 0 11767 17 15 2 17 0 8 0 kqueuepl 184 155 0 145 4 3 1 4 0 8 0 pipepl 304 125 0 98 3 0 3 3 0 8 0 fdescpl 448 611 0 582 5 1 4 5 0 8 0 filepl 120 2824 0 2605 10 2 8 10 0 8 0 lockfpl 104 79 0 75 1 0 1 1 0 8 0 lockfspl 48 35 0 32 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 511 0 499 1 0 1 1 0 8 0 zombiepl 144 584 0 582 1 0 1 1 0 8 0 processpl 1152 645 0 582 5 0 5 5 0 8 0 procpl 664 956 0 888 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 552 415 0 388 4 1 3 4 0 8 0 mcl64k 65536 62 0 62 1 1 0 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 6 0 6 1 1 0 1 0 8 0 mcl4k 4096 2734 0 2679 15 7 8 14 0 8 0 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 477 0 471 2 0 2 2 0 8 0 mtagpl 96 9 0 7 1 0 1 1 0 8 0 mbufpl 256 6172 0 5974 14 0 14 14 0 8 1 bufpl 280 2577 0 120 176 0 176 176 0 8 0 anonpl 24 125756 0 122838 48 20 28 47 0 187 5 amapchunkpl 152 14932 0 14514 43 12 31 35 0 158 10 amappl16 200 2437 0 2407 11 8 3 11 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 54 0 54 1 1 0 1 0 8 0 amappl13 176 410 0 409 1 0 1 1 0 8 0 amappl12 168 972 0 937 3 1 2 3 0 8 0 amappl11 160 18 0 18 1 1 0 1 0 8 0 amappl10 152 47 0 37 1 0 1 1 0 8 0 amappl9 144 249 0 249 1 1 0 1 0 8 0 amappl8 136 75 0 74 1 0 1 1 0 8 0 amappl7 128 125 0 124 1 0 1 1 0 8 0 amappl6 120 262 0 250 1 0 1 1 0 8 0 amappl5 112 72 0 64 1 0 1 1 0 8 0 amappl4 104 378 0 355 1 0 1 1 0 8 0 amappl3 96 2418 0 2341 3 0 3 3 0 8 0 amappl2 88 731 0 663 2 0 2 2 0 8 0 amappl1 80 9486 0 8957 13 1 12 13 0 8 0 amappl 88 3991 0 3846 5 0 5 5 0 92 0 uvmvnodes 80 2196 0 0 45 0 45 45 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 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 611 0 582 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 611 0 582 1 0 1 1 0 8 0 vmmpekpl 168 6551 0 6520 2 0 2 2 0 8 0 vmmpepl 168 46300 0 44616 88 7 81 88 0 357 1 vmsppl 368 610 0 582 4 1 3 4 0 8 0 rwobjpl 40 17631 0 14608 31 0 31 31 0 8 0 pdppl 4096 1228 0 1164 104 38 66 82 0 8 2 pvpl 32 306337 0 298608 127 34 93 118 0 265 9 pmappl 216 610 0 582 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 381 0 57 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c94a550,ffff800031d13a90,ffff800031d139e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800031d13a90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031d13a90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8c03beec6f0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c94a550,ffff800031d13a90,ffff800031d139e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800031d13a90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031d13a90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8c03beec6f0, count: -3