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(ffff80002a7f1210,ffff80003c94b0e0,ffff80003c94b030) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c94b0e0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94b0e0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa872d1a360, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c94b000 rbx 0 rdx 0 rcx 0xc rax 0xdeadbeefdeadbf1f r8 0x7f7fffffc000 r9 0 r10 0x91da2658a373c692 r11 0xe8c6184d5974a50 r12 0xffff8000014d1984 r13 0 r14 0xffff80003c94b0e0 r15 0 rip 0xffffffff8268b25b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c94aee0 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=379018 pid=9372 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f19c0,0xffff80002a776a58 process=0xffff800032917678 user=0xffff80003c946000, vmspace=0xfffffd806c2822e0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 9372 192469 99216 0 2 0 syz-executor * 9372 379018 99216 0 7 0x4000000 syz-executor 9372 280890 99216 0 3 0x4000080 fsleep syz-executor 18864 420673 83241 0 3 0x80 fsleep syz-executor 18864 331719 83241 0 3 0x4000080 kqsel syz-executor 66172 123483 99894 0 3 0x80 fsleep syz-executor 66172 124827 99894 0 3 0x4000080 kqread syz-executor 30768 451609 483 -1 3 0x90 fsleep syz-executor 30768 21191 483 -1 3 0x4000090 sbwait syz-executor 94251 230415 69706 0 3 0x80 fsleep syz-executor 94251 239727 69706 0 3 0x4000080 ttyout syz-executor 94251 404485 69706 0 3 0x4000080 fsleep syz-executor 6964 378940 67968 0 3 0x80 fsleep syz-executor 6964 513579 67968 0 3 0x4000080 lockf syz-executor 13654 508493 52567 0 3 0x80 fsleep syz-executor 13654 497945 52567 0 3 0x4000080 kqread syz-executor 60083 265796 45712 0 3 0x80 fsleep syz-executor 60083 381884 45712 0 3 0x4000080 ttyout syz-executor 3235 500826 1 0 3 0x100083 ttyin getty 98256 430935 0 0 3 0x14200 bored sosplice 45712 135285 80091 0 3 0x82 nanoslp syz-executor 99216 435018 80091 0 3 0x82 nanoslp syz-executor 99894 71808 80091 0 3 0x82 nanoslp syz-executor 67968 161923 80091 0 3 0x82 nanoslp syz-executor 69706 121894 80091 0 3 0x82 nanoslp syz-executor 52567 490427 80091 0 3 0x82 nanoslp syz-executor 483 411341 80091 0 3 0x82 nanoslp syz-executor 83241 121975 80091 0 3 0x82 nanoslp syz-executor 80091 70187 69857 0 3 0x82 kqread syz-executor 69857 108626 86424 0 3 0x10008a sigsusp ksh 86424 222660 85860 0 3 0x98 kqread sshd-session 85860 198648 9991 0 3 0x92 kqread sshd-session 9991 447243 1 0 3 0x88 kqread sshd 44411 329679 79405 73 3 0x1100090 kqread syslogd 79405 463806 1 0 3 0x100082 sbwait syslogd 74742 215999 1 0 3 0x100080 kqread resolvd 3545 285834 82078 77 3 0x100092 kqread dhcpleased 54660 295144 82078 77 3 0x100092 kqread dhcpleased 82078 58695 1 0 3 0x80 kqread dhcpleased 53188 211544 0 0 3 0x14200 bored smr 64911 366999 0 0 2 0x14200 zerothread 79737 438403 0 0 3 0x14200 aiodoned aiodoned 21997 251066 0 0 3 0x14200 syncer update 58337 522678 0 0 3 0x14200 cleaner cleaner 35356 196022 0 0 3 0x14200 reaper reaper 76937 151207 0 0 3 0x14200 pgdaemon pagedaemon 14361 151222 0 0 3 0x14200 bored viomb 34881 474965 0 0 3 0x40014200 acpi0 acpi0 14982 487042 0 0 3 0x14200 bored softnet3 69044 379380 0 0 3 0x14200 bored softnet2 13303 302451 0 0 3 0x14200 bored softnet1 79231 337061 0 0 2 0x14200 softnet0 34385 522808 0 0 3 0x14200 bored systqmp 79159 479199 0 0 3 0x14200 bored systq 19554 521344 0 0 3 0x40014200 tmoslp softclock 66023 317107 0 0 3 0x40014200 idle0 1 240744 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10179 11176K 11350K 166960K 11693 0 pcb 17 14K 16K 166960K 158 0 rtable 176 7K 7K 166960K 460 0 pf 29 13K 17K 166960K 67 0 ifaddr 34 6K 7K 166960K 60 0 ifgroup 42 1K 2K 166960K 77 0 sysctl 4 1K 9K 166960K 11 0 counters 30 17K 17K 166960K 45 0 ioctlops 0 0K 4K 166960K 75 0 iov 0 0K 12K 166960K 15 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1396 88K 88K 166960K 1638 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 30 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 398 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 91K 166960K 501 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 35 0 in_multi 77 5K 7K 166960K 117 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 374 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 234 159K 168K 166960K 5099 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 39 78K 91K 166960K 1429 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 1K 166960K 23 0 NDP 9 0K 2K 166960K 36 0 temp 46 8676K 8744K 166960K 14751 0 kqueue 16 24K 28K 166960K 79 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 55 0 52 1 0 1 1 0 8 0 rtentry 136 118 0 42 4 0 4 4 0 8 0 unpcb 144 540 0 522 10 9 1 10 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 185 0 178 7 6 1 7 0 8 0 arp 88 18 0 4 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 328 455 0 445 7 5 2 7 0 8 0 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 24 0 6 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 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 10 0 10 2 1 1 1 0 8 1 pppxif 1384 3 0 3 1 1 0 1 0 8 0 pfrktable 1344 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 5 0 2 1 0 1 1 0 8 0 pfrule 1344 4 0 3 1 0 1 1 0 8 0 rttmr 136 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 534 0 204 29 3 26 29 0 8 0 art_table 32 536 0 204 4 0 4 4 0 8 0 art_node 16 117 0 49 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semapl 112 9 0 1 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2084 0 589 95 0 95 95 0 8 0 ffsino 248 2084 0 589 95 0 95 95 0 8 0 nchpl 144 2669 0 984 63 0 63 63 0 8 0 uvmvnodes 80 2321 0 0 48 0 48 48 0 8 0 vnodes 216 2321 0 0 129 0 129 129 0 8 0 namei 1024 8317 0 8317 3 2 1 2 0 8 1 kstatmem 264 40 0 22 2 0 2 2 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 12153 0 12153 3 2 1 3 1 8 1 plimitpl 152 70 0 51 1 0 1 1 0 8 0 sigapl 424 679 0 632 6 0 6 6 0 8 0 knotepl 120 31224 0 31173 31 21 10 17 0 8 8 kqueuepl 184 115 0 102 1 0 1 1 0 8 0 pipepl 296 120 0 92 3 0 3 3 0 8 0 fdescpl 440 661 0 631 4 0 4 4 0 8 0 filepl 120 3547 0 3319 16 7 9 15 0 8 1 lockfpl 104 254 0 247 2 1 1 2 0 8 0 lockfspl 48 117 0 111 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 65 0 49 1 0 1 1 0 8 0 ucredpl 104 479 0 467 1 0 1 1 0 8 0 zombiepl 144 652 0 652 2 1 1 1 0 8 1 processpl 1160 679 0 632 4 0 4 4 0 8 0 procpl 656 1092 0 1035 6 0 6 6 0 8 0 sockpl 528 1065 0 1034 19 16 3 19 0 8 0 mcl64k 65536 12 0 12 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 2755 0 2702 16 8 8 15 0 8 1 mcl2k2 2112 2 0 2 2 1 1 1 0 8 1 mcl2k 2048 716 0 715 3 1 2 3 0 8 1 mtagpl 96 11 0 6 1 0 1 1 0 8 0 mbufpl 256 7631 0 7486 27 11 16 27 0 8 0 bufpl 280 4874 0 118 340 0 340 340 0 8 0 anonpl 24 116621 0 112636 63 14 49 57 0 187 7 amapchunkpl 152 15806 0 15272 32 7 25 30 0 158 3 amappl16 200 1995 0 1962 21 6 15 15 0 8 5 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 110 0 100 1 0 1 1 0 8 0 amappl13 176 8 0 7 1 0 1 1 0 8 0 amappl12 168 1339 0 1308 2 0 2 2 0 8 0 amappl11 160 47 0 37 1 0 1 1 0 8 0 amappl10 152 32 0 32 1 1 0 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 91 0 81 1 0 1 1 0 8 0 amappl6 120 176 0 173 1 0 1 1 0 8 0 amappl5 112 112 0 105 1 0 1 1 0 8 0 amappl4 104 301 0 285 1 0 1 1 0 8 0 amappl3 96 2928 0 2817 4 0 4 4 0 8 0 amappl2 88 614 0 557 2 0 2 2 0 8 0 amappl1 80 9162 0 8611 13 0 13 13 0 8 0 amappl 88 4405 0 4236 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 1 0 1 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 254 0 254 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 661 0 631 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 661 0 631 1 0 1 1 0 8 0 vmmpekpl 168 6850 0 6815 2 0 2 2 0 8 0 vmmpepl 168 47416 0 45515 100 6 94 95 0 357 4 vmsppl 360 660 0 631 4 1 3 4 0 8 0 rwobjpl 32 17105 0 13927 28 0 28 28 0 8 1 pdppl 4096 1328 0 1262 92 26 66 76 0 8 0 pvpl 32 303255 0 293500 154 32 122 134 0 265 19 pmappl 216 660 0 631 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 287 0 64 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7f1210,ffff80003c94b0e0,ffff80003c94b030) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c94b0e0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94b0e0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa872d1a360, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7f1210,ffff80003c94b0e0,ffff80003c94b030) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c94b0e0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94b0e0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa872d1a360, count: -3