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(ffff80002a7e5498,ffff80003c9a5130,ffff80003c9a5080) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c9a5130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1ba998a660, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9a5050 rbx 0 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0xd410c9d00455a63f r11 0x53759694d36ba5c7 r12 0xffff80000147a284 r13 0 r14 0xffff80003c9a5130 r15 0 rip 0xffffffff821f354b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9a4f30 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=220241 pid=58430 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=83, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7e4018,0xffff80002a7e5738 process=0xffff8000ffff9178 user=0xffff80003c9a0000, vmspace=0xfffffd806c0b5448 estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79656 119616 4237 0 2 0 syz-executor 79656 58807 4237 0 2 0x4000000 syz-executor 87897 119563 87054 0 2 0 syz-executor 87897 212529 87054 0 2 0x4000000 syz-executor 42251 205948 31104 0 2 0 syz-executor 42251 178424 31104 0 2 0x4000000 syz-executor 58430 234046 28723 0 2 0 syz-executor *58430 220241 28723 0 7 0x4000000 syz-executor 58430 117645 28723 0 2 0x4000000 syz-executor 74041 219149 23641 60929 2 0x10 syz-executor 74041 8187 23641 60929 2 0x4000010 syz-executor 319 23955 40096 0 3 0x80 nanoslp syz-executor 319 515294 40096 0 3 0x4000080 kqread syz-executor 319 450220 40096 0 3 0x4000080 fsleep syz-executor 33833 96286 70329 0 2 0 syz-executor 33833 149614 70329 0 3 0x4000080 rest syz-executor 33833 166315 70329 0 2 0x4000000 syz-executor 33833 457854 70329 0 3 0x4000080 fsleep syz-executor 33833 277795 70329 0 2 0x4000000 syz-executor 4237 214994 7608 0 3 0x82 nanoslp syz-executor 24392 328977 0 0 3 0x14200 acct acct 5035 483073 0 0 3 0x14200 bored sosplice 87054 474615 7608 0 3 0x82 nanoslp syz-executor 40096 34401 7608 0 3 0x82 nanoslp syz-executor 28723 191326 7608 0 3 0x82 nanoslp syz-executor 23641 274146 7608 0 3 0x82 nanoslp syz-executor 68602 487144 7608 0 3 0x82 nanoslp syz-executor 31104 238801 7608 0 3 0x82 nanoslp syz-executor 70329 196509 7608 0 3 0x82 nanoslp syz-executor 7608 137767 75982 0 3 0x82 kqread syz-executor 75982 460085 44334 0 3 0x10008a sigsusp ksh 44334 53816 11832 0 3 0x98 kqread sshd-session 11832 268892 59721 0 3 0x92 kqread sshd-session 79992 498766 1 0 3 0x100083 ttyin getty 59721 519938 1 0 3 0x88 kqread sshd 52058 344402 95389 73 3 0x1100090 kqread syslogd 95389 441664 1 0 3 0x100082 sbwait syslogd 93326 112461 1 0 3 0x100080 kqread resolvd 84067 523029 27054 77 3 0x100092 kqread dhcpleased 70724 488870 27054 77 3 0x100092 kqread dhcpleased 27054 367992 1 0 3 0x80 kqread dhcpleased 23421 153774 0 0 3 0x14200 bored smr 47365 196997 0 0 2 0x14200 zerothread 39176 506734 0 0 3 0x14200 aiodoned aiodoned 7217 84722 0 0 3 0x14200 syncer update 2852 119046 0 0 3 0x14200 cleaner cleaner 81261 66209 0 0 3 0x14200 reaper reaper 20788 473645 0 0 3 0x14200 pgdaemon pagedaemon 77650 323032 0 0 3 0x14200 bored viomb 41418 85657 0 0 3 0x40014200 acpi0 acpi0 58041 62471 0 0 3 0x14200 bored softnet3 48770 239852 0 0 3 0x14200 bored softnet2 50475 40083 0 0 3 0x14200 bored softnet1 64638 102605 0 0 3 0x14200 bored softnet0 96778 416165 0 0 3 0x14200 bored systqmp 58185 178931 0 0 3 0x14200 bored systq 94176 515032 0 0 3 0x40014200 tmoslp softclock 43956 304593 0 0 3 0x40014200 idle0 1 448228 0 0 3 0x80082 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 10193 11050K 11371K 166960K 11960 0 pcb 19 12K 12K 166960K 82 0 rtable 194 6K 8K 166960K 469 0 pf 31 13K 16K 166960K 72 0 ifaddr 38 6K 8K 166960K 66 0 ifgroup 48 2K 2K 166960K 89 0 sysctl 3 1K 1K 166960K 5 0 counters 30 17K 17K 166960K 48 0 ioctlops 0 0K 4K 166960K 83 0 iov 0 0K 16K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1402 88K 89K 166960K 1714 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 25 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 631 0 sigio 1 0K 0K 166960K 14 0 proc 60 59K 124K 166960K 553 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 57 0 in_multi 87 6K 7K 166960K 125 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 157 705K 705K 166960K 157 0 exec 0 0K 1K 166960K 423 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 228 73K 86K 166960K 7443 0 UVM aobj 17 2K 2K 166960K 19 0 pinsyscall 39 78K 96K 166960K 1679 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 36 0 NDP 11 0K 2K 166960K 42 0 temp 45 8624K 8691K 166960K 30276 0 kqueue 17 25K 27K 166960K 97 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 108 0 105 2 0 2 2 0 8 1 rtentry 112 137 0 50 4 0 4 4 0 8 0 unpcb 144 431 0 414 6 0 6 6 0 8 5 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 199 0 194 7 0 7 7 0 8 6 arp 88 22 0 8 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 344 558 0 547 10 3 7 7 0 8 5 nd6 104 30 0 8 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 14 0 13 2 1 1 1 0 8 0 pppxif 1376 3 0 3 2 1 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 2 0 2 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 2 1 1 1 0 8 0 pfstate 344 2 0 1 2 1 1 1 0 8 0 pfrule 1344 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 557 0 161 29 0 29 29 0 8 1 art_table 32 559 0 161 4 0 4 4 0 8 0 art_node 16 134 0 56 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 19 0 10 1 0 1 1 0 8 0 shmpl 112 16 0 2 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2401 0 900 95 0 95 95 0 8 0 ffsino 248 2401 0 900 95 0 95 95 0 8 0 nchpl 144 3348 0 1667 63 0 63 63 0 8 0 uvmvnodes 80 2287 0 0 47 0 47 47 0 8 0 vnodes 216 2287 0 0 128 0 128 128 0 8 0 namei 1024 11020 0 11019 3 1 2 2 0 8 1 kstatmem 264 48 0 26 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11546 0 11546 10 2 8 8 1 8 8 plimitpl 152 318 0 302 1 0 1 1 0 8 0 sigapl 424 930 0 882 9 1 8 8 0 8 2 futexpl 64 7785 0 7782 1 0 1 1 0 8 0 knotepl 120 21137 0 20848 11 1 10 11 0 8 1 kqueuepl 184 195 0 180 3 0 3 3 0 8 2 pipepl 296 211 0 182 8 0 8 8 0 8 5 fdescpl 440 890 0 860 5 0 5 5 0 8 1 filepl 120 5140 0 4910 14 0 14 14 0 8 5 lockfpl 104 182 0 180 1 0 1 1 0 8 0 lockfspl 48 69 0 67 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 764 0 750 1 0 1 1 0 8 0 zombiepl 144 1201 0 1200 2 1 1 1 0 8 0 processpl 1112 930 0 882 5 0 5 5 0 8 1 procpl 656 1810 0 1750 8 0 8 8 0 8 2 sockpl 528 1115 0 1083 16 6 10 13 0 8 7 mcl64k 65536 5 0 5 2 1 1 1 0 8 1 mcl16k 16384 10 0 10 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 3122 0 3072 15 7 8 14 0 8 1 mcl2k 2048 714 0 712 2 1 1 1 0 8 0 mtagpl 96 88 0 10 3 1 2 2 0 8 0 mbufpl 256 9278 0 9070 26 0 26 26 0 8 8 bufpl 280 3673 0 126 254 0 254 254 0 8 0 anonpl 24 139275 0 133927 35 2 33 33 0 187 0 amapchunkpl 152 23998 0 23355 30 2 28 28 0 158 3 amappl16 200 2373 0 2341 6 3 3 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 103 0 93 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 1514 0 1484 3 1 2 3 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 1 0 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 182 0 178 1 0 1 1 0 8 0 amappl5 112 117 0 111 1 0 1 1 0 8 0 amappl4 104 281 0 266 1 0 1 1 0 8 0 amappl3 96 4554 0 4437 4 0 4 4 0 8 0 amappl2 88 638 0 583 2 0 2 2 0 8 0 amappl1 80 8930 0 8395 13 0 13 13 0 8 1 amappl 88 7059 0 6880 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 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 18 0 2 1 0 1 1 0 8 0 uaddrrnd 24 890 0 860 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 890 0 860 1 0 1 1 0 8 0 vmmpekpl 168 8806 0 8765 3 0 3 3 0 8 0 vmmpepl 168 58899 0 57088 82 2 80 80 0 357 1 vmsppl 360 889 0 860 4 1 3 4 0 8 0 rwobjpl 32 20188 0 17010 26 0 26 26 0 8 0 pdppl 4096 1786 0 1720 104 38 66 82 0 8 0 pvpl 32 386473 0 373763 107 1 106 106 0 265 3 pmappl 216 889 0 860 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 295 0 52 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7e5498,ffff80003c9a5130,ffff80003c9a5080) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c9a5130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1ba998a660, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7e5498,ffff80003c9a5130,ffff80003c9a5080) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003c9a5130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1ba998a660, count: -3