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(ffff800039120a90,ffff800038109a00,ffff800038109950) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800038109a00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038109a00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3e5ef8f7570, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff800038109930 rbx 0xdeaf4152deaf4242 rdx 0 rcx 0 rax 0xdeaf4152deaf4242 r8 0x7f7fffffc000 r9 0 r10 0x896d81b17c2a4dda r11 0xb8b01739bbd59508 r12 0 r13 0xfffffd806c7bfa80 r14 0xffff800038109a00 r15 0 rip 0xffffffff812808c5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800038109840 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=274018 pid=65483 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=0xffff800039121258,0xffff800039121798 process=0xffff80003810fa98 user=0xffff800038104000, vmspace=0xfffffd806c8b55d8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65483 128218 78019 0 2 0 syz-executor *65483 274018 78019 0 7 0x4000000 syz-executor 65483 169810 78019 0 3 0x4000080 fsleep syz-executor 65483 265658 78019 0 2 0x4000000 syz-executor 9155 98 54611 60929 3 0x90 fsleep syz-executor 9155 164076 54611 60929 3 0x4000090 kqsel syz-executor 48097 485619 79177 0 3 0x80 fsleep syz-executor 48097 155736 79177 0 3 0x4000080 kqread syz-executor 48097 331259 79177 0 3 0x4000080 fsleep syz-executor 92827 310139 97565 0 3 0x80 fsleep syz-executor 92827 160450 97565 0 3 0x4000080 piperd syz-executor 60022 36666 91970 0 3 0x80 fsleep syz-executor 60022 44581 91970 0 3 0x4000080 msgwait syz-executor 13866 88705 67956 0 3 0x90 fsleep syz-executor 13866 136307 67956 0 3 0x4000090 fifor syz-executor 84956 87461 0 0 3 0x14280 nfsidl nfsio 38386 183217 0 0 3 0x14280 nfsidl nfsio 8834 521481 0 0 3 0x14280 nfsidl nfsio 49149 147795 0 0 3 0x14280 nfsidl nfsio 76563 372420 0 0 3 0x14280 nfsidl nfsio 85660 354806 0 0 3 0x14280 nfsidl nfsio 74557 83690 0 0 3 0x14280 nfsidl nfsio 77283 372500 0 0 3 0x14280 nfsidl nfsio 5801 366243 0 0 3 0x14280 nfsidl nfsio 47320 139611 0 0 3 0x14280 nfsidl nfsio 84657 394232 0 0 3 0x14280 nfsidl nfsio 5975 339884 0 0 3 0x14280 nfsidl nfsio 44787 114974 0 0 3 0x14280 nfsidl nfsio 10504 92724 0 0 3 0x14280 nfsidl nfsio 36266 102438 0 0 3 0x14280 nfsidl nfsio 76723 75613 0 0 3 0x14280 nfsidl nfsio 85482 218634 0 0 3 0x14280 nfsidl nfsio 66794 387018 0 0 3 0x14280 nfsidl nfsio 80190 438231 0 0 3 0x14280 nfsidl nfsio 87837 466065 0 0 3 0x14280 nfsidl nfsio 21901 114775 0 0 3 0x14200 acct acct 51987 202275 1 0 3 0x100083 ttyin getty 54611 513096 15366 0 3 0x82 nanoslp syz-executor 57597 245791 15366 0 3 0x82 wait syz-executor 36706 311255 15366 0 3 0x82 nanoslp syz-executor 79177 180603 15366 0 3 0x82 nanoslp syz-executor 97565 433316 15366 0 3 0x82 nanoslp syz-executor 67956 458229 15366 0 3 0x82 nanoslp syz-executor 78019 315593 15366 0 3 0x82 nanoslp syz-executor 91970 259042 15366 0 3 0x82 nanoslp syz-executor 15366 43363 97276 0 3 0x82 kqread syz-executor 97276 476385 68054 0 3 0x10008a sigsusp ksh 68054 25706 74283 0 3 0x98 kqread sshd-session 74283 120118 39728 0 3 0x92 kqread sshd-session 39728 270655 1 0 3 0x88 kqread sshd 78859 395152 51648 73 3 0x1100090 kqread syslogd 51648 7331 1 0 3 0x100082 sbwait syslogd 24774 473332 1 0 3 0x100080 kqread resolvd 75940 168130 58709 77 3 0x100092 kqread dhcpleased 88804 251965 58709 77 3 0x100092 kqread dhcpleased 58709 284832 1 0 3 0x80 kqread dhcpleased 25434 353804 0 0 3 0x14200 bored smr 69166 297737 0 0 2 0x14200 zerothread 29878 269412 0 0 3 0x14200 aiodoned aiodoned 14463 500785 0 0 3 0x14200 syncer update 12473 482734 0 0 3 0x14200 cleaner cleaner 20440 444461 0 0 3 0x14200 reaper reaper 83894 119979 0 0 3 0x14200 pgdaemon pagedaemon 47032 189780 0 0 3 0x14200 bored viomb 39071 337104 0 0 3 0x40014200 acpi0 acpi0 14830 360453 0 0 3 0x14200 bored softnet0 55657 38842 0 0 3 0x14200 bored systqmp 27009 408943 0 0 3 0x14200 bored systq 1899 443509 0 0 3 0x40014200 tmoslp softclock 58248 6656 0 0 3 0x40014200 idle0 1 243462 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 11106 12211K 13227K 166960K 14522 0 pcb 17 16K 22K 166960K 473 0 rtable 193 10K 10K 166960K 492 0 pf 25 12K 14K 166960K 120 0 ifaddr 29 5K 8K 166960K 92 0 ifgroup 38 1K 2K 166960K 167 0 sysctl 4 1K 9K 166960K 15 0 counters 30 17K 18K 166960K 96 0 ioctlops 0 0K 4K 166960K 195 0 iov 1 0K 28K 166960K 59 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1522 96K 96K 166960K 2898 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 108 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1153 0 sigio 0 0K 0K 166960K 156 0 proc 60 59K 116K 166960K 594 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 148 0 in_multi 65 4K 7K 166960K 134 0 ether_multi 1 0K 0K 166960K 14 0 mrt 0 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 493 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 243 159K 177K 166960K 12121 0 UVM aobj 112 14K 14K 166960K 123 0 pinsyscall 39 78K 95K 166960K 2232 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 74 0 NDP 8 0K 1K 166960K 64 0 temp 78 8675K 8797K 166960K 40466 0 kqueue 15 22K 34K 166960K 275 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 139 0 136 2 1 1 2 0 8 0 rtentry 136 133 0 63 4 0 4 4 0 8 0 unpcb 144 893 0 874 3 2 1 3 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 472 0 466 7 6 1 7 0 8 0 arp 96 19 0 8 1 0 1 1 0 8 0 ipq 40 6 0 1 1 0 1 1 0 8 0 ipqe 40 73 0 67 1 0 1 1 0 8 0 inpcb 328 1518 0 1507 10 8 2 10 0 8 0 ip6q 72 37 0 35 1 0 1 1 0 8 0 ip6af 40 72 0 70 1 0 1 1 0 8 0 nd6 112 28 0 11 1 0 1 1 0 8 0 pkpcb 40 36 0 36 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 49 0 49 2 1 1 1 0 8 1 pppxif 1384 5 0 5 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 5 0 3 1 0 1 1 0 8 0 pfstate 384 3 0 2 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 572 0 260 31 5 26 31 0 8 0 art_table 40 576 0 260 5 0 5 5 0 8 0 art_node 32 133 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 9 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 103 0 94 1 0 1 1 0 8 0 shmpl 112 115 0 10 4 0 4 4 0 8 1 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 3588 0 2090 95 0 95 95 0 8 0 ffsino 256 3588 0 2090 95 0 95 95 0 8 0 nchpl 144 5179 0 3485 64 0 64 64 0 8 0 rtmask 32 14 0 14 1 1 0 1 0 8 0 vnodes 216 4765 0 0 265 0 265 265 0 8 0 namei 1024 18245 0 18245 3 2 1 2 0 8 1 vcpupl 3904 4 0 0 1 0 1 1 0 8 0 vmpool 808 5 0 1 1 0 1 1 0 8 0 kstatmem 264 96 0 80 2 0 2 2 0 8 0 scsiplug 72 7 0 7 2 1 1 1 0 8 1 scxspl 216 18335 0 18335 8 7 1 8 1 8 1 plimitpl 152 258 0 241 1 0 1 1 0 8 0 sigapl 424 1454 0 1390 8 0 8 8 0 8 0 knotepl 120 47070 0 47021 27 24 3 16 0 8 1 kqueuepl 184 559 0 547 4 3 1 4 0 8 0 pipepl 304 361 0 333 8 5 3 8 0 8 0 fdescpl 448 1419 0 1389 5 1 4 5 0 8 0 filepl 120 10170 0 9879 13 3 10 12 0 8 0 lockfpl 104 623 0 620 2 1 1 2 0 8 0 lockfspl 48 224 0 221 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 48 0 32 1 0 1 1 0 8 0 ucredpl 104 1355 0 1342 1 0 1 1 0 8 0 zombiepl 144 1406 0 1404 1 0 1 1 0 8 0 processpl 1152 1454 0 1390 5 0 5 5 0 8 0 procpl 664 3006 0 2933 7 0 7 7 0 8 0 sosppl 176 8 0 8 1 1 0 1 0 8 0 sockpl 552 2726 0 2693 10 7 3 10 0 8 0 mcl64k 65536 100 0 99 1 0 1 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3794 0 3743 14 6 8 13 0 8 1 mcl2k2 2112 3 0 3 1 1 0 1 0 8 0 mcl2k 2048 1690 0 1682 3 1 2 3 0 8 0 mtagpl 96 47 0 23 1 0 1 1 0 8 0 mbufpl 256 16277 0 16137 42 27 15 42 0 8 0 bufpl 280 6693 0 472 445 0 445 445 0 8 0 anonpl 24 210492 0 207240 45 20 25 45 0 187 0 amapchunkpl 152 40689 0 40171 31 11 20 31 0 158 0 amappl16 200 3711 0 3675 19 16 3 15 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 1 0 1 1 1 0 1 0 8 0 amappl13 176 406 0 405 1 0 1 1 0 8 0 amappl12 168 1771 0 1732 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 1 0 1 0 8 0 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 17 0 16 1 0 1 1 0 8 0 amappl7 128 93 0 92 1 0 1 1 0 8 0 amappl6 120 270 0 257 1 0 1 1 0 8 0 amappl5 112 97 0 90 1 0 1 1 0 8 0 amappl4 104 392 0 368 1 0 1 1 0 8 0 amappl3 96 6946 0 6847 3 0 3 3 0 8 0 amappl2 88 1552 0 1480 2 0 2 2 0 8 0 amappl1 80 13581 0 13035 13 0 13 13 0 8 0 amappl 88 11216 0 11042 5 1 4 5 0 92 0 uvmvnodes 80 128 0 0 3 0 3 3 0 8 0 dma8192 8192 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 7 0 7 1 1 0 1 0 8 0 dma32 32 8 0 8 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 122 0 11 3 0 3 3 0 8 0 uaddrrnd 24 1419 0 1389 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1419 0 1389 1 0 1 1 0 8 0 vmmpekpl 168 12896 0 12866 2 0 2 2 0 8 0 vmmpepl 168 94397 0 92541 91 8 83 91 0 357 0 vmsppl 368 1418 0 1389 4 1 3 4 0 8 0 rwobjpl 40 25579 0 24476 14 2 12 14 0 8 0 pdppl 4096 2855 0 2784 108 37 71 83 0 8 0 pvpl 32 597930 0 588759 114 31 83 114 0 265 0 pmappl 216 1423 0 1390 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 423 0 91 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff800039120a90,ffff800038109a00,ffff800038109950) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800038109a00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038109a00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3e5ef8f7570, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff800039120a90,ffff800038109a00,ffff800038109950) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800038109a00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038109a00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3e5ef8f7570, count: -3