kernel: protection fault trap, code=0 Stopped at sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff8000381362c0,ffff80003c98afb0,ffff80003c98af00) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c98afb0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98afb0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x44d77a736a0, count: -3 ddb> show registers rdi 0 rsi 0xfff3 __ALIGN_SIZE+0xeff3 rbp 0xffff80003c98aee0 rbx 0xdead4110dead4110 rdx 0 rcx 0 rax 0xffff8000381362c0 r8 0x7f7fffffc000 r9 0 r10 0xc8f5888d11a2c2fa r11 0x629a049e568a464e r12 0xfffffff3 r13 0xfffffd8063fb6930 r14 0xffff80003c98afb0 r15 0 rip 0xffffffff82c445f4 sys_semop+0x384 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff80003c98adf0 ss 0x10 sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=252946 pid=27774 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=80, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7ab240,0xffff800038136fc8 process=0xffff8000ffff8498 user=0xffff80003c986000, vmspace=0xfffffd806aec6748 estcpu=31, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52769 31850 22226 0 2 0 syz-executor 52769 104032 22226 0 3 0x4000080 kqpoll syz-executor 52769 315992 22226 0 2 0x4000000 syz-executor 52769 15863 22226 0 2 0x4000000 syz-executor 31331 166309 26595 0 2 0 syz-executor 31331 369018 26595 0 3 0x4000080 fsleep syz-executor 31331 92540 26595 0 3 0x4000080 fsleep syz-executor 27774 56006 79226 0 2 0 syz-executor *27774 252946 79226 0 7 0x4000000 syz-executor 27774 352466 79226 0 3 0x4000080 fsleep syz-executor 27774 435875 79226 0 3 0x4000080 fsleep syz-executor 18591 120146 79209 0 3 0x80 nanoslp syz-executor 18591 464686 79209 0 3 0x4000080 kqread syz-executor 18591 453597 79209 0 3 0x4000080 fsleep syz-executor 18591 412155 79209 0 3 0x4000080 fsleep syz-executor 19897 455913 13601 0 3 0x80 nanoslp syz-executor 19897 434383 13601 0 3 0x4000080 sbwait syz-executor 19897 223350 13601 0 3 0x4000080 fsleep syz-executor 81207 129186 1 0 3 0x100083 ttyin getty 5207 342877 0 0 3 0x14200 bored sosplice 79226 366580 56241 0 3 0x82 nanoslp syz-executor 38205 172012 56241 0 2 0x3 syz-executor 13601 9182 56241 0 3 0x82 nanoslp syz-executor 22226 499331 56241 0 3 0x82 nanoslp syz-executor 48744 219105 56241 0 3 0x82 nanoslp syz-executor 26595 419517 56241 0 3 0x82 nanoslp syz-executor 74087 147012 56241 0 2 0x10000003 syz-executor 79209 443789 56241 0 3 0x82 nanoslp syz-executor 56241 512970 62524 0 3 0x82 kqread syz-executor 62524 306984 48958 0 3 0x10008a sigsusp ksh 48958 33682 89000 0 3 0x98 kqread sshd-session 89000 120411 47802 0 3 0x92 kqread sshd-session 47802 187782 1 0 3 0x88 kqread sshd 50703 237292 56124 73 3 0x1100090 kqread syslogd 56124 207485 1 0 3 0x100082 sbwait syslogd 8010 156084 1 0 3 0x100080 kqread resolvd 63454 510194 74168 77 3 0x100092 kqread dhcpleased 28354 399586 74168 77 3 0x100092 kqread dhcpleased 74168 213894 1 0 3 0x80 kqread dhcpleased 9055 31682 0 0 3 0x14200 bored smr 1754 121879 0 0 2 0x14200 zerothread 79815 499034 0 0 3 0x14200 aiodoned aiodoned 89978 155298 0 0 3 0x14200 syncer update 43525 22416 0 0 3 0x14200 cleaner cleaner 83899 224931 0 0 3 0x14200 reaper reaper 57926 191081 0 0 3 0x14200 pgdaemon pagedaemon 50604 159731 0 0 3 0x14200 bored viomb 33676 327908 0 0 3 0x40014200 acpi0 acpi0 6656 408374 0 0 3 0x14200 bored softnet0 70952 223210 0 0 3 0x14200 bored systqmp 52175 364826 0 0 3 0x14200 bored systq 11103 516389 0 0 3 0x40014200 tmoslp softclock 45766 456185 0 0 3 0x40014200 idle0 1 72462 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 10205 11053K 11447K 166960K 11765 0 pcb 19 15K 16K 166960K 207 0 rtable 199 7K 8K 166960K 583 0 pf 28 12K 14K 166960K 94 0 ifaddr 40 7K 8K 166960K 83 0 ifgroup 46 2K 2K 166960K 118 0 sysctl 4 1K 9K 166960K 11 0 counters 31 17K 18K 166960K 64 0 ioctlops 0 0K 4K 166960K 103 0 iov 0 0K 28K 166960K 28 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1339 84K 85K 166960K 1741 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 27 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 81K 166960K 587 0 sigio 0 0K 0K 166960K 11 0 proc 60 59K 83K 166960K 526 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 69 0 in_multi 88 6K 7K 166960K 133 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 277 1235K 1235K 166960K 277 0 exec 0 0K 1K 166960K 460 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 66 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 229 155K 165K 166960K 6925 0 UVM aobj 131 6K 6K 166960K 131 0 pinsyscall 37 74K 89K 166960K 1618 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 31 0 NDP 10 0K 2K 166960K 48 0 temp 58 8645K 8770K 166960K 26095 0 kqueue 14 22K 29K 166960K 132 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 94 0 89 1 0 1 1 0 8 0 rtentry 136 225 0 146 4 0 4 4 0 8 0 unpcb 144 359 0 342 4 1 3 3 0 8 2 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 266 0 258 8 3 5 5 0 8 3 arp 96 48 0 37 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 785 0 770 15 10 5 12 0 8 2 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 19 0 3 1 0 1 1 0 8 0 pkpcb 40 5 0 5 3 2 1 1 0 8 1 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 23 0 23 2 1 1 1 0 8 1 pppxif 1384 5 0 5 1 1 0 1 0 8 0 pfrule 1344 3 0 3 2 1 1 1 0 8 1 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 656 0 317 31 4 27 31 0 8 1 art_table 40 658 0 317 5 0 5 5 0 8 0 art_node 32 224 0 159 2 0 2 2 0 8 0 sysvmsgpl 40 13 0 8 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 24 0 15 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2550 0 1055 95 0 95 95 0 8 0 ffsino 256 2550 0 1055 95 0 95 95 0 8 0 nchpl 144 3426 0 1743 63 0 63 63 0 8 0 rtmask 32 3 0 3 2 2 0 1 0 8 0 uvmvnodes 80 2768 0 0 57 0 57 57 0 8 0 vnodes 216 2768 0 0 154 0 154 154 0 8 0 namei 1024 11076 0 11076 3 2 1 2 0 8 1 kstatmem 264 64 0 44 2 0 2 2 0 8 0 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 11686 0 11686 8 7 1 8 1 8 1 plimitpl 152 199 0 182 1 0 1 1 0 8 0 sigapl 424 864 0 821 7 1 6 6 0 8 0 knotepl 120 38498 0 38237 25 15 10 10 0 8 1 kqueuepl 184 252 0 241 3 2 1 3 0 8 0 pipepl 304 145 0 118 3 0 3 3 0 8 0 fdescpl 448 850 0 822 4 0 4 4 0 8 0 filepl 120 5012 0 4790 11 2 9 11 0 8 0 lockfpl 104 302 0 300 1 0 1 1 0 8 0 lockfspl 48 93 0 91 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 935 0 924 1 0 1 1 0 8 0 zombiepl 144 881 0 879 1 0 1 1 0 8 0 processpl 1152 864 0 821 4 0 4 4 0 8 0 procpl 664 1613 0 1557 6 0 6 6 0 8 0 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 552 1258 0 1220 17 9 8 12 0 8 3 mcl64k 65536 48 0 48 3 2 1 1 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 24 0 24 3 2 1 1 0 8 1 mcl4k 4096 3115 0 3063 16 8 8 14 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 1082 0 1079 5 4 1 4 0 8 0 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 11112 0 10906 79 55 24 75 0 8 8 bufpl 280 4321 0 123 300 0 300 300 0 8 0 anonpl 24 154300 0 150659 66 39 27 45 0 187 1 amapchunkpl 152 23512 0 23014 30 6 24 30 0 158 2 amappl16 200 2685 0 2654 14 11 3 14 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 1461 0 1432 2 0 2 2 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 100 0 90 1 0 1 1 0 8 0 amappl6 120 175 0 172 1 0 1 1 0 8 0 amappl5 112 119 0 112 1 0 1 1 0 8 0 amappl4 104 274 0 258 1 0 1 1 0 8 0 amappl3 96 3836 0 3745 3 0 3 3 0 8 0 amappl2 88 1087 0 1017 2 0 2 2 0 8 0 amappl1 80 10013 0 9474 14 1 13 13 0 8 1 amappl 88 6207 0 6042 5 0 5 5 0 92 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 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 8 0 8 3 2 1 1 0 8 1 dma128 128 257 0 257 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 850 0 822 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 850 0 822 1 0 1 1 0 8 0 vmmpekpl 168 8108 0 8069 3 0 3 3 0 8 0 vmmpepl 168 58830 0 57010 100 10 90 93 0 357 3 vmsppl 368 849 0 822 4 1 3 4 0 8 0 rwobjpl 40 20625 0 16878 39 0 39 39 0 8 0 pdppl 4096 1707 0 1644 97 30 67 75 0 8 4 pvpl 32 392226 0 383287 140 57 83 115 0 265 0 pmappl 216 849 0 822 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 459 0 118 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff8000381362c0,ffff80003c98afb0,ffff80003c98af00) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c98afb0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98afb0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x44d77a736a0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff8000381362c0,ffff80003c98afb0,ffff80003c98af00) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c98afb0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98afb0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x44d77a736a0, count: -3