kernel: protection fault trap, code=0 Stopped at sys_semop+0x3d5: 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(ffff8000314fda10,ffff80003c9e3900,ffff80003c9e3850) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c9e3900) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9e3900) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb3856b3120, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9e3830 rbx 0xdeaf4152deaf6546 rdx 0 rcx 0 rax 0xdeaf4152deaf6546 r8 0x7f7fffffc000 r9 0 r10 0xa824c92005ffdbec r11 0x9e09d5d983298993 r12 0 r13 0xfffffd806cad3af0 r14 0xffff80003c9e3900 r15 0 rip 0xffffffff823da9a5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9e3740 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=42888 pid=62025 tcnt=4 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=0xffff8000314fd778,0xffff8000314fca90 process=0xffff8000314fb618 user=0xffff80003c9de000, vmspace=0xfffffd806cb21740 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 62025 460161 67226 0 2 0 syz-executor 62025 362433 67226 0 3 0x4000080 rest syz-executor *62025 42888 67226 0 7 0x4000000 syz-executor 62025 354239 67226 0 3 0x4000080 fsleep syz-executor 54688 325211 45391 0 3 0x80 fsleep syz-executor 54688 441071 45391 0 3 0x4000080 msgwait syz-executor 46430 354471 68098 0 3 0x80 fsleep syz-executor 46430 124674 68098 0 3 0x4000080 fsleep syz-executor 46430 386725 68098 0 3 0x4000080 ttyout syz-executor 46430 22503 68098 0 3 0x4000080 fsleep syz-executor 37133 432872 78171 0 2 0x2 ndp 78171 456096 3661 0 3 0x10008a sigsusp sh 3661 219838 20995 0 3 0x82 wait syz-executor 43786 388327 88621 0 3 0x82 sbwait sshd-session 64647 294972 0 0 3 0x14280 nfsidl nfsio 82042 90812 0 0 3 0x14280 nfsidl nfsio 42726 304545 0 0 3 0x14280 nfsidl nfsio 76317 64195 0 0 3 0x14280 nfsidl nfsio 47119 154753 0 0 3 0x14280 nfsidl nfsio 83727 423160 0 0 3 0x14280 nfsidl nfsio 53417 21265 0 0 3 0x14280 nfsidl nfsio 93415 205700 0 0 3 0x14280 nfsidl nfsio 56495 408418 0 0 3 0x14280 nfsidl nfsio 48089 403414 0 0 3 0x14280 nfsidl nfsio 94713 208758 0 0 3 0x14280 nfsidl nfsio 77135 477897 0 0 3 0x14280 nfsidl nfsio 7344 8147 0 0 3 0x14280 nfsidl nfsio 53801 74541 0 0 3 0x14280 nfsidl nfsio 83978 488561 0 0 3 0x14280 nfsidl nfsio 35485 102573 0 0 3 0x14280 nfsidl nfsio 12519 80358 0 0 3 0x14280 nfsidl nfsio 64985 77493 0 0 3 0x14280 nfsidl nfsio 39932 509651 0 0 3 0x14280 nfsidl nfsio 98332 368641 0 0 3 0x14280 nfsidl nfsio 67226 369039 20995 0 3 0x82 nanoslp syz-executor 68098 465351 20995 0 3 0x82 nanoslp syz-executor 55709 178574 20995 0 3 0x82 nanoslp syz-executor 85629 399359 20995 0 2 0x2 syz-executor 51752 173645 20995 0 3 0x82 nanoslp syz-executor 45391 503746 20995 0 3 0x82 nanoslp syz-executor 39864 301223 20995 0 2 0x2 syz-executor 20995 406577 91233 0 2 0x2 syz-executor 91233 143441 19900 0 3 0x10008a sigsusp ksh 19900 300373 19297 0 3 0x98 kqread sshd-session 19297 150273 88621 0 3 0x92 kqread sshd-session 15799 127344 1 0 3 0x100083 ttyin getty 88621 330154 1 0 3 0x88 kqread sshd 41149 234264 18292 73 3 0x1100090 kqread syslogd 18292 376629 1 0 3 0x100082 sbwait syslogd 72317 364428 1 0 3 0x100080 kqread resolvd 60410 82723 49944 77 3 0x100092 kqread dhcpleased 9091 95579 49944 77 3 0x100092 kqread dhcpleased 49944 227875 1 0 3 0x80 kqread dhcpleased 95165 236442 0 0 3 0x14200 bored smr 18938 22102 0 0 2 0x14200 zerothread 85463 475685 0 0 3 0x14200 aiodoned aiodoned 33646 484561 0 0 3 0x14200 syncer update 48293 411566 0 0 3 0x14200 cleaner cleaner 76655 489037 0 0 3 0x14200 reaper reaper 99209 28454 0 0 3 0x14200 pgdaemon pagedaemon 85238 411947 0 0 3 0x14200 bored viomb 40008 524269 0 0 3 0x40014200 acpi0 acpi0 87593 239428 0 0 3 0x14200 bored softnet0 61783 147204 0 0 3 0x14200 bored systqmp 55367 223585 0 0 3 0x14200 bored systq 57549 477339 0 0 3 0x40014200 tmoslp softclock 83021 166774 0 0 3 0x40014200 idle0 1 489354 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 10225 11326K 11434K 166960K 12369 0 pcb 17 16K 17K 166960K 264 0 rtable 207 8K 8K 166960K 504 0 pf 35 13K 14K 166960K 104 0 ifaddr 38 6K 7K 166960K 90 0 ifgroup 56 2K 2K 166960K 155 0 sysctl 3 1K 9K 166960K 10 0 counters 34 18K 18K 166960K 140 0 ioctlops 0 0K 4K 166960K 235 0 iov 0 0K 14K 166960K 63 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1399 88K 88K 166960K 1985 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 19 3K 3K 166960K 29 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 805 0 sigio 0 0K 0K 166960K 13 0 proc 61 59K 91K 166960K 575 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 186 0 in_multi 77 5K 7K 166960K 158 0 ether_multi 1 0K 0K 166960K 17 0 mrt 2 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 481 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 241 172K 180K 166960K 9412 0 UVM aobj 55 10K 10K 166960K 58 0 pinsyscall 42 84K 94K 166960K 1926 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 94 0 NDP 15 0K 2K 166960K 60 0 temp 62 8668K 8736K 166960K 19265 0 kqueue 13 20K 32K 166960K 174 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 110 0 106 1 0 1 1 0 8 0 rtentry 136 144 0 62 4 0 4 4 0 8 0 unpcb 144 546 0 529 7 3 4 4 0 8 3 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 5 0 5 1 0 1 1 0 8 1 tcpcb 736 334 0 322 7 0 7 7 0 8 5 arp 96 23 0 7 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 328 947 0 926 16 5 11 11 0 8 8 nd6 112 29 0 11 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 93 0 92 1 0 1 1 0 8 0 pppxif 1384 70 0 70 1 0 1 1 0 8 1 pfrktable 1344 3 0 3 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 4 1 0 1 1 0 8 0 pfstate 384 3 0 2 1 0 1 1 0 8 0 rttmr 136 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 641 0 277 31 2 29 31 0 8 6 art_table 40 645 0 277 5 0 5 5 0 8 0 art_node 32 143 0 69 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 4 1 0 1 1 0 8 0 semapl 112 20 0 4 1 0 1 1 0 8 0 shmpl 112 51 0 3 2 0 2 2 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2847 0 1352 95 0 95 95 0 8 0 ffsino 256 2847 0 1352 95 0 95 95 0 8 0 nchpl 144 3968 0 2273 64 0 64 64 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 vnodes 216 3241 0 0 181 0 181 181 0 8 0 namei 1024 13823 0 13823 3 1 2 2 0 8 2 vcpupl 3904 4 0 0 1 0 1 1 0 8 0 vmpool 800 4 0 0 1 0 1 1 0 8 0 kstatmem 264 84 0 58 2 0 2 2 0 8 0 scxspl 216 11944 0 11944 10 2 8 8 1 8 8 plimitpl 152 277 0 260 1 0 1 1 0 8 0 sigapl 424 1110 0 1046 8 0 8 8 0 8 0 knotepl 120 30437 0 30388 27 17 10 17 0 8 7 kqueuepl 184 272 0 263 3 0 3 3 0 8 2 pipepl 304 230 0 203 8 0 8 8 0 8 5 fdescpl 448 1072 0 1041 5 1 4 5 0 8 0 filepl 120 7019 0 6728 18 2 16 16 0 8 7 lockfpl 104 233 0 230 1 0 1 1 0 8 0 lockfspl 48 105 0 102 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 52 0 35 1 0 1 1 0 8 0 ucredpl 104 1054 0 1043 1 0 1 1 0 8 0 zombiepl 144 1454 0 1452 1 0 1 1 0 8 0 processpl 1152 1110 0 1046 5 0 5 5 0 8 0 procpl 664 2247 0 2176 8 0 8 8 0 8 1 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 552 1663 0 1621 16 5 11 11 0 8 6 mcl64k 65536 34 0 34 2 1 1 1 0 8 1 mcl16k 16384 8 0 8 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 3384 0 3330 16 8 8 16 0 8 0 mcl2k2 2112 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 1279 0 1276 3 1 2 2 0 8 1 mtagpl 96 72 0 18 2 0 2 2 0 8 0 mbufpl 256 13296 0 13085 82 59 23 78 0 8 8 bufpl 280 3538 0 118 245 0 245 245 0 8 0 anonpl 24 183898 0 180536 55 9 46 46 0 187 20 amapchunkpl 152 31161 0 30690 46 16 30 35 0 158 11 amappl16 200 3184 0 3156 20 8 12 15 0 8 8 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 6 0 6 1 1 0 1 0 8 0 amappl13 176 417 0 415 1 0 1 1 0 8 0 amappl12 168 1435 0 1394 2 0 2 2 0 8 0 amappl11 160 17 0 17 1 1 0 1 0 8 0 amappl10 152 48 0 38 1 0 1 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 27 0 26 1 0 1 1 0 8 0 amappl7 128 82 0 81 1 0 1 1 0 8 0 amappl6 120 292 0 278 1 0 1 1 0 8 0 amappl5 112 79 0 70 1 0 1 1 0 8 0 amappl4 104 412 0 387 1 0 1 1 0 8 0 amappl3 96 5147 0 5059 3 0 3 3 0 8 0 amappl2 88 1226 0 1149 2 0 2 2 0 8 0 amappl1 80 13135 0 12498 15 0 15 15 0 8 0 amappl 88 8544 0 8382 6 1 5 5 0 92 0 uvmvnodes 80 118 0 0 3 0 3 3 0 8 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 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 253 0 253 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 57 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1072 0 1041 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1072 0 1041 1 0 1 1 0 8 0 vmmpekpl 168 10950 0 10915 2 0 2 2 0 8 0 vmmpepl 168 76084 0 74190 100 2 98 98 0 357 10 vmsppl 368 1071 0 1041 4 1 3 4 0 8 0 rwobjpl 40 23220 0 22077 14 0 14 14 0 8 1 pdppl 4096 2159 0 2086 104 29 75 81 0 8 2 pvpl 32 492904 0 482823 141 18 123 123 0 265 35 pmappl 216 1075 0 1041 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 464 0 107 12 0 12 12 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff8000314fda10,ffff80003c9e3900,ffff80003c9e3850) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c9e3900) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9e3900) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb3856b3120, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff8000314fda10,ffff80003c9e3900,ffff80003c9e3850) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c9e3900) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9e3900) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb3856b3120, count: -3