CVE-2026-80640

cxl/fwctl: 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/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]

Analysis

AI-generated

Technical impact

A runtime assertion in the Linux kernel’s CXL firmware controller driver was flagged by Fortify as a potential buffer overflow. The code path referenced the variable @num_entries before it was initialized, creating a false positive warning. The vulnerability does not represent a real memory corruption or privilege escalation; it merely suppresses a defensive check and does not alter functional behavior.

Affected Systems

All Linux kernel builds that contain the cxl/fwctl driver before the commit introducing the fix rely on the uninitialized variable, causing the Fortify warning. Kernel packages built after that commit include the corrected initialization and suppress the warning. The affected components are the kernel CXL firmware controller module (cxl/fwctl).

Risk and Exploitability

The CVSS score of 5.5 reflects a low to medium impact threshold typical for a false positive, but does not correspond to an exploitable flaw. The EPSS score indicates a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Analysts infer that the likely attack vector would require local privileged access to load or trigger the affected driver, but even then no direct memory corruption or data leakage can be achieved. The lack of a real vulnerability means attack avenues are effectively nil until source code changes introduce a genuine flaw.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the cxl/fwctl: Fix __fortify_panic commit, which initializes @num_entries and suppresses the false Fortify warning.
  • If an update is not immediately possible, rebuild the kernel with the CXL firmware controller disabled by setting CONFIG_CXL_FWCTL to n to eliminate the problematic code path.
  • If the driver is loaded as a module, block its loading by adding "blacklist cxl" to /etc/modprobe.d/blacklist.conf or by removing the module from the initramfs.

Generated by OpenCVE AI on September 2, 2026 at 06:13 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-119
Type Values Removed Values Added
Weaknesses CWE-120
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-119
Type Values Removed Values Added
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]
Title cxl/fwctl: 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-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

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