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. ]
Published: 2026-08-28
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel panic (Denial of Service)
Action: Apply Patch
AI Analysis

Impact

The cxl/test module in the Linux kernel contains a runtime assertion within the setup_xor_mapping() function that triggers the __fortify_panic path when the @nr_maps counter is not initialized early enough. The assertion was flagged as a potential buffer overflow on the xormaps array, but the fix introduces an earlier initialization of @nr_maps, preventing the false positive and the unnecessary kernel panic. This modification stabilizes kernel operation but does not add new functionality or security features.

Affected Systems

Linux kernel versions that contain the cxl/test module prior to the commit that initializes @nr_maps are vulnerable. The fix resides in the official kernel tree and is included in releases following the referenced commits; any kernel lacking this change may still load the vulnerable module.

Risk and Exploitability

The CVSS score of 5.5 denotes medium severity, while the EPSS score of < 1% indicates a very low probability of exploitation. It is not listed in CISA's KEV catalog. Based on the description, it is inferred that the vulnerability could be triggered during module initialization or load when a malformed state occurs, but no explicit exploit path is provided. The potential impact is system downtime from a kernel panic rather than code execution or data compromise.

Generated by OpenCVE AI on August 31, 2026 at 16:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the cxl/test module fix for __fortify_panic, ensuring @nr_maps is initialized before use.
  • Reboot the system after installing the updated kernel so that the patched module is loaded.
  • If the cxl_test module is not required, unload or disable it (e.g., rmmod cxl_test or remove it from the initramfs).
  • Optionally monitor kernel logs for remaining __fortify_panic messages to confirm complete remediation.

Generated by OpenCVE AI on August 31, 2026 at 16:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Mon, 31 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-805
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Fri, 28 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
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. ]
Title cxl/test: Fix __fortify_panic
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:48:52.045Z

Reserved: 2026-08-26T14:34:25.777Z

Link: CVE-2026-80639

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:48.813

Modified: 2026-08-28T08:16:48.813

Link: CVE-2026-80639

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-28T00:00:00Z

Links: CVE-2026-80639 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T16:15:08Z

Weaknesses
  • CWE-805

    Buffer Access with Incorrect Length Value