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(ffff80003a506d28,ffff80002a8b31c0,ffff80002a8b3110) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80002a8b31c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8b31c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31e6b143ae0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a8b30f0 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0xfd9892c209f57eab r11 0x817566726b00aa96 r12 0 r13 0xfffffd806c554850 r14 0xffff80002a8b31c0 r15 0 rip 0xffffffff815da725 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a8b3000 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=100512 pid=33424 tcnt=3 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=0xffff80003a5062c8,0xffff80003a507268 process=0xffff8000ffff9b18 user=0xffff80002a8ae000, vmspace=0xfffffd80709e9460 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 33424 423139 27915 0 2 0 syz-executor *33424 100512 27915 0 7 0x4000000 syz-executor 33424 254803 27915 0 3 0x4000080 fsleep syz-executor 21013 394860 31614 0 3 0x80 fsleep syz-executor 21013 114805 31614 0 3 0x4000080 ttyout syz-executor 37634 103431 68128 0 3 0x80 fsleep syz-executor 37634 166398 68128 0 3 0x4000080 rest syz-executor 57322 365176 12263 0 3 0x80 fsleep syz-executor 57322 49422 12263 0 3 0x4000080 kqread syz-executor 79802 21105 35649 0 3 0x80 fsleep syz-executor 79802 218285 35649 0 3 0x4000080 ttyopn syz-executor 20779 292018 53986 0 3 0x80 fsleep syz-executor 20779 103154 53986 0 3 0x4000080 kqsel syz-executor 51911 468143 0 0 3 0x14280 nfsidl nfsio 29751 3491 0 0 3 0x14280 nfsidl nfsio 96708 238940 0 0 3 0x14280 nfsidl nfsio 74720 394476 0 0 3 0x14280 nfsidl nfsio 87091 14897 0 0 3 0x14280 nfsidl nfsio 49537 40822 0 0 3 0x14280 nfsidl nfsio 87219 303353 0 0 3 0x14280 nfsidl nfsio 48797 512298 0 0 3 0x14280 nfsidl nfsio 27707 297112 0 0 3 0x14280 nfsidl nfsio 24823 371119 0 0 3 0x14280 nfsidl nfsio 69333 470907 0 0 3 0x14280 nfsidl nfsio 56762 519064 0 0 3 0x14280 nfsidl nfsio 52055 244732 0 0 3 0x14280 nfsidl nfsio 91679 523614 0 0 3 0x14280 nfsidl nfsio 29647 214492 0 0 3 0x14280 nfsidl nfsio 60860 203765 0 0 3 0x14280 nfsidl nfsio 94706 362980 0 0 3 0x14280 nfsidl nfsio 50064 100794 0 0 3 0x14280 nfsidl nfsio 98373 270153 0 0 3 0x14280 nfsidl nfsio 91569 344783 0 0 3 0x14280 nfsidl nfsio 53986 246970 75290 0 3 0x82 nanoslp syz-executor 94007 133207 75290 0 2 0x2 syz-executor 35649 162619 75290 0 3 0x82 nanoslp syz-executor 27915 298744 75290 0 3 0x82 nanoslp syz-executor 68128 372554 75290 0 2 0xc82 syz-executor 31614 302238 75290 0 2 0xc82 syz-executor 12263 375109 75290 0 3 0x82 nanoslp syz-executor 70257 497764 75290 0 2 0x2 syz-executor 75290 467619 5564 0 3 0x82 kqread syz-executor 5564 117981 81613 0 3 0x10008a sigsusp ksh 81613 423013 88400 0 3 0x98 kqread sshd-session 88400 14967 53358 0 3 0x92 kqread sshd-session 77719 262965 1 0 3 0x100083 ttyopn getty 53358 294892 1 0 3 0x88 kqread sshd 73961 101014 36789 73 3 0x1100090 kqread syslogd 36789 489015 1 0 3 0x100082 sbwait syslogd 55842 83123 1 0 3 0x100080 kqread resolvd 57831 61766 54890 77 3 0x100092 kqread dhcpleased 61842 78636 54890 77 3 0x100092 kqread dhcpleased 54890 29592 1 0 3 0x80 kqread dhcpleased 71625 436585 0 0 3 0x14200 bored smr 21468 416773 0 0 2 0x14200 zerothread 95892 420723 0 0 3 0x14200 aiodoned aiodoned 65692 507232 0 0 3 0x14200 syncer update 39021 224915 0 0 3 0x14200 cleaner cleaner 17143 331007 0 0 3 0x14200 reaper reaper 41542 343630 0 0 3 0x14200 pgdaemon pagedaemon 11369 182028 0 0 3 0x14200 bored viomb 53551 212271 0 0 3 0x40014200 acpi0 acpi0 28419 422007 0 0 3 0x14200 bored softnet0 76759 385284 0 0 3 0x14200 bored systqmp 59714 335701 0 0 3 0x14200 bored systq 62022 212924 0 0 3 0x40014200 tmoslp softclock 42590 504132 0 0 3 0x40014200 idle0 1 121850 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 11066 12117K 13394K 166960K 15269 0 pcb 20 18K 20K 166960K 527 0 rtable 265 12K 12K 166960K 609 0 pf 34 13K 16K 166960K 189 0 ifaddr 44 8K 9K 166960K 122 0 ifgroup 53 2K 2K 166960K 195 0 sysctl 3 1K 9K 166960K 11 0 counters 33 17K 18K 166960K 204 0 ioctlops 0 0K 8K 166960K 410 0 iov 0 0K 24K 166960K 186 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1455 91K 92K 166960K 3046 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 17 21K 21K 166960K 83 0 dirhash 12 2K 2K 166960K 102 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 1478 0 sigio 0 0K 0K 166960K 81 0 proc 60 59K 116K 166960K 641 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 233 0 in_multi 99 7K 7K 166960K 155 0 ether_multi 1 0K 0K 166960K 9 0 mrt 1 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 2K 166960K 709 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 24 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 207 150K 166K 166960K 14585 0 UVM aobj 40 12K 12K 166960K 45 0 pinsyscall 37 74K 96K 166960K 2611 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 127 0 NDP 11 0K 2K 166960K 90 0 temp 103 9076K 9140K 166960K 33123 0 kqueue 13 20K 30K 166960K 198 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 225 0 222 2 1 1 2 0 8 0 rtentry 136 178 0 71 4 0 4 4 0 8 0 unpcb 144 791 0 776 9 5 4 6 0 8 3 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 330 0 324 3 1 2 2 0 8 1 arp 96 23 0 4 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 328 1407 0 1394 15 5 10 10 0 8 8 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 37 0 7 1 0 1 1 0 8 0 pkpcb 40 76 0 76 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 161 0 161 2 1 1 1 0 8 1 pppxif 1384 4 0 4 2 1 1 1 0 8 1 pfstscr 40 8 0 8 1 0 1 1 0 8 1 pffrag 232 4 0 1 1 0 1 1 0 482 0 pffrnode 88 4 0 1 1 0 1 1 0 8 0 pffrent 40 6 0 3 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 320 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 19 0 17 1 0 1 1 0 8 0 pfstate 384 10 0 9 1 0 1 1 0 8 0 pfrule 1360 18 0 17 1 0 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 637 0 215 31 1 30 31 0 8 3 art_table 40 640 0 215 5 0 5 5 0 8 0 art_node 32 178 0 82 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 78 0 64 1 0 1 1 0 8 0 shmpl 112 39 0 5 1 0 1 1 0 8 0 dirhash 1024 77 0 60 3 0 3 3 0 8 0 dino2pl 256 4181 0 2724 92 0 92 92 0 8 0 ffsino 256 4181 0 2724 92 0 92 92 0 8 0 nchpl 144 6043 0 4346 64 0 64 64 0 8 0 rtmask 32 18 0 18 2 1 1 1 0 8 1 vnodes 216 5276 0 0 294 0 294 294 0 8 0 namei 1024 19863 0 19862 5 2 3 3 0 8 2 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 808 3 0 0 1 0 1 1 0 8 0 kstatmem 264 136 0 114 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 27871 0 27871 9 7 2 8 1 8 2 plimitpl 152 245 0 229 1 0 1 1 0 8 0 sigapl 424 1786 0 1725 9 1 8 8 0 8 0 knotepl 120 65420 0 65373 29 19 10 16 0 8 6 kqueuepl 184 489 0 478 7 3 4 4 0 8 3 pipepl 304 312 0 285 13 5 8 8 0 8 5 fdescpl 448 1751 0 1723 5 1 4 5 0 8 0 filepl 120 10358 0 10140 20 4 16 16 0 8 8 lockfpl 104 596 0 592 1 0 1 1 0 8 0 lockfspl 48 236 0 232 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 68 0 52 1 0 1 1 0 8 0 ucredpl 104 1468 0 1457 1 0 1 1 0 8 0 zombiepl 144 2037 0 2037 1 0 1 1 0 8 1 processpl 1152 1786 0 1725 5 0 5 5 0 8 0 procpl 664 3734 0 3666 8 0 8 8 0 8 1 sosppl 176 7 0 7 2 1 1 1 0 8 1 sockpl 552 2573 0 2542 24 13 11 15 0 8 8 mcl64k 65536 150 0 150 1 0 1 1 0 8 1 mcl16k 16384 57 0 57 2 1 1 1 0 8 1 mcl12k 12288 7 0 7 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 2 1 1 1 0 8 1 mcl8k 8192 95 0 95 2 1 1 1 0 8 1 mcl4k 4096 4805 0 4752 15 7 8 15 0 8 0 mcl2k2 2112 25 0 25 2 1 1 1 0 8 1 mcl2k 2048 1219 0 1216 4 3 1 4 0 8 0 mtagpl 96 18 0 10 1 0 1 1 0 8 0 mbufpl 256 18876 0 18697 16 2 14 16 0 8 0 bufpl 280 8070 0 1855 445 0 445 445 0 8 0 anonpl 24 237626 0 234568 67 21 46 46 0 187 14 amapchunkpl 152 49627 0 49202 39 10 29 30 0 158 10 amappl16 200 4121 0 4091 30 17 13 16 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 431 0 430 1 0 1 1 0 8 0 amappl13 176 121 0 111 1 0 1 1 0 8 0 amappl12 168 2011 0 1984 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 258 0 258 2 1 1 1 0 8 1 amappl8 136 109 0 108 1 0 1 1 0 8 0 amappl7 128 146 0 135 1 0 1 1 0 8 0 amappl6 120 174 0 172 1 0 1 1 0 8 0 amappl5 112 88 0 80 1 0 1 1 0 8 0 amappl4 104 265 0 248 1 0 1 1 0 8 0 amappl3 96 10244 0 10144 4 0 4 4 0 8 0 amappl2 88 518 0 464 2 0 2 2 0 8 0 amappl1 80 14638 0 14093 13 1 12 13 0 8 0 amappl 88 13632 0 13487 5 0 5 5 0 92 0 uvmvnodes 80 161 0 0 4 0 4 4 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 dma512 512 1 0 1 1 0 1 1 0 8 1 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 44 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1751 0 1723 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1751 0 1723 1 0 1 1 0 8 0 vmmpekpl 168 14374 0 14335 3 0 3 3 0 8 0 vmmpepl 168 111976 0 110255 98 6 92 92 0 357 4 vmsppl 368 1750 0 1723 4 1 3 4 0 8 0 rwobjpl 40 29181 0 28149 15 1 14 14 0 8 0 pdppl 4096 3514 0 3449 117 48 69 82 0 8 4 pvpl 32 771964 0 763326 159 36 123 123 0 265 27 pmappl 216 1753 0 1723 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 404 0 72 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003a506d28,ffff80002a8b31c0,ffff80002a8b3110) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80002a8b31c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8b31c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31e6b143ae0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003a506d28,ffff80002a8b31c0,ffff80002a8b3110) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80002a8b31c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8b31c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31e6b143ae0, count: -3