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(ffff800035d12558,ffff80003a1c9110,ffff80003a1c9060) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a1c9110) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a1c9110) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39dd1c7dbd0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a1c9040 rbx 0xdeaf4152deaf415e rdx 0 rcx 0 rax 0xdeaf4152deaf415e r8 0x7f7fffffc000 r9 0 r10 0x3237793e642cb197 r11 0x9dc84059974c1483 r12 0 r13 0xfffffd806bd3b930 r14 0xffff80003a1c9110 r15 0 rip 0xffffffff817fc265 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a1c8f50 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=123693 pid=76966 tcnt=4 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=0xffff800035d127f0,0xffff800035d13790 process=0xffff80003a18c020 user=0xffff80003a1c4000, vmspace=0xfffffd807906e018 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36137 459400 73801 0 2 0 syz-executor 36137 288330 73801 0 3 0x4000080 fsleep syz-executor 89120 133450 44995 0 2 0 syz-executor 89120 252958 44995 0 3 0x4000080 fsleep syz-executor 89120 37311 44995 0 3 0x4000080 fsleep syz-executor 89120 212732 44995 0 3 0x4000080 fsleep syz-executor 66944 296525 40099 0 2 0 syz-executor 66944 290015 40099 0 3 0x4000080 fsleep syz-executor 99813 341571 16838 0 2 0 syz-executor 99813 353906 16838 0 3 0x4000080 fsleep syz-executor 76966 471671 13579 0 2 0 syz-executor *76966 123693 13579 0 7 0x4000000 syz-executor 76966 72964 13579 0 3 0x4000080 fsleep syz-executor 76966 175591 13579 0 3 0x4000080 fsleep syz-executor 31642 92018 88104 0 2 0 syz-executor 31642 193856 88104 0 2 0x4000000 syz-executor 31642 303237 88104 0 3 0x4000080 fsleep syz-executor 31642 224345 88104 0 3 0x4000080 fsleep syz-executor 31642 91395 88104 0 2 0x4000000 syz-executor 69935 462266 27927 0 2 0x4081000 syz-executor 69935 241137 27927 0 3 0x4003000 suspend syz-executor 88104 82825 83385 0 3 0x82 nanoslp syz-executor 86067 127918 0 0 3 0x14280 nfsidl nfsio 34957 221857 0 0 3 0x14280 nfsidl nfsio 94271 415016 0 0 3 0x14280 nfsidl nfsio 3534 17636 0 0 3 0x14280 nfsidl nfsio 33422 494083 0 0 3 0x14280 nfsidl nfsio 55482 222767 0 0 3 0x14280 nfsidl nfsio 62093 521066 0 0 3 0x14280 nfsidl nfsio 54201 271874 0 0 3 0x14280 nfsidl nfsio 67343 434957 0 0 3 0x14280 nfsidl nfsio 20792 21773 0 0 3 0x14280 nfsidl nfsio 92258 45753 0 0 3 0x14280 nfsidl nfsio 21038 459296 0 0 3 0x14280 nfsidl nfsio 21885 53663 0 0 3 0x14280 nfsidl nfsio 93875 445309 0 0 3 0x14280 nfsidl nfsio 92637 364926 0 0 3 0x14280 nfsidl nfsio 39025 390137 0 0 3 0x14280 nfsidl nfsio 32316 370952 0 0 3 0x14280 nfsidl nfsio 43333 298196 0 0 3 0x14280 nfsidl nfsio 84787 336057 0 0 3 0x14280 nfsidl nfsio 49856 498889 0 0 3 0x14280 nfsidl nfsio 44995 135074 83385 0 3 0x82 nanoslp syz-executor 95979 148402 0 0 3 0x14200 bored sosplice 29309 428049 83385 0 2 0x2 syz-executor 73801 506929 83385 0 3 0x82 nanoslp syz-executor 16838 321190 83385 0 3 0x82 nanoslp syz-executor 13579 507785 83385 0 3 0x82 nanoslp syz-executor 27927 380344 83385 0 3 0x82 wait syz-executor 40099 116985 83385 0 3 0x82 nanoslp syz-executor 83385 16221 87065 0 3 0x82 kqread syz-executor 87065 374983 36632 0 3 0x10008a sigsusp ksh 36632 465943 95235 0 3 0x98 kqread sshd-session 95235 352916 56168 0 3 0x92 kqread sshd-session 83554 45639 1 0 3 0x100083 ttyin getty 56168 153287 1 0 3 0x88 kqread sshd 65252 237085 56782 73 3 0x1100090 kqread syslogd 56782 436341 1 0 3 0x100082 sbwait syslogd 99384 70136 1 0 3 0x100080 kqread resolvd 35207 87913 55695 77 3 0x100092 kqread dhcpleased 21555 402999 55695 77 3 0x100092 kqread dhcpleased 55695 328585 1 0 3 0x80 kqread dhcpleased 5425 29854 0 0 3 0x14200 bored smr 57209 105408 0 0 2 0x14200 zerothread 28732 27869 0 0 3 0x14200 aiodoned aiodoned 27392 343739 0 0 3 0x14200 syncer update 4003 214874 0 0 3 0x14200 cleaner cleaner 82634 208899 0 0 3 0x14200 reaper reaper 16512 231676 0 0 3 0x14200 pgdaemon pagedaemon 10713 91740 0 0 3 0x14200 bored viomb 41961 334168 0 0 3 0x40014200 acpi0 acpi0 72552 62838 0 0 3 0x14200 bored softnet0 32210 367415 0 0 3 0x14200 bored systqmp 4100 370118 0 0 3 0x14200 bored systq 35584 448467 0 0 3 0x40014200 tmoslp softclock 49539 276059 0 0 3 0x40014200 idle0 1 20201 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 10173 11049K 11382K 166960K 12647 0 pcb 17 16K 18K 166960K 377 0 rtable 234 9K 9K 166960K 438 0 pf 30 13K 77K 166960K 100 0 ifaddr 37 6K 7K 166960K 85 0 ifgroup 46 2K 2K 166960K 116 0 sysctl 4 1K 9K 166960K 17 0 counters 31 17K 18K 166960K 128 0 ioctlops 0 0K 6K 166960K 271 0 iov 0 0K 40K 166960K 57 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1531 96K 97K 166960K 2363 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 24 6K 10K 166960K 44 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 81K 166960K 920 0 sigio 0 0K 0K 166960K 16 0 proc 60 59K 91K 166960K 595 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 129 0 in_multi 86 6K 7K 166960K 158 0 ether_multi 1 0K 0K 166960K 10 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 478 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 240 159K 190K 166960K 9790 0 UVM aobj 124 3K 4K 166960K 127 0 pinsyscall 38 76K 88K 166960K 1994 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 48 0 NDP 10 0K 2K 166960K 53 0 temp 67 8645K 8713K 166960K 25320 0 kqueue 14 22K 30K 166960K 193 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 104 0 101 1 0 1 1 0 8 0 rtentry 136 144 0 49 4 0 4 4 0 8 0 unpcb 144 675 0 660 9 3 6 6 0 8 5 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 445 0 441 7 6 1 7 0 8 0 arp 96 13 0 4 1 0 1 1 0 8 0 ipq 40 3 0 1 1 0 1 1 0 8 0 ipqe 40 36 0 34 1 0 1 1 0 8 0 inpcb 328 1294 0 1285 10 6 4 7 0 8 3 ip6q 72 4 0 2 1 0 1 1 0 8 0 ip6af 40 8 0 5 1 0 1 1 0 8 0 nd6 112 38 0 11 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 87 0 87 2 1 1 1 0 8 1 pppxif 1384 4 0 4 2 1 1 1 0 8 1 pfrktable 1344 4 0 4 1 1 0 1 0 8 0 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 721 0 199 35 0 35 35 0 8 0 art_table 40 723 0 199 6 0 6 6 0 8 0 art_node 32 143 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 9 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 34 0 13 1 0 1 1 0 8 0 shmpl 112 124 0 3 4 0 4 4 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 3150 0 1654 95 0 95 95 0 8 0 ffsino 256 3150 0 1654 95 0 95 95 0 8 0 nchpl 144 4407 0 2723 63 0 63 63 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 vnodes 216 3820 0 0 213 0 213 213 0 8 0 namei 1024 15902 0 15901 3 2 1 2 0 8 0 pfiaddrpl 120 2 0 2 1 1 0 1 0 8 0 kstatmem 264 64 0 44 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 17602 0 17602 8 7 1 8 1 8 1 plimitpl 152 224 0 208 1 0 1 1 0 8 0 sigapl 424 1213 0 1150 8 0 8 8 0 8 0 knotepl 120 73216 0 73166 50 38 12 24 0 8 8 kqueuepl 184 498 0 488 6 3 3 4 0 8 2 pipepl 304 224 0 197 8 5 3 8 0 8 0 fdescpl 448 1177 0 1148 4 0 4 4 0 8 0 filepl 120 8461 0 8252 20 9 11 18 0 8 1 lockfpl 104 490 0 487 2 0 2 2 0 8 1 lockfspl 48 150 0 147 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 39 0 23 1 0 1 1 0 8 0 ucredpl 104 1531 0 1520 1 0 1 1 0 8 0 zombiepl 144 1270 0 1269 1 0 1 1 0 8 0 processpl 1152 1213 0 1150 5 0 5 5 0 8 0 procpl 664 2482 0 2404 8 0 8 8 0 8 1 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 552 2145 0 2117 22 12 10 13 0 8 8 mcl64k 65536 90 0 90 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 1 1 0 1 0 8 0 mcl4k 4096 3490 0 3438 16 8 8 15 0 8 0 mcl2k 2048 1584 0 1582 2 1 1 2 0 8 0 mtagpl 96 47 0 8 1 0 1 1 0 8 0 mbufpl 256 12717 0 12523 20 4 16 20 0 8 0 bufpl 280 6801 0 573 446 0 446 446 0 8 0 anonpl 24 205532 0 201840 77 40 37 77 0 187 2 amapchunkpl 152 34403 0 33866 55 21 34 44 0 158 11 amappl16 200 4108 0 4072 33 28 5 25 0 8 1 amappl15 192 40 0 40 1 1 0 1 0 8 0 amappl14 184 112 0 102 1 0 1 1 0 8 0 amappl13 176 27 0 27 1 1 0 1 0 8 0 amappl12 168 1831 0 1802 2 0 2 2 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 8 0 7 1 0 1 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 114 0 103 1 0 1 1 0 8 0 amappl6 120 190 0 187 1 0 1 1 0 8 0 amappl5 112 150 0 143 1 0 1 1 0 8 0 amappl4 104 271 0 253 1 0 1 1 0 8 0 amappl3 96 5658 0 5560 4 0 4 4 0 8 0 amappl2 88 1406 0 1333 2 0 2 2 0 8 0 amappl1 80 11181 0 10629 12 0 12 12 0 8 0 amappl 88 8968 0 8792 5 0 5 5 0 92 0 uvmvnodes 80 3820 0 0 78 0 78 78 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 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 126 0 3 3 0 3 3 0 8 0 uaddrrnd 24 1177 0 1148 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1177 0 1148 1 0 1 1 0 8 0 vmmpekpl 168 10281 0 10217 3 0 3 3 0 8 0 vmmpepl 168 79308 0 77419 103 16 87 103 0 357 2 vmsppl 368 1176 0 1148 4 1 3 4 0 8 0 rwobjpl 40 26329 0 21502 49 0 49 49 0 8 0 pdppl 4096 2360 0 2296 94 28 66 74 0 8 2 pvpl 32 531995 0 522703 160 54 106 160 0 265 5 pmappl 216 1176 0 1148 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 387 0 55 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff800035d12558,ffff80003a1c9110,ffff80003a1c9060) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a1c9110) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a1c9110) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39dd1c7dbd0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff800035d12558,ffff80003a1c9110,ffff80003a1c9060) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a1c9110) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a1c9110) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39dd1c7dbd0, count: -3