login: kernel: protection fault trap, code=0 Stopped at sys_semop+0x45b: 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(ffff800035d2c7d8,ffff80003a541760,ffff80003a5416b0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003a541760) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a541760) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65128032880, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a541680 rbx 0 rdx 0 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0x5360c8cbcd7ff8ca r11 0x23bcd9f7f4c82b4b r12 0xffff80000148ae04 r13 0 r14 0xffff80003a541760 r15 0 rip 0xffffffff8101272b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a541560 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=190201 pid=3554 tcnt=3 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=0xffff800035d2d9c8,0xffff80002a7f7218 process=0xffff8000ffff84a0 user=0xffff80003a53c000, vmspace=0xfffffd806c753b58 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3554 459345 93087 0 2 0 syz-executor * 3554 190201 93087 0 7 0x4000000 syz-executor 3554 139815 93087 0 3 0x4000080 fsleep syz-executor 39489 440194 10623 0 3 0x80 fsleep syz-executor 39489 237583 10623 0 3 0x4000080 sbwait syz-executor 71202 285086 15580 0 3 0x80 fsleep syz-executor 71202 92347 15580 0 3 0x4000080 pipewr syz-executor 73480 4319 72101 0 3 0x80 fsleep syz-executor 73480 42220 72101 0 3 0x4000080 ttyout syz-executor 40739 274429 31432 0 3 0x80 fsleep syz-executor 40739 139368 31432 0 3 0x4000080 dtread syz-executor 12511 37940 60135 0 3 0x80 fsleep syz-executor 12511 497535 60135 0 3 0x4000080 kqread syz-executor 37850 91941 27788 0 3 0x90 fsleep syz-executor 37850 49823 27788 0 3 0x4000090 sbwait syz-executor 62280 410795 1 0 3 0x100083 ttyin getty 22742 243420 0 0 3 0x14200 acct acct 57954 56548 0 0 3 0x14200 bored sosplice 50542 381786 64911 0 3 0x100082 sbwait ndp 64911 180462 96336 0 3 0x10008a sigsusp sh 72101 52130 18977 0 2 0xc82 syz-executor 15580 47545 18977 0 2 0xc82 syz-executor 31432 450608 18977 0 3 0x82 nanoslp syz-executor 60135 8225 18977 0 2 0xc82 syz-executor 96336 222069 18977 0 3 0x82 wait syz-executor 93087 414030 18977 0 3 0x82 nanoslp syz-executor 27788 372328 18977 0 3 0x82 nanoslp syz-executor 10623 203388 18977 0 2 0xc82 syz-executor 18977 97700 10455 0 2 0x2 syz-executor 10455 35319 44319 0 3 0x10008a sigsusp ksh 44319 353784 72935 0 3 0x98 kqread sshd-session 72935 393200 66701 0 3 0x92 kqread sshd-session 66701 51442 1 0 3 0x88 kqread sshd 48478 390297 51190 73 3 0x1100090 kqread syslogd 51190 212205 1 0 3 0x100082 sbwait syslogd 66922 274893 1 0 3 0x100080 kqread resolvd 87950 512878 26476 77 3 0x100092 kqread dhcpleased 10711 249910 26476 77 3 0x100092 kqread dhcpleased 26476 479991 1 0 3 0x80 kqread dhcpleased 68500 336843 0 0 3 0x14200 bored smr 19202 430679 0 0 2 0x14200 zerothread 53243 89966 0 0 3 0x14200 aiodoned aiodoned 51816 230133 0 0 3 0x14200 syncer update 65196 37254 0 0 3 0x14200 cleaner cleaner 91493 171918 0 0 3 0x14200 reaper reaper 73671 392254 0 0 3 0x14200 pgdaemon pagedaemon 69263 251643 0 0 3 0x14200 bored viomb 41502 518702 0 0 3 0x40014200 acpi0 acpi0 29455 379417 0 0 3 0x14200 bored softnet3 90758 196988 0 0 3 0x14200 bored softnet2 51525 364412 0 0 3 0x14200 bored softnet1 60167 495868 0 0 3 0x14200 bored softnet0 43596 404658 0 0 3 0x14200 bored systqmp 32350 75061 0 0 3 0x14200 bored systq 60393 326032 0 0 2 0x40014200 softclock 29420 461120 0 0 3 0x40014200 idle0 1 504893 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 10206 11164K 11760K 166960K 12159 0 pcb 17 16K 21K 166960K 297 0 rtable 223 10K 11K 166960K 528 0 pf 37 14K 18K 166960K 87 0 ifaddr 40 6K 7K 166960K 97 0 ifgroup 57 2K 2K 166960K 102 0 sysctl 4 1K 9K 166960K 11 0 counters 33 17K 18K 166960K 61 0 ioctlops 0 0K 4K 166960K 136 0 iov 2 16K 16K 166960K 50 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1378 87K 87K 166960K 1861 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 18 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 29 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 81K 166960K 644 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 100K 166960K 525 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 72 0 in_multi 88 6K 7K 166960K 203 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 400 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 232 153K 171K 166960K 7447 0 UVM aobj 17 2K 4K 166960K 21 0 pinsyscall 41 82K 90K 166960K 1675 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 33 0 NDP 12 0K 2K 166960K 42 0 temp 75 8688K 8755K 166960K 19071 0 kqueue 15 24K 30K 166960K 143 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 90 0 84 1 0 1 1 0 8 0 rtentry 136 163 0 68 4 0 4 4 0 8 0 unpcb 144 444 0 424 6 0 6 6 0 8 5 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 188 0 181 4 0 4 4 0 8 3 arp 88 21 0 3 1 0 1 1 0 8 0 inpcb 328 817 0 806 20 10 10 15 0 8 8 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 27 0 5 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 23 0 23 2 1 1 1 0 8 1 pppxif 1384 5 0 5 2 1 1 1 0 8 1 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfrule 1344 6 0 4 2 1 1 1 0 8 0 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 1562 0 1149 32 1 31 31 0 8 4 art_table 32 1567 0 1149 4 0 4 4 0 8 0 art_node 16 161 0 76 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 25 0 16 1 0 1 1 0 8 0 shmpl 112 18 0 4 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2579 0 1080 95 0 95 95 0 8 0 ffsino 248 2579 0 1080 95 0 95 95 0 8 0 nchpl 144 3467 0 1784 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2916 0 0 60 0 60 60 0 8 0 vnodes 216 2916 0 0 162 0 162 162 0 8 0 namei 1024 11277 0 11277 3 2 1 2 0 8 1 kstatmem 264 52 0 28 3 0 3 3 0 8 1 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 10674 0 10674 9 7 2 8 1 8 2 plimitpl 152 196 0 179 1 0 1 1 0 8 0 sigapl 424 925 0 876 6 0 6 6 0 8 0 knotepl 120 23477 0 23424 32 20 12 23 0 8 8 kqueuepl 184 209 0 198 1 0 1 1 0 8 0 pipepl 296 134 0 106 3 0 3 3 0 8 0 fdescpl 440 907 0 876 4 0 4 4 0 8 0 filepl 120 5093 0 4863 13 1 12 12 0 8 4 lockfpl 104 405 0 403 2 1 1 2 0 8 0 lockfspl 48 136 0 134 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 63 0 47 1 0 1 1 0 8 0 ucredpl 104 858 0 846 1 0 1 1 0 8 0 zombiepl 144 1075 0 1075 1 0 1 1 0 8 1 processpl 1160 925 0 876 4 0 4 4 0 8 0 procpl 656 1737 0 1680 6 0 6 6 0 8 0 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 528 1369 0 1332 18 7 11 14 0 8 8 mcl64k 65536 84 0 84 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 3104 0 3050 13 5 8 13 0 8 0 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 1146 0 1136 10 7 3 9 0 8 1 mtagpl 96 26 0 9 1 0 1 1 0 8 0 mbufpl 256 11550 0 11386 25 9 16 25 0 8 1 bufpl 280 3258 0 120 225 0 225 225 0 8 0 anonpl 24 146225 0 142892 45 11 34 34 0 187 10 amapchunkpl 152 24932 0 24445 45 5 40 40 0 158 20 amappl16 200 2290 0 2256 7 3 4 5 0 8 2 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 136 0 125 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1527 0 1495 2 0 2 2 0 8 0 amappl11 160 46 0 35 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 19 0 17 1 0 1 1 0 8 0 amappl7 128 99 0 87 1 0 1 1 0 8 0 amappl6 120 167 0 163 1 0 1 1 0 8 0 amappl5 112 113 0 106 1 0 1 1 0 8 0 amappl4 104 299 0 282 1 0 1 1 0 8 0 amappl3 96 4598 0 4483 3 0 3 3 0 8 0 amappl2 88 617 0 559 2 0 2 2 0 8 0 amappl1 80 10254 0 9674 15 1 14 14 0 8 1 amappl 88 6704 0 6541 4 0 4 4 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 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 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 20 0 4 1 0 1 1 0 8 0 uaddrrnd 24 907 0 876 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 907 0 876 1 0 1 1 0 8 0 vmmpekpl 168 8454 0 8425 2 0 2 2 0 8 0 vmmpepl 168 61782 0 59826 91 1 90 90 0 357 4 vmsppl 360 906 0 876 4 1 3 4 0 8 0 rwobjpl 32 20585 0 16754 31 0 31 31 0 8 0 pdppl 4096 1820 0 1752 92 22 70 74 0 8 2 pvpl 32 403206 0 393937 124 25 99 103 0 265 20 pmappl 216 906 0 876 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 290 0 50 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff800035d2c7d8,ffff80003a541760,ffff80003a5416b0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003a541760) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a541760) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65128032880, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff800035d2c7d8,ffff80003a541760,ffff80003a5416b0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003a541760) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a541760) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65128032880, count: -3