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

net/mlx5: Fix MCIA register buffer overflow on 32 dword reads

The MCIA register can return up to 32 dwords (128 bytes) when the device
advertises the mcia_32dwords capability, but struct
mlx5_ifc_mcia_reg_bits only defines dword_0..11, leaving room for just
12 dwords (48 bytes) of data.

mlx5_query_mcia() clamps the read size to mlx5_mcia_max_bytes() and then
memcpy()s that many bytes out of the register, potentially reading past
the end of the 'out' buffer. On kernels built with FORTIFY_SOURCE this
is caught as a buffer overflow while reading the module EEPROM via
ethtool:

detected buffer overflow in memcpy
kernel BUG at lib/string_helpers.c:1048!
RIP: 0010:fortify_panic+0x13/0x20
Call Trace:
mlx5_query_mcia.isra.0+0x200/0x210 [mlx5_core]
mlx5_query_module_eeprom_by_page+0x4a/0xa0 [mlx5_core]
mlx5e_get_module_eeprom_by_page+0xbb/0x120 [mlx5_core]
eeprom_prepare_data+0xf3/0x170
ethnl_default_doit+0xf1/0x3b0

Extend the mcia_reg layout to 32 dwords.
Published: 2026-08-10
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the Linux mlx5 driver when querying the MCIA register. The register can supply up to 128 bytes, but the driver structure only allocates space for 48 bytes. When the driver copies the register contents into this insufficiently sized buffer, it may read beyond the buffer’s bounds, triggering a kernel BUG. This kernel over‑read can corrupt memory and lead to a kernel panic, resulting in a loss of service for the system. The bug is only exposed when an application reads the MCU using ethtool or a privileged userland utility that accesses the device. No direct escape to higher privileges or data leakage is documented in the advisory.

Affected Systems

The flaw resides in the Linux kernel’s mlx5 networking stack and affects any Linux system that includes the mlx5 driver with the mcia_32dwords capability. The affected kernel package is not version‑specific in the advisories; therefore all kernels containing the legacy mlx5 driver are potentially vulnerable until the fix is applied.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium severity vulnerability. The EPSS score is < 1%, suggesting a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog, so public exploitation evidence is lacking. The attack is likely to require privileged access via ethtool or other privileged userland utilities that query MCIA registers. Once executed, the kernel handles the overflow with a BUG, which typically leads to a system crash and loss of availability. Although the exploitation conditions are not trivially met, the impact of a successful exploit is high, warranting immediate remediation.

Generated by OpenCVE AI on August 14, 2026 at 02:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the corrected MLX5 MCIA register layout.
  • If a kernel upgrade is not immediately possible, disable or remove the mlx5 driver to prevent MCIA queries from reaching the kernel state that triggers the overflow.
  • Maintain monitoring of system logs for kernel BUG messages indicating an MCIA over‑read and apply the patch as soon as it becomes available.

Generated by OpenCVE AI on August 14, 2026 at 02:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Fri, 14 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Mon, 10 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
CWE-125

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix MCIA register buffer overflow on 32 dword reads The MCIA register can return up to 32 dwords (128 bytes) when the device advertises the mcia_32dwords capability, but struct mlx5_ifc_mcia_reg_bits only defines dword_0..11, leaving room for just 12 dwords (48 bytes) of data. mlx5_query_mcia() clamps the read size to mlx5_mcia_max_bytes() and then memcpy()s that many bytes out of the register, potentially reading past the end of the 'out' buffer. On kernels built with FORTIFY_SOURCE this is caught as a buffer overflow while reading the module EEPROM via ethtool: detected buffer overflow in memcpy kernel BUG at lib/string_helpers.c:1048! RIP: 0010:fortify_panic+0x13/0x20 Call Trace: mlx5_query_mcia.isra.0+0x200/0x210 [mlx5_core] mlx5_query_module_eeprom_by_page+0x4a/0xa0 [mlx5_core] mlx5e_get_module_eeprom_by_page+0xbb/0x120 [mlx5_core] eeprom_prepare_data+0xf3/0x170 ethnl_default_doit+0xf1/0x3b0 Extend the mcia_reg layout to 32 dwords.
Title net/mlx5: Fix MCIA register buffer overflow on 32 dword reads
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-17T05:02:29.111Z

Reserved: 2026-07-30T09:28:09.380Z

Link: CVE-2026-68293

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:18.693

Modified: 2026-08-17T05:18:31.967

Link: CVE-2026-68293

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-68293 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T02:45:03Z

Weaknesses
  • CWE-120

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