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(ffff800031cf2020,ffff80003c945e80,ffff80003c945dd0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c945e80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c945e80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x883eafc1050, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c945db0 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x50d25e87416d951 r11 0x2521a07d7b3f5ff0 r12 0 r13 0xfffffd806c3b0cb0 r14 0xffff80003c945e80 r15 0 rip 0xffffffff8127e1c5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c945cc0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=493704 pid=35625 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=80, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800031cf3a10,0xffff800031cf22c8 process=0xffff800031cf6d18 user=0xffff80003c940000, vmspace=0xfffffd807561fb90 estcpu=30, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4358 93420 64898 0 2 0 syz-executor 4358 85657 64898 0 3 0x4000080 fsleep syz-executor 5964 73553 86364 0 2 0 syz-executor 5964 386967 86364 0 3 0x4000080 fsleep syz-executor 41663 324117 96596 0 2 0 syz-executor 41663 24849 96596 0 2 0x4000000 syz-executor 68355 52528 9275 0 2 0 syz-executor 68355 263988 9275 0 2 0x4000000 syz-executor 68355 283333 9275 0 2 0x4000000 syz-executor 35625 11088 84378 0 2 0 syz-executor 35625 238106 84378 0 2 0x4000000 syz-executor *35625 493704 84378 0 7 0x4000000 syz-executor 35625 45908 84378 0 3 0x4000080 fsleep syz-executor 19406 448170 31296 0 3 0x3000 suspend syz-executor 19406 159312 31296 0 2 0x4081000 syz-executor 84378 43164 3908 0 3 0x82 nanoslp syz-executor 5630 233908 3908 0 2 0x2 syz-executor 31296 304095 3908 0 3 0x82 nanoslp syz-executor 64898 367272 3908 0 3 0x82 nanoslp syz-executor 96596 246821 3908 0 3 0x82 nanoslp syz-executor 73823 43888 3908 0 2 0x2 syz-executor 86364 242508 3908 0 3 0x82 nanoslp syz-executor 9275 495765 3908 0 3 0x82 nanoslp syz-executor 3908 424440 39701 0 3 0x82 kqread syz-executor 39701 362740 60187 0 3 0x10008a sigsusp ksh 60187 496994 10133 0 3 0x98 kqread sshd-session 10133 74011 84469 0 3 0x92 kqread sshd-session 71038 67216 1 0 3 0x100083 ttyopn getty 84469 195041 1 0 3 0x88 kqread sshd 41983 130649 56005 73 3 0x1100090 kqread syslogd 56005 441232 1 0 3 0x100082 sbwait syslogd 67870 291076 1 0 3 0x100080 kqread resolvd 2309 455516 50948 77 3 0x100092 kqread dhcpleased 48426 46027 50948 77 3 0x100092 kqread dhcpleased 50948 28717 1 0 3 0x80 kqread dhcpleased 44558 443870 0 0 3 0x14200 bored smr 90020 45480 0 0 2 0x14200 zerothread 7791 368865 0 0 3 0x14200 aiodoned aiodoned 78911 282199 0 0 3 0x14200 syncer update 1349 15420 0 0 3 0x14200 cleaner cleaner 4818 176667 0 0 3 0x14200 reaper reaper 5254 56379 0 0 3 0x14200 pgdaemon pagedaemon 38923 275451 0 0 3 0x14200 bored viomb 18744 148801 0 0 3 0x40014200 acpi0 acpi0 79592 29349 0 0 3 0x14200 bored softnet0 21181 439309 0 0 3 0x14200 bored systqmp 98429 35556 0 0 3 0x14200 bored systq 24088 184608 0 0 3 0x40014200 tmoslp softclock 82596 227505 0 0 3 0x40014200 idle0 1 499736 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11043 12170K 13207K 166960K 13715 0 pcb 17 14K 18K 166960K 184 0 rtable 259 10K 10K 166960K 461 0 pf 30 12K 15K 166960K 85 0 ifaddr 42 7K 8K 166960K 78 0 ifgroup 50 2K 2K 166960K 108 0 sysctl 3 1K 9K 166960K 10 0 counters 33 17K 18K 166960K 65 0 ioctlops 0 0K 4K 166960K 203 0 iov 0 0K 16K 166960K 19 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1468 92K 93K 166960K 2142 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 14 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 598 0 sigio 0 0K 0K 166960K 16 0 proc 61 59K 108K 166960K 537 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 47 0 in_multi 99 7K 7K 166960K 131 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 563 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 231 160K 169K 166960K 6739 0 UVM aobj 16 8K 8K 166960K 18 0 pinsyscall 38 76K 96K 166960K 1699 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 27 0 NDP 11 0K 2K 166960K 53 0 temp 76 8668K 8740K 166960K 21994 0 kqueue 13 20K 32K 166960K 95 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 263 0 260 5 2 3 3 0 8 2 rtentry 136 137 0 27 5 1 4 5 0 8 0 unpcb 144 330 0 309 2 0 2 2 0 8 1 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpqe 32 3 0 3 1 1 0 1 0 8 0 tcpcb 736 393 0 387 7 6 1 7 0 8 0 arp 96 21 0 3 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 871 0 862 12 10 2 12 0 8 0 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 34 0 10 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 27 0 27 2 1 1 1 0 8 1 pppxif 1384 2 0 2 1 1 0 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 1 0 1 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 561 0 105 32 1 31 32 0 8 2 art_table 40 562 0 105 6 0 6 6 0 8 1 art_node 32 136 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 11 0 3 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2523 0 1022 95 0 95 95 0 8 0 ffsino 256 2523 0 1022 95 0 95 95 0 8 0 nchpl 144 3349 0 1660 64 0 64 64 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 vnodes 216 3105 0 0 173 0 173 173 0 8 0 namei 1024 11778 0 11776 4 2 2 2 0 8 1 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 808 3 0 1 1 0 1 1 0 8 0 kstatmem 264 66 0 44 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 9770 0 9770 2 1 1 2 1 8 1 plimitpl 152 96 0 80 1 0 1 1 0 8 0 sigapl 424 874 0 832 6 1 5 6 0 8 0 knotepl 120 121301 0 121254 28 18 10 17 0 8 8 kqueuepl 184 198 0 186 3 0 3 3 0 8 2 pipepl 304 253 0 225 10 5 5 8 0 8 2 fdescpl 448 861 0 832 5 1 4 5 0 8 0 filepl 120 6026 0 5815 14 3 11 12 0 8 2 lockfpl 104 567 0 565 3 1 2 2 0 8 1 lockfspl 48 209 0 207 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 39 0 23 1 0 1 1 0 8 0 ucredpl 104 918 0 906 1 0 1 1 0 8 0 zombiepl 144 907 0 905 1 0 1 1 0 8 0 processpl 1152 874 0 832 4 0 4 4 0 8 0 procpl 664 1558 0 1506 6 0 6 6 0 8 1 sosppl 176 6 0 6 1 1 0 1 0 8 0 sockpl 552 1550 0 1516 18 10 8 14 0 8 4 mcl64k 65536 34 0 34 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 47 0 47 2 1 1 1 0 8 1 mcl4k 4096 3036 0 2981 14 6 8 14 0 8 0 mcl2k 2048 1159 0 1153 2 0 2 2 0 8 0 mtagpl 96 17 0 5 1 0 1 1 0 8 0 mbufpl 256 9655 0 9435 24 5 19 19 0 8 4 bufpl 280 3231 0 122 223 0 223 223 0 8 0 anonpl 24 129534 0 124166 47 2 45 45 0 187 1 amapchunkpl 152 21120 0 20592 28 2 26 26 0 158 1 amappl16 200 1884 0 1782 11 1 10 11 0 8 0 amappl15 192 15 0 15 1 1 0 1 0 8 0 amappl14 184 9 0 9 1 1 0 1 0 8 0 amappl13 176 419 0 418 1 0 1 1 0 8 0 amappl12 168 1254 0 1217 2 0 2 2 0 8 0 amappl11 160 41 0 40 1 0 1 1 0 8 0 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 254 0 253 1 0 1 1 0 8 0 amappl8 136 40 0 38 1 0 1 1 0 8 0 amappl7 128 84 0 83 1 0 1 1 0 8 0 amappl6 120 272 0 261 1 0 1 1 0 8 0 amappl5 112 71 0 63 1 0 1 1 0 8 0 amappl4 104 388 0 364 1 0 1 1 0 8 0 amappl3 96 3716 0 3632 3 0 3 3 0 8 0 amappl2 88 975 0 906 2 0 2 2 0 8 0 amappl1 80 11252 0 10712 13 0 13 13 0 8 0 amappl 88 5932 0 5771 5 0 5 5 0 92 0 uvmvnodes 80 106 0 0 3 0 3 3 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 17 0 2 1 0 1 1 0 8 0 uaddrrnd 24 861 0 832 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 861 0 832 1 0 1 1 0 8 0 vmmpekpl 168 8751 0 8714 2 0 2 2 0 8 0 vmmpepl 168 60601 0 58761 91 3 88 91 0 357 3 vmsppl 368 860 0 832 4 1 3 4 0 8 0 rwobjpl 40 18043 0 17004 12 0 12 12 0 8 0 pdppl 4096 1735 0 1668 110 41 69 83 0 8 2 pvpl 32 366508 0 356254 115 4 111 111 0 265 5 pmappl 216 863 0 833 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 406 0 69 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff800031cf2020,ffff80003c945e80,ffff80003c945dd0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c945e80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c945e80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x883eafc1050, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff800031cf2020,ffff80003c945e80,ffff80003c945dd0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003c945e80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c945e80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x883eafc1050, count: -3