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(ffff80002a769780,ffff80003c91d530,ffff80003c91d480) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c91d530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c91d530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd5d6b98a640, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c91d460 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0xfe838732e22bb702 r11 0xd32f90e65a458bf r12 0 r13 0xfffffd806ca12bd0 r14 0xffff80003c91d530 r15 0 rip 0xffffffff82402495 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c91d370 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=429999 pid=39281 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a768a88,0xffff80002a769a28 process=0xffff8000ffff8918 user=0xffff80003c918000, vmspace=0xfffffd800e109d08 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 39281 418621 21267 0 2 0 syz-executor *39281 429999 21267 0 7 0x4000000 syz-executor 39281 366199 21267 0 3 0x4000080 fsleep syz-executor 39281 432579 21267 0 3 0x4000080 fsleep syz-executor 3356 291819 91819 0 2 0 syz-executor 3356 354249 91819 0 3 0x4000080 fsleep syz-executor 73968 413558 2263 0 2 0 syz-executor 73968 305479 2263 0 3 0x4000080 fsleep syz-executor 72015 461443 16089 0 2 0 syz-executor 72015 251962 16089 0 3 0x4000080 msgwait syz-executor 72015 301440 16089 0 2 0x4000000 syz-executor 65400 178837 78982 0 2 0x1 syz-executor 65400 429928 78982 0 3 0x4000080 fsleep syz-executor 65400 87248 78982 0 2 0x4000001 syz-executor 83159 395214 0 0 3 0x14200 acct acct 21267 72756 37026 0 3 0x82 nanoslp syz-executor 99499 283583 37026 0 2 0x2 syz-executor 1148 335997 37026 0 2 0x2 syz-executor 91819 430588 37026 0 3 0x82 nanoslp syz-executor 16089 152019 37026 0 3 0x82 nanoslp syz-executor 6060 486915 37026 0 3 0x82 wait syz-executor 78982 351889 37026 0 3 0x82 nanoslp syz-executor 2263 476855 37026 0 3 0x82 nanoslp syz-executor 37026 151892 91386 0 2 0x2 syz-executor 91386 78518 85066 0 3 0x10008a sigsusp ksh 85066 279034 15787 0 3 0x98 kqread sshd-session 15787 454537 39981 0 3 0x92 kqread sshd-session 72309 150484 1 0 3 0x100083 ttyopn getty 39981 315957 1 0 3 0x88 kqread sshd 38532 10433 90012 73 3 0x1100090 kqread syslogd 90012 388188 1 0 3 0x100082 sbwait syslogd 73729 368577 1 0 3 0x100080 kqread resolvd 36919 105893 65811 77 3 0x100092 kqread dhcpleased 7481 244147 65811 77 3 0x100092 kqread dhcpleased 65811 34104 1 0 3 0x80 kqread dhcpleased 67444 191714 0 0 3 0x14200 bored smr 41089 411948 0 0 2 0x14200 zerothread 88012 325113 0 0 3 0x14200 aiodoned aiodoned 8394 206749 0 0 3 0x14200 syncer update 90372 477978 0 0 3 0x14200 cleaner cleaner 43741 403440 0 0 3 0x14200 reaper reaper 36701 434106 0 0 3 0x14200 pgdaemon pagedaemon 90271 327197 0 0 3 0x14200 bored viomb 55063 151983 0 0 3 0x40014200 acpi0 acpi0 8204 501911 0 0 3 0x14200 bored softnet0 91789 61773 0 0 3 0x14200 bored systqmp 79974 442924 0 0 3 0x14200 bored systq 126 168775 0 0 3 0x40014200 tmoslp softclock 26278 454369 0 0 3 0x40014200 idle0 1 102612 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 11050 12121K 12556K 166960K 12397 0 pcb 17 12K 12K 166960K 79 0 rtable 216 8K 8K 166960K 473 0 pf 38 14K 17K 166960K 61 0 ifaddr 41 7K 7K 166960K 60 0 ifgroup 58 2K 2K 166960K 84 0 sysctl 3 1K 9K 166960K 12 0 counters 35 18K 18K 166960K 44 0 ioctlops 0 0K 8K 166960K 79 0 iov 0 0K 12K 166960K 43 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1387 87K 88K 166960K 1818 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 11 1K 1K 166960K 18 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 85K 166960K 403 0 sigio 0 0K 0K 166960K 7 0 proc 60 59K 91K 166960K 553 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 30 0 in_multi 88 6K 7K 166960K 128 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 19 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 410 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 217 150K 180K 166960K 5436 0 UVM aobj 9 6K 6K 166960K 10 0 pinsyscall 38 76K 91K 166960K 1520 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 13 0K 2K 166960K 37 0 temp 49 9068K 9134K 166960K 22521 0 kqueue 14 22K 28K 166960K 81 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 91 0 87 2 1 1 2 0 8 0 rtentry 136 130 0 40 4 0 4 4 0 8 0 unpcb 144 373 0 356 4 3 1 4 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpqe 32 6 0 6 1 1 0 1 0 8 0 tcpcb 736 176 0 171 10 3 7 7 0 8 6 arp 96 21 0 5 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 328 382 0 374 13 4 9 9 0 8 8 ip6q 72 1 0 0 1 0 1 1 0 8 0 nd6 112 28 0 6 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 4 0 4 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfosfp 40 2 0 0 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 0 1 0 1 1 0 8 0 pfstate 384 2 0 0 1 0 1 1 0 8 0 pfrule 1360 2 0 1 1 0 1 1 0 8 0 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 542 0 143 31 3 28 31 0 8 0 art_table 40 544 0 143 5 0 5 5 0 8 0 art_node 32 130 0 49 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 14 0 6 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2052 0 596 92 0 92 92 0 8 0 ffsino 256 2052 0 596 92 0 92 92 0 8 0 nchpl 144 2627 0 935 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2482 0 0 138 0 138 138 0 8 0 namei 1024 8787 0 8786 2 1 1 2 0 8 0 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 808 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 38 0 12 3 0 3 3 0 8 1 scsiplug 72 4 0 4 3 2 1 1 0 8 1 scxspl 216 9005 0 9005 8 7 1 8 1 8 1 plimitpl 152 83 0 67 1 0 1 1 0 8 0 sigapl 424 695 0 652 6 1 5 6 0 8 0 knotepl 120 17552 0 17503 23 14 9 17 0 8 7 kqueuepl 184 171 0 160 4 3 1 4 0 8 0 pipepl 304 207 0 180 8 5 3 8 0 8 0 fdescpl 448 681 0 652 4 0 4 4 0 8 0 filepl 120 4131 0 3918 20 9 11 13 0 8 3 lockfpl 104 105 0 103 1 0 1 1 0 8 0 lockfspl 48 50 0 48 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 486 0 474 1 0 1 1 0 8 0 zombiepl 144 772 0 771 2 1 1 1 0 8 0 processpl 1152 695 0 652 4 0 4 4 0 8 0 procpl 664 1149 0 1097 6 0 6 6 0 8 0 sockpl 552 853 0 824 18 8 10 10 0 8 7 mcl64k 65536 14 0 14 3 2 1 1 0 8 1 mcl8k 8192 69 0 69 2 1 1 1 0 8 1 mcl4k 4096 2803 0 2748 16 8 8 16 0 8 0 mcl2k 2048 444 0 443 2 1 1 2 0 8 0 mtagpl 96 12 0 6 1 0 1 1 0 8 0 mbufpl 256 6692 0 6514 16 3 13 16 0 8 0 bufpl 280 3132 0 109 216 0 216 216 0 8 0 anonpl 24 104841 0 101602 73 25 48 50 0 187 21 amapchunkpl 152 17445 0 16981 45 14 31 38 0 158 11 amappl16 200 1426 0 1396 27 16 11 16 0 8 7 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 420 0 419 1 0 1 1 0 8 0 amappl13 176 129 0 119 1 0 1 1 0 8 0 amappl12 168 921 0 893 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 1 0 1 0 8 0 amappl10 152 56 0 46 1 0 1 1 0 8 0 amappl9 144 288 0 287 1 0 1 1 0 8 0 amappl8 136 102 0 100 1 0 1 1 0 8 0 amappl7 128 39 0 37 1 0 1 1 0 8 0 amappl6 120 267 0 257 1 0 1 1 0 8 0 amappl5 112 91 0 84 1 0 1 1 0 8 0 amappl4 104 437 0 400 2 0 2 2 0 8 0 amappl3 96 2813 0 2726 3 0 3 3 0 8 0 amappl2 88 747 0 688 2 0 2 2 0 8 0 amappl1 80 10194 0 9646 13 1 12 13 0 8 0 amappl 88 4690 0 4535 5 0 5 5 0 92 0 uvmvnodes 80 105 0 0 3 0 3 3 0 8 0 dma8192 8192 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 255 0 255 2 1 1 1 0 8 1 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 9 0 1 1 0 1 1 0 8 0 uaddrrnd 24 680 0 652 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 680 0 652 1 0 1 1 0 8 0 vmmpekpl 168 7299 0 7259 3 0 3 3 0 8 0 vmmpepl 168 49853 0 48094 103 11 92 92 0 357 10 vmsppl 368 680 0 652 4 1 3 4 0 8 0 rwobjpl 40 15686 0 14723 14 1 13 13 0 8 0 pdppl 4096 1371 0 1306 100 32 68 76 0 8 3 pvpl 32 302353 0 293816 177 43 134 135 0 265 49 pmappl 216 682 0 652 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 386 0 58 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a769780,ffff80003c91d530,ffff80003c91d480) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c91d530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c91d530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd5d6b98a640, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a769780,ffff80003c91d530,ffff80003c91d480) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c91d530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c91d530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd5d6b98a640, count: -3