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]
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel the CXL firmware controller driver contained a code path in cxlctl_get_supported_features() that could overflow the entries array when the num_entries variable was not initialized. The oversight would allow a 48‑byte write to a zero‑length buffer, exposing kernel memory to arbitrary writes. The patch initializes num_entries earlier and silences the fortify warning, thereby eliminating the memory corruption risk. Historically, the flaw could have been leveraged by a local attacker with sufficient permissions to invoke the driver and achieve privilege escalation through kernel memory manipulation.

Affected Systems

Linux kernel, all releases prior to the commit that introduces the fix. Distribution kernel packages built before the patch include the vulnerable code; kernels released after the commit contain the corrected implementation in the cxl/fwctl driver.

Risk and Exploitability

The vulnerability is a classic buffer overflow (CWE‑119). No CVSS score is provided, but the exploit would require local access to the CXL firmware controller and could lead to full kernel compromise. With EPSS not available, the likelihood of exploitation is uncertain, and the vulnerability is not listed in CISA KEV, suggesting no publicly known exploitation at the time of analysis. When present, the flaw remains exploitable through local privilege escalation; attackers would need the ability to execute code that interacts with the cxlctl interface.

Generated by OpenCVE AI on August 28, 2026 at 09:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the cxl/fwctl patch; vendor‑supplied security updates should contain the fix.
  • If a kernel update is not yet available, disable the CXL firmware controller driver by removing it from the boot configuration or unbinding the module with `rmmod cxl` or `modprobe -r cxl` and ensuring it is not loaded on startup.
  • Validate that the driver is no longer in use by checking `lsmod | grep cxl` and verifying the absence of entries under `/sys/bus/cxl/devices/`. Reboot after changes to guarantee the vulnerable module is not loaded.

Generated by OpenCVE AI on August 28, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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/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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

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

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

Link: CVE-2026-80640

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-80640

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T11:00:11Z

Weaknesses

No weakness.