# CVE-2026-80639: cxl/test: 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-08-28T06:48:52.045Z
- Modified: 2026-08-28T08:16:48.813Z
- Assigned by: Linux

## Description

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

cxl/test: Fix __fortify_panic

Fix a runtime assertion in setup_xor_mapping(). Fortify complains that it
is potentially overflowing the xormaps array per __counted_by(nr_maps).
Quiet the false positive by initializing @nr_maps earlier.

 memcpy: detected buffer overflow: 32 byte write of buffer size 0
 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#8: modprobe/2728
 Call Trace:
  __fortify_panic+0xd/0xf
  setup_xor_mapping+0x6c/0xa0 [cxl_translate]

[ dj: Fixed up @nr_entries to @nr_maps in commit log. ]

(As written by CVE List.)

## Affected

- Linux Linux: from 06377c54a133621d61fa76cdcea85077c5b958f4 before 8c4f27a7f364eab514d2fa55c11f39d505122f1b; from 06377c54a133621d61fa76cdcea85077c5b958f4 before 08326b92c7a414a73b5b308d1daf0e91e0134dfc; 6.19 (not affected: before 6.19; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/8c4f27a7f364eab514d2fa55c11f39d505122f1b>
- <https://git.kernel.org/stable/c/08326b92c7a414a73b5b308d1daf0e91e0134dfc>

## Sources

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

---

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