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(ffff80003c9d4560,ffff80003a5319a0,ffff80003a5318f0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a5319a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a5319a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdebf9534170, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a5318d0 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x5ddf942fe2bebb4c r11 0x5c474a926c428e2 r12 0 r13 0xfffffd807ab48a10 r14 0xffff80003a5319a0 r15 0 rip 0xffffffff810bd015 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a5317e0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=446170 pid=8650 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=0xffff80003c976d20,0xffff80003c9d4fd0 process=0xffff80003a928498 user=0xffff80003a52c000, vmspace=0xfffffd807a8e3748 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35020 397530 74684 0 2 0 syz-executor 35020 420664 74684 0 3 0x4000080 fsleep syz-executor 8650 416134 65901 0 2 0 syz-executor * 8650 446170 65901 0 7 0x4000000 syz-executor 8650 446741 65901 0 3 0x4000080 fsleep syz-executor 8650 199950 65901 0 3 0x4000080 fsleep syz-executor 12877 87961 92044 0 3 0x80 fsleep syz-executor 12877 109980 92044 0 3 0x4000080 ttyretype syz-executor 4130 226095 56072 0 3 0x80 fsleep syz-executor 4130 81386 56072 0 3 0x4000080 kqsel syz-executor 96996 383869 15368 0 2 0x2 syz-executor 31433 329737 15368 0 2 0x2 syz-executor 73534 507749 1 0 3 0x100083 ttyin getty 52657 99799 0 0 3 0x14280 nfsidl nfsio 85667 274938 0 0 3 0x14280 nfsidl nfsio 86956 12021 0 0 3 0x14280 nfsidl nfsio 71359 212559 0 0 3 0x14280 nfsidl nfsio 35340 400667 0 0 3 0x14280 nfsidl nfsio 56107 102455 0 0 3 0x14280 nfsidl nfsio 71446 475979 0 0 3 0x14280 nfsidl nfsio 49771 292881 0 0 3 0x14280 nfsidl nfsio 87779 335427 0 0 3 0x14280 nfsidl nfsio 30360 517049 0 0 3 0x14280 nfsidl nfsio 95768 260065 0 0 3 0x14280 nfsidl nfsio 7176 197454 0 0 3 0x14280 nfsidl nfsio 98654 92626 0 0 3 0x14280 nfsidl nfsio 46190 141402 0 0 3 0x14280 nfsidl nfsio 56685 191671 0 0 3 0x14280 nfsidl nfsio 89138 488756 0 0 3 0x14280 nfsidl nfsio 3642 226525 0 0 3 0x14280 nfsidl nfsio 85202 167222 0 0 3 0x14280 nfsidl nfsio 11921 386600 0 0 3 0x14280 nfsidl nfsio 10033 252401 0 0 3 0x14280 nfsidl nfsio 94702 30654 0 0 3 0x14200 bored sosplice 20577 269338 79783 0 3 0x100082 sbwait arp 79783 520336 48227 0 3 0x10008a sigsusp sh 56072 348121 15368 0 3 0x82 nanoslp syz-executor 83162 81462 15368 0 2 0x2 syz-executor 65901 450920 15368 0 3 0x82 nanoslp syz-executor 74684 207467 15368 0 3 0x82 nanoslp syz-executor 92044 383330 15368 0 3 0x82 nanoslp syz-executor 48227 423425 15368 0 3 0x82 wait syz-executor 15368 323189 23219 0 2 0x2 syz-executor 23219 440505 32392 0 3 0x10008a sigsusp ksh 32392 364337 74179 0 3 0x98 kqread sshd-session 74179 76623 12213 0 3 0x92 kqread sshd-session 12213 241256 1 0 3 0x88 kqread sshd 19841 42361 27219 73 3 0x1100090 kqread syslogd 27219 233792 1 0 3 0x100082 sbwait syslogd 33581 513630 1 0 3 0x100080 kqread resolvd 19235 267835 372 77 3 0x100092 kqread dhcpleased 1938 188320 372 77 3 0x100092 kqread dhcpleased 372 516459 1 0 3 0x80 kqread dhcpleased 7660 141990 0 0 3 0x14200 bored smr 3148 370774 0 0 2 0x14200 zerothread 70462 445823 0 0 3 0x14200 aiodoned aiodoned 38638 514417 0 0 3 0x14200 syncer update 72310 197767 0 0 3 0x14200 cleaner cleaner 38834 50758 0 0 3 0x14200 reaper reaper 16109 348225 0 0 3 0x14200 pgdaemon pagedaemon 78294 422076 0 0 3 0x14200 bored viomb 48082 368209 0 0 3 0x40014200 acpi0 acpi0 3937 71542 0 0 2 0x14200 softnet0 86165 502955 0 0 3 0x14200 bored systqmp 4743 273626 0 0 3 0x14200 bored systq 8238 519254 0 0 3 0x40014200 tmoslp softclock 91232 272218 0 0 3 0x40014200 idle0 1 115713 0 0 3 0x82 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 10198 11363K 11726K 166960K 12528 0 pcb 17 13K 13K 166960K 131 0 rtable 245 9K 10K 166960K 499 0 pf 31 13K 67480K 166960K 93 0 ifaddr 40 7K 7K 166960K 81 0 ifgroup 50 2K 2K 166960K 121 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 102 0 ioctlops 0 0K 4K 166960K 267 0 iov 0 0K 20K 166960K 93 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1426 90K 90K 166960K 2009 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 100 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 244K 166960K 697 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 108K 166960K 584 0 subproc 72 4K 4K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 68 0 in_multi 89 6K 6K 166960K 133 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 7 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 467 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 213 160K 180K 166960K 7679 0 UVM aobj 22 2K 2K 166960K 27 0 pinsyscall 39 78K 100K 166960K 1809 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 32 0 NDP 11 0K 1K 166960K 51 0 temp 80 8648K 8714K 166960K 30463 0 kqueue 13 20K 30K 166960K 125 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 74 0 70 1 0 1 1 0 8 0 rtentry 136 148 0 50 4 0 4 4 0 8 0 unpcb 144 351 0 336 1 0 1 1 0 8 0 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 247 0 242 10 6 4 7 0 8 3 arp 96 24 0 5 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 589 0 580 9 5 4 7 0 8 2 ip6q 72 2 0 1 2 1 1 1 0 8 0 ip6af 40 3 0 2 2 1 1 1 0 8 0 nd6 112 31 0 7 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 60 0 60 2 1 1 1 0 8 1 pppxif 1384 5 0 5 2 1 1 1 0 8 1 pfstkey 128 6 0 6 1 1 0 1 0 8 0 pfstate 384 3 0 3 1 1 0 1 0 8 0 pfrule 1344 4 0 3 2 1 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 640 0 212 28 1 27 27 0 8 0 art_table 40 643 0 212 5 0 5 5 0 8 0 art_node 32 146 0 57 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 97 0 88 1 0 1 1 0 8 0 shmpl 112 24 0 5 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2657 0 1160 95 0 95 95 0 8 0 ffsino 256 2657 0 1160 95 0 95 95 0 8 0 nchpl 144 3618 0 1925 64 1 63 64 0 8 0 rtmask 32 3 0 3 2 1 1 1 0 8 1 vnodes 216 3117 0 0 174 0 174 174 0 8 0 namei 1024 11752 0 11751 2 1 1 2 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 3 0 3 2 1 1 1 0 8 1 scxspl 216 11120 0 11120 9 1 8 8 1 8 8 plimitpl 152 276 0 259 1 0 1 1 0 8 0 sigapl 424 990 0 927 8 0 8 8 0 8 0 knotepl 120 23878 0 23831 23 13 10 15 0 8 6 kqueuepl 184 262 0 252 4 0 4 4 0 8 3 pipepl 304 216 0 189 8 5 3 8 0 8 0 fdescpl 448 956 0 927 5 1 4 5 0 8 0 filepl 120 5448 0 5237 13 3 10 11 0 8 2 lockfpl 104 171 0 169 1 0 1 1 0 8 0 lockfspl 48 76 0 74 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 41 0 25 1 0 1 1 0 8 0 ucredpl 104 935 0 924 1 0 1 1 0 8 0 zombiepl 144 1065 0 1065 1 0 1 1 0 8 1 processpl 1152 990 0 927 5 0 5 5 0 8 0 procpl 664 1792 0 1722 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 552 1035 0 1007 10 5 5 8 0 8 2 mcl64k 65536 152 0 152 2 1 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3157 0 3103 13 6 7 13 0 8 0 mcl2k 2048 973 0 966 6 3 3 5 0 8 2 mtagpl 96 7 0 5 2 1 1 1 0 8 0 mbufpl 256 13602 0 13403 184 161 23 75 0 8 8 bufpl 280 3477 0 119 240 0 240 240 0 8 0 anonpl 24 168796 0 165765 64 20 44 45 0 187 20 amapchunkpl 152 25051 0 24646 37 11 26 31 0 158 9 amappl16 200 3312 0 3284 30 19 11 15 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 5 0 5 1 1 0 1 0 8 0 amappl13 176 423 0 421 1 0 1 1 0 8 0 amappl12 168 1310 0 1272 3 0 3 3 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 278 0 278 1 1 0 1 0 8 0 amappl8 136 76 0 75 1 0 1 1 0 8 0 amappl7 128 90 0 88 1 0 1 1 0 8 0 amappl6 120 288 0 275 1 0 1 1 0 8 0 amappl5 112 71 0 63 1 0 1 1 0 8 0 amappl4 104 400 0 372 1 0 1 1 0 8 0 amappl3 96 4315 0 4238 3 0 3 3 0 8 0 amappl2 88 1073 0 1003 2 0 2 2 0 8 0 amappl1 80 11619 0 11061 15 1 14 14 0 8 0 amappl 88 6858 0 6719 5 1 4 5 0 92 0 uvmvnodes 80 3117 0 0 64 0 64 64 0 8 0 dma32768 32768 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 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 26 0 5 1 0 1 1 0 8 0 uaddrrnd 24 956 0 927 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 956 0 927 1 0 1 1 0 8 0 vmmpekpl 168 9101 0 9066 2 0 2 2 0 8 0 vmmpepl 168 67503 0 65784 102 10 92 92 0 357 9 vmsppl 368 955 0 927 4 0 4 4 0 8 0 rwobjpl 40 23622 0 19620 41 0 41 41 0 8 0 pdppl 4096 1918 0 1854 100 32 68 80 0 8 4 pvpl 32 513566 0 504958 126 23 103 112 0 265 22 pmappl 216 955 0 927 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 559 0 217 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c9d4560,ffff80003a5319a0,ffff80003a5318f0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a5319a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a5319a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdebf9534170, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c9d4560,ffff80003a5319a0,ffff80003a5318f0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003a5319a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a5319a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdebf9534170, count: -3