kernel: protection fault trap, code=0 Stopped at sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace sys_semop(ffff8000ffff39b0,ffff80002a3822e0,ffff80002a382230) at sys_semop+0x3ae sys/kern/sysv_sem.c:620 syscall(ffff80002a3822e0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3822e0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa2c54f12e80, count: -3 ddb{1}> show registers rdi 0 rsi 0x79ea __ALIGN_SIZE+0x69ea rbp 0xffff80002a382200 rbx 0 rdx 0 rcx 0x1ea5 __ALIGN_SIZE+0xea5 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0x1 r10 0xf5d4df0d93d6f149 r11 0xd7a2886c0e6ed810 r12 0xffff800001535904 r13 0x79ea __ALIGN_SIZE+0x69ea r14 0xffff80002a3822e0 r15 0x79ea __ALIGN_SIZE+0x69ea rip 0xffffffff82feef1e sys_semop+0x3ae cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a3820e0 ss 0x10 sys_semop+0x3ae: movzwl 0x8(%rax,%rcx,4),%r15d ddb{1}> show proc PROC (syz-executor) tid=457143 pid=7810 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a297210,0xffff80002a296d00 process=0xffff80003c00c4f8 user=0xffff80002a37d000, vmspace=0xfffffd806c37b3e8 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 31062 508453 91477 0 7 0 syz-executor 31062 103446 91477 0 2 0x4000000 syz-executor 65159 92419 69636 0 2 0 syz-executor 65159 162014 69636 0 3 0x4000080 fsleep syz-executor 65159 64512 69636 0 2 0x4000000 syz-executor 51894 178941 7709 0 4 0x82000 syz-executor 51894 498088 7709 0 2 0x4002000 syz-executor 65853 216663 95127 0 2 0 syz-executor 65853 413658 95127 0 2 0x4000000 syz-executor 7810 313795 72728 0 2 0 syz-executor * 7810 457143 72728 0 7 0x4000000 syz-executor 7810 441009 72728 0 3 0x4000080 fsleep syz-executor 7810 318772 72728 0 2 0x4000000 syz-executor 19281 269045 33045 0 2 0x2 syz-executor 30983 492999 0 0 3 0x14200 acct acct 90650 521823 1 0 3 0x100083 ttyin getty 45007 4252 33045 0 3 0x82 wait syz-executor 246 441886 0 0 3 0x14200 bored sosplice 95127 379191 33045 0 3 0x82 nanoslp syz-executor 72728 509275 33045 0 3 0x82 nanoslp syz-executor 91477 464468 33045 0 3 0x82 nanoslp syz-executor 46555 376461 33045 0 3 0x82 nanoslp syz-executor 69636 234314 33045 0 3 0x82 nanoslp syz-executor 7709 470737 33045 0 3 0x82 nanoslp syz-executor 33045 38480 78414 0 3 0x82 kqread syz-executor 78414 208496 84878 0 3 0x10008a sigsusp ksh 84878 456608 19546 0 3 0x98 kqread sshd-session 19546 191702 93161 0 3 0x92 kqread sshd-session 93161 92393 1 0 3 0x88 kqread sshd 63695 84384 88509 74 3 0x1100092 bpf pflogd 88509 309914 1 0 3 0x80 sbwait pflogd 57839 168068 78925 73 3 0x1100090 kqread syslogd 78925 435329 1 0 3 0x100082 sbwait syslogd 66533 24441 1 0 3 0x100080 kqread resolvd 8395 119192 62382 77 3 0x100092 kqread dhcpleased 50516 28463 62382 77 3 0x100092 kqread dhcpleased 62382 181928 1 0 3 0x80 kqread dhcpleased 27507 402607 0 0 3 0x14200 bored smr 18631 503941 0 0 2 0x14200 zerothread 71953 231047 0 0 3 0x14200 aiodoned aiodoned 33842 413074 0 0 3 0x14200 syncer update 77722 270179 0 0 3 0x14200 cleaner cleaner 97607 507509 0 0 3 0x14200 reaper reaper 63562 201323 0 0 3 0x14200 pgdaemon pagedaemon 35097 236549 0 0 3 0x14200 bored viomb 96358 355507 0 0 3 0x40014200 acpi0 acpi0 66094 113805 0 0 3 0x40014200 idle1 19093 483140 0 0 3 0x14200 bored softnet3 16803 336017 0 0 3 0x14200 bored softnet2 12059 493165 0 0 3 0x14200 bored softnet1 38113 238918 0 0 3 0x14200 bored softnet0 33395 488442 0 0 3 0x14200 bored systqmp 92124 440609 0 0 3 0x14200 bored systq 72650 143615 0 0 3 0x14200 tmoslp softclockmp 10986 416851 0 0 3 0x40014200 tmoslp softclock 90125 519588 0 0 3 0x40014200 idle0 1 76150 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 65853 (syz-executor) thread 0xffff80002a296020 (413658) Process 7810 (syz-executor) thread 0xffff8000ffff39b0 (457143) Process 7810 (syz-executor) thread 0xffff80002a296540 (318772) Process 19281 (syz-executor) thread 0xffff80003c00a028 (269045) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10237 11111K 11591K 166960K 15596 0 pcb 18 19K 24K 166960K 642 0 rtable 162 9K 10K 166960K 765 0 pf 40 18K 21K 166960K 278 0 ifaddr 35 6K 8K 166960K 189 0 ifgroup 64 2K 3K 166960K 362 0 sysctl 4 1K 9K 166960K 19 0 counters 74 37K 38K 166960K 364 0 ioctlops 0 0K 4K 166960K 1939 0 iov 0 0K 16K 166960K 132 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1504 95K 95K 166960K 4060 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 10K 14K 166960K 39 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 84 0 dirhash 12 2K 3K 166960K 90 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 2814 0 sigio 0 0K 0K 166960K 81 0 proc 72 91K 152K 166960K 917 0 subproc 72 4K 4K 166960K 101 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 428 0 in_multi 53 4K 7K 166960K 244 0 ether_multi 1 0K 0K 166960K 51 0 mrt 1 0K 0K 166960K 17 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 939 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 250 161K 184K 166960K 27218 0 UVM aobj 15 2K 2K 166960K 19 0 pinsyscall 43 86K 104K 166960K 3987 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 180 0 NDP 14 0K 1K 166960K 129 0 temp 78 8696K 8824K 166960K 114890 0 kqueue 13 20K 30K 166960K 565 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 286 0 283 2 1 1 2 0 8 0 rtentry 176 232 0 170 6 0 6 6 0 8 0 unpcb 144 2094 0 2075 16 14 2 6 0 8 1 syncache 336 7 0 7 2 2 0 1 0 8 0 tcpcb 808 1116 0 1111 25 23 2 8 0 8 1 arp 128 33 0 22 1 0 1 1 0 8 0 inpcb 384 3263 0 3251 42 39 3 19 0 8 1 nd6 144 44 0 29 2 1 1 2 0 8 0 pkpcb 40 21 0 21 7 7 0 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1192 104 0 103 2 1 1 1 0 8 0 pppxif 1504 27 0 26 3 2 1 1 0 8 0 pffrag 232 17 0 12 1 0 1 1 0 482 0 pffrnode 88 16 0 11 1 0 1 1 0 8 0 pffrent 40 35 0 29 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 2 0 2 2 2 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstitem 24 179 0 84 1 0 1 1 0 8 0 pfstkey 128 179 0 84 4 0 4 4 0 8 0 pfstate 384 179 0 84 11 0 11 11 0 8 0 pfrule 1344 88 0 17 7 1 6 6 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 874 0 592 32 10 22 29 0 8 0 art_table 32 878 0 592 4 0 4 4 0 8 0 art_node 16 212 0 159 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 75 0 66 1 0 1 1 0 8 0 shmpl 112 16 0 4 1 0 1 1 0 8 0 dirhash 1024 69 0 52 3 0 3 3 0 8 0 dino2pl 256 6739 0 5231 96 0 96 96 0 8 0 ffsino 288 6740 0 5231 109 0 109 109 0 8 0 nchpl 144 10670 0 10106 64 40 24 64 0 8 0 rtmask 32 17 0 17 6 6 0 1 0 8 0 uvmvnodes 80 5927 0 0 121 0 121 121 0 8 0 vnodes 216 5927 0 0 330 0 330 330 0 8 0 namei 1024 37064 0 37061 5 4 1 2 0 8 0 percpumem 16 197 0 145 1 0 1 1 0 8 0 kstatmem 264 218 0 184 4 1 3 3 0 8 0 scsiplug 72 11 0 11 6 5 1 1 0 8 1 scxspl 216 32352 0 32352 17 16 1 8 1 8 1 plimitpl 152 607 0 589 1 0 1 1 0 8 0 sigapl 424 3115 0 3063 10 2 8 9 0 8 0 knotepl 120 570 0 0 16 0 16 16 0 8 0 kqueuepl 224 1361 0 1351 18 17 1 5 0 8 0 pipepl 336 490 0 463 13 10 3 8 0 8 0 fdescpl 520 3071 0 3039 3 0 3 3 0 8 0 filepl 160 21294 0 21000 45 31 14 20 0 8 0 lockfpl 104 933 0 931 2 1 1 2 0 8 0 lockfspl 48 382 0 380 1 0 1 1 0 8 0 sessionpl 144 35 0 26 1 0 1 1 0 8 0 pgrppl 48 68 0 51 1 0 1 1 0 8 0 ucredpl 104 3090 0 3076 1 0 1 1 0 8 0 zombiepl 144 3653 0 3651 3 2 1 1 0 8 0 processpl 1240 3115 0 3063 6 0 6 6 0 8 0 procpl 656 7528 0 7468 8 1 7 8 0 8 0 srpgc 96 10 0 10 5 5 0 1 0 8 0 sosppl 168 8 0 8 4 4 0 1 0 8 0 sockpl 728 5717 0 5683 66 60 6 25 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 126 0 0 15 0 15 15 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 34 0 0 5 0 5 5 0 8 0 mtagpl 96 114 0 0 3 0 3 3 0 8 0 mbufpl 256 7245 0 0 450 0 450 450 0 8 0 bufpl 280 8202 0 2060 439 0 439 439 0 8 0 anonpl 32 8665 0 0 70 0 70 70 0 246 0 amapchunkpl 152 91809 0 91239 74 43 31 37 0 158 6 amappl16 200 5438 0 5400 56 44 12 19 0 8 7 amappl15 192 5 0 5 2 2 0 1 0 8 0 amappl14 184 131 0 119 1 0 1 1 0 8 0 amappl13 176 23 0 23 2 2 0 1 0 8 0 amappl12 168 3779 0 3747 4 1 3 3 0 8 0 amappl11 160 46 0 32 1 0 1 1 0 8 0 amappl10 152 99 0 98 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 19 0 16 1 0 1 1 0 8 0 amappl7 128 148 0 136 1 0 1 1 0 8 0 amappl6 120 204 0 199 1 0 1 1 0 8 0 amappl5 112 143 0 133 1 0 1 1 0 8 0 amappl4 104 351 0 331 1 0 1 1 0 8 0 amappl3 96 19154 0 19035 6 2 4 4 0 8 0 amappl2 88 724 0 658 2 0 2 2 0 8 0 amappl1 80 20289 0 19684 16 2 14 15 0 8 0 amappl 88 25955 0 25777 5 0 5 5 0 92 0 dma32768 32768 2 0 2 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 3 0 3 2 2 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 dma64 64 10 0 10 4 4 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 18 0 4 1 0 1 1 0 8 0 uaddrrnd 24 3071 0 3039 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3071 0 3039 1 0 1 1 0 8 0 vmmpekpl 168 25495 0 25448 3 0 3 3 0 8 0 vmmpepl 168 189808 0 187745 128 30 98 105 0 357 2 vmsppl 480 3070 0 3039 6 1 5 5 0 8 0 rwobjpl 72 50455 0 43548 131 2 129 129 0 8 2 pdppl 4096 6150 0 6078 130 58 72 86 0 8 0 pvpl 32 18252 0 0 148 1 147 147 0 265 0 pmappl 256 3070 0 3039 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 905 0 113 23 0 23 23 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff837e5ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7aa5fa7c9210, count: -3 ddb{0}> machine ddbcpu 1