CVE-2026-99795
cxl/features: Ensure that count is set before access to ent[] __counted_by()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < 63714fa4033b51ce615be6f083be0b19847d0d1e; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < deb8b87c027db150de626a5808f648b1e52d90a1; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < c1031c2474f73261d8d5e4deef2b5dc20fb964f5
- Anyone running Linux 6.15
Vulnerability facts
- Affected
- Linux >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < 63714fa4033b51ce615be6f083be0b19847d0d1e; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < deb8b87c027db150de626a5808f648b1e52d90a1; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < c1031c2474f73261d8d5e4deef2b5dc20fb964f5; Linux 6.15
- Fixed in
- Linux 63714fa4033b51ce615be6f083be0b19847d0d1e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: cxl/features: Ensure that count is set before access to ent[] __counted_by() get_supported_features() assigns entries->num_features only after the memcpy() loop that fills entries->ent[] has already run. Since ent[] is __counted_by(num_features), the compiler's bounds instrumentation sees a 0-length array during that loop and FORTIFY_SOURCE trips on the memcpy. Set @num_features 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/string_helpers.c:1035 at __fortify_report+0x54/0xa0 kernel BUG at lib/string_helpers.c:1043! Call trace: __fortify_panic+0x10/0x18 get_supported_features.isra.0+0x4a0/0x4d0 [cxl_core] devm_cxl_setup_features+0x84/0x120 [cxl_core] cxl_pci_probe+0x254/0x5e0 [cxl_pci] Same class of bug, same fix shape as commit 6c9d2e87df40 ("cxl/fwctl: Fix __fortify_panic"), which fixed the analogous issue in cxlctl_get_supported_features() but missed this one. [ dj: Fixed up title typo per Jonathan. ]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < 63714fa4033b51ce615be6f083be0b19847d0d1e; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < deb8b87c027db150de626a5808f648b1e52d90a1; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < c1031c2474f73261d8d5e4deef2b5dc20fb964f5 | — | cvelist |
| Linux | 6.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99795. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99795.md Affected: Linux >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < 63714fa4033b51ce615be6f083be0b19847d0d1e; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < deb8b87c027db150de626a5808f648b1e52d90a1; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < c1031c2474f73261d8d5e4deef2b5dc20fb964f5; Linux 6.15 Fixed in: Linux 63714fa4033b51ce615be6f083be0b19847d0d1e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-99795 being exploited?
There is no confirmed exploitation: CVE-2026-99795 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99795?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99795?
Linux >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < 63714fa4033b51ce615be6f083be0b19847d0d1e; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < deb8b87c027db150de626a5808f648b1e52d90a1; >= f0e6a2329bf9d44138be2163370ae9537cbdaf74, < c1031c2474f73261d8d5e4deef2b5dc20fb964f5; Linux 6.15.
Is there a fix for CVE-2026-99795?
Yes. Fixed in Linux 63714fa4033b51ce615be6f083be0b19847d0d1e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99795?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |