CVE Feed
— Unscored

In the Linux kernel, the following vulnerability has been resolved: cxl/features: Ensure that count is set before access to ent[]…

CVE-2026-99795

In the Linux kernel, the following vulnerability has been resolved: cxl/features: Ensure that count is set before access to ent[] countedby() getsupportedfeatures() assigns entries->numfeatures only after the memcpy() loop that fills entries->ent[] has already run. Since ent[] is countedby(numfeatures), the compiler's bounds instrumentation sees a 0-length array during that loop and FORTIFYSOURCE trips on the memcpy. Set @numfeatures right after allocation, before any write into ent[], so the bound is correct for the whole lifetime of the array. This was found via a fortify panic: memcpy: detected buffer overflow: 384 byte write of buffer size 0 WARNING: lib/stringhelpers.c:1035 at fortifyreport+0x54/0xa0 kernel BUG at lib/stringhelpers.c:1043! Call trace: fortifypanic+0x10/0x18 getsupportedfeatures.isra.0+0x4a0/0x4d0 [cxlcore] devmcxlsetupfeatures+0x84/0x120 [cxlcore] cxlpciprobe+0x254/0x5e0 [cxlpci] Same class of bug, same fix shape as commit 6c9d2e87df40 ("cxl/fwctl: Fix fortifypanic"), which fixed the analogous issue in cxlctlgetsupportedfeatures() but missed this one. [ dj: Fixed up title typo per Jonathan. ]

Assessment

CVSS
Not yet scored
Severity
Unscored
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
20 November 2026
Last updated
20 November 2026
Affected
Linux · Linux
Assigner
Linux

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-99795