./file0`ךq"l.e'6Z;=lt ]T;a%*Vvoߙ‹Gû2{5-TnYvOH1hqyOMkernel: 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(ffff80002a7f14a0,ffff80003c96b530,ffff80003c96b480) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c96b530) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96b530) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd5acd12dfd0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c96b450 rbx 0 rdx 0 rcx 0 rax 0xdeafbeaddeafbead r8 0x7f7fffffc000 r9 0 r10 0x4be84f9d1f109754 r11 0x3e9967ba417abcf2 r12 0xffff800001498f04 r13 0 r14 0xffff80003c96b530 r15 0 rip 0xffffffff819c817b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c96b330 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=185988 pid=96005 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f02b0,0xffff80002a7d0cf0 process=0xffff800036114d50 user=0xffff80003c966000, vmspace=0xfffffd806c09fb50 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52655 213876 21597 0 2 0 syz-executor 52655 481373 21597 0 2 0x4000000 syz-executor 52655 98569 21597 0 2 0x4000000 syz-executor 23781 361053 99132 0 2 0 syz-executor 23781 178809 99132 0 3 0x4000080 fsleep syz-executor 23781 399464 99132 0 3 0x4000080 fsleep syz-executor 23781 165836 99132 0 3 0x4000080 fsleep syz-executor 82610 140166 49355 0 2 0 syz-executor 82610 495053 49355 0 3 0x4000080 fsleep syz-executor 82610 266199 49355 0 2 0x4000000 syz-executor 9198 76605 86935 0 2 0 syz-executor 9198 161821 86935 0 3 0x4000080 fsleep syz-executor 26368 40608 5323 0 2 0 syz-executor 26368 24443 5323 0 3 0x4000080 fsleep syz-executor 96005 87536 12904 0 2 0 syz-executor *96005 185988 12904 0 7 0x4000000 syz-executor 96005 133701 12904 0 3 0x4000080 fsleep syz-executor 88872 492764 33425 0 2 0 syz-executor 88872 6033 33425 0 3 0x4000080 fsleep syz-executor 88872 444007 33425 0 3 0x4000080 fsleep syz-executor 59257 495446 0 0 3 0x14200 acct acct 49355 360466 59859 0 3 0x82 nanoslp syz-executor 33425 469488 59859 0 3 0x82 nanoslp syz-executor 99441 80449 0 0 3 0x14200 bored sosplice 99132 80297 59859 0 2 0x3 syz-executor 2466 276101 1 0 3 0x100083 ttyopn getty 86935 300384 59859 0 2 0x3 syz-executor 94477 466278 59859 0 2 0x2 syz-executor 5323 453469 59859 0 2 0x3 syz-executor 21597 28172 59859 0 2 0x3 syz-executor 12904 224894 59859 0 3 0x82 nanoslp syz-executor 59859 357179 23280 0 3 0x82 kqread syz-executor 23280 209108 43264 0 3 0x10008a sigsusp ksh 43264 492507 3967 0 3 0x98 kqread sshd-session 3967 48736 31714 0 3 0x92 kqread sshd-session 31714 28624 1 0 3 0x88 kqread sshd 6355 55154 24181 73 3 0x1100090 kqread syslogd 24181 504972 1 0 3 0x100082 sbwait syslogd 24029 380669 1 0 3 0x100080 kqread resolvd 15901 69316 25691 77 3 0x100092 kqread dhcpleased 69889 2882 25691 77 3 0x100092 kqread dhcpleased 25691 218334 1 0 3 0x80 kqread dhcpleased 42132 200196 0 0 3 0x14200 bored smr 16858 412688 0 0 2 0x14200 zerothread 9073 439979 0 0 3 0x14200 aiodoned aiodoned 59794 389923 0 0 3 0x14200 syncer update 79590 427293 0 0 3 0x14200 cleaner cleaner 47908 242926 0 0 3 0x14200 reaper reaper 87369 206925 0 0 3 0x14200 pgdaemon pagedaemon 96310 322435 0 0 3 0x14200 bored viomb 50375 289386 0 0 3 0x40014200 acpi0 acpi0 87610 395293 0 0 3 0x14200 bored softnet3 70630 289600 0 0 3 0x14200 bored softnet2 98168 500502 0 0 3 0x14200 bored softnet1 12157 252305 0 0 3 0x14200 bored softnet0 77770 513006 0 0 3 0x14200 bored systqmp 68407 126760 0 0 3 0x14200 bored systq 30790 442553 0 0 3 0x40014200 tmoslp softclock 71737 467965 0 0 3 0x40014200 idle0 1 437597 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 10195 11059K 11418K 166960K 13558 0 pcb 17 14K 18K 166960K 475 0 rtable 182 8K 9K 166960K 887 0 pf 31 13K 15K 166960K 119 0 ifaddr 36 6K 7K 166960K 141 0 ifgroup 53 2K 2K 166960K 155 0 sysctl 4 1K 9K 166960K 18 0 counters 31 17K 18K 166960K 85 0 ioctlops 0 0K 4K 166960K 402 0 iov 0 0K 20K 166960K 174 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1427 90K 91K 166960K 2969 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 36 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 161 0 dirhash 12 2K 3K 166960K 51 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1665 0 sigio 0 0K 0K 166960K 30 0 proc 62 59K 124K 166960K 712 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 268 0 in_multi 73 5K 7K 166960K 417 0 ether_multi 1 0K 0K 166960K 11 0 mrt 2 0K 0K 166960K 16 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 722 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 230 159K 173K 166960K 16982 0 UVM aobj 93 5K 5K 166960K 98 0 pinsyscall 38 76K 96K 166960K 2793 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 104 0 NDP 11 0K 2K 166960K 106 0 temp 75 8680K 8808K 166960K 37062 0 kqueue 13 20K 30K 166960K 325 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 190 0 186 2 0 2 2 0 8 1 rtentry 136 324 0 248 4 0 4 4 0 8 0 unpcb 144 1363 0 1346 6 0 6 6 0 8 5 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 808 620 0 616 15 7 8 8 0 8 7 arp 88 30 0 17 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 2 0 2 1 0 1 1 0 8 1 inpcb 344 1838 0 1829 13 5 8 8 0 8 6 nd6 104 78 0 60 1 0 1 1 0 8 0 pkpcb 40 14 0 14 2 1 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 1 1 1 0 8 1 ppxss 1072 42 0 42 2 1 1 1 0 8 1 pppxif 1384 2 0 2 2 1 1 1 0 8 1 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1690 0 1320 31 4 27 29 0 8 2 art_table 32 1694 0 1320 4 0 4 4 0 8 0 art_node 16 323 0 255 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 5 0 5 1 0 1 1 0 8 1 semapl 112 149 0 140 1 0 1 1 0 8 0 shmpl 112 95 0 5 3 0 3 3 0 8 0 dirhash 1024 44 0 27 3 0 3 3 0 8 0 dino2pl 256 4325 0 2827 95 0 95 95 0 8 0 ffsino 248 4325 0 2827 95 0 95 95 0 8 0 nchpl 144 6618 0 4927 64 0 64 64 0 8 0 rtmask 32 9 0 9 2 1 1 1 0 8 1 uvmvnodes 80 5496 0 0 113 0 113 113 0 8 0 vnodes 216 5496 0 0 306 0 306 306 0 8 0 namei 1024 25094 0 25093 4 2 2 2 0 8 1 kstatmem 264 96 0 74 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 20796 0 20796 10 2 8 8 1 8 8 plimitpl 152 552 0 536 1 0 1 1 0 8 0 sigapl 424 1921 0 1874 7 1 6 7 0 8 0 knotepl 120 59769 0 59721 18 7 11 11 0 8 8 kqueuepl 184 731 0 722 9 3 6 6 0 8 5 pipepl 296 266 0 238 5 0 5 5 0 8 2 fdescpl 440 1897 0 1868 5 1 4 5 0 8 0 filepl 120 13358 0 13139 16 3 13 13 0 8 4 lockfpl 104 617 0 615 2 0 2 2 0 8 1 lockfspl 48 237 0 235 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 53 0 37 1 0 1 1 0 8 0 ucredpl 104 2338 0 2327 1 0 1 1 0 8 0 zombiepl 144 2910 0 2910 1 0 1 1 0 8 1 processpl 1128 1921 0 1874 4 0 4 4 0 8 0 procpl 656 4627 0 4567 6 0 6 6 0 8 0 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 528 3473 0 3444 19 9 10 14 0 8 7 mcl64k 65536 104 0 104 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 22 0 22 2 1 1 1 0 8 1 mcl4k 4096 4537 0 4484 14 5 9 12 0 8 2 mcl2k 2048 2097 0 2089 6 3 3 4 0 8 1 mtagpl 96 92 0 64 2 0 2 2 0 8 0 mbufpl 256 29037 0 28832 175 144 31 173 0 8 8 bufpl 280 5287 0 130 369 0 369 369 0 8 0 anonpl 24 263682 0 260491 54 9 45 45 0 187 13 amapchunkpl 152 56110 0 55629 33 4 29 29 0 158 9 amappl16 200 4520 0 4481 24 13 11 15 0 8 8 amappl15 192 31 0 31 2 1 1 1 0 8 1 amappl14 184 127 0 117 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 2569 0 2540 3 1 2 3 0 8 0 amappl11 160 90 0 80 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 1 0 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 37 0 35 1 0 1 1 0 8 0 amappl7 128 125 0 114 1 0 1 1 0 8 0 amappl6 120 237 0 234 1 0 1 1 0 8 0 amappl5 112 141 0 133 1 0 1 1 0 8 0 amappl4 104 317 0 302 1 0 1 1 0 8 0 amappl3 96 11652 0 11539 5 1 4 4 0 8 0 amappl2 88 712 0 653 2 0 2 2 0 8 0 amappl1 80 15277 0 14729 16 2 14 14 0 8 2 amappl 88 15934 0 15769 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 97 0 5 2 0 2 2 0 8 0 uaddrrnd 24 1897 0 1868 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1897 0 1868 1 0 1 1 0 8 0 vmmpekpl 168 15934 0 15888 3 0 3 3 0 8 0 vmmpepl 168 124096 0 122183 97 0 97 97 0 357 10 vmsppl 360 1896 0 1868 4 1 3 4 0 8 0 rwobjpl 32 38123 0 31670 53 0 53 53 0 8 0 pdppl 4096 3801 0 3736 126 59 67 83 0 8 2 pvpl 32 782337 0 773847 125 9 116 116 0 265 30 pmappl 216 1896 0 1868 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 485 0 231 12 0 12 12 0 8 2 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7f14a0,ffff80003c96b530,ffff80003c96b480) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c96b530) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96b530) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd5acd12dfd0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7f14a0,ffff80003c96b530,ffff80003c96b480) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c96b530) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96b530) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd5acd12dfd0, count: -3