CVE-2026-80639

cxl/test: Fix __fortify_panic

Published Aug 28, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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. ]

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-122
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

Type Values Removed Values Added
Weaknesses CWE-122
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
Weaknesses
  • CWE-805

    Buffer Access with Incorrect Length Value

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 28, 2026, 6:48 AM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 28, 2026, 8:16 AM
Modified
Aug 28, 2026, 8:16 AM
Severity
Low
Public date
Aug 28, 2026, 12:00 AM