# CVE-2026-80640: cxl/fwctl: Fix __fortify_panic

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-28T06:48:52.650Z
- Modified: 2026-08-28T08:16:48.910Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cxl/fwctl: Fix __fortify_panic

Fix a runtime assertion in cxlctl_get_supported_features(). Fortify
complains that it is potentially overflowing the entries array per
__counted_by_le(num_entries). Quiet the false positive by initializing
@num_entries earlier.

 memcpy: detected buffer overflow: 48 byte write of buffer size 0
 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398
 RIP: 0010:__fortify_report+0x50/0xa0
 Call Trace:
  __fortify_panic+0xd/0xf
  cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]

(As written by CVE List.)

## Affected

- Linux Linux: from 4d1c09cef2c244bd19467c016a3e56ba28ecc59d before b8d15e85596ad8993d42e0703a9741961a2f03eb; from 4d1c09cef2c244bd19467c016a3e56ba28ecc59d before 18c67ecc5dafe14055edcea53f36f4e31df1816b; from 4d1c09cef2c244bd19467c016a3e56ba28ecc59d before 6c9d2e87df40d606f1c85143e9acb1ecff463d5e; 6.15 (not affected: before 6.15; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/b8d15e85596ad8993d42e0703a9741961a2f03eb>
- <https://git.kernel.org/stable/c/18c67ecc5dafe14055edcea53f36f4e31df1816b>
- <https://git.kernel.org/stable/c/6c9d2e87df40d606f1c85143e9acb1ecff463d5e>

## Sources

- CVE List: [CVE-2026-80640](https://www.cve.org/CVERecord?id=CVE-2026-80640), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-80640](https://nvd.nist.gov/vuln/detail/CVE-2026-80640), Public domain, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-80640 · Whole record: https://cve.day/CVE-2026-80640.json · Rebuilt by cve.day 2026-11-25T22:59:35.597Z
