CVE-2026-68293

Source
https://cve.org/CVERecord?id=CVE-2026-68293
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68293.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68293
Downstream
Published
2026-08-10T12:02:26.414Z
Modified
2026-08-12T04:18:47.616496402Z
Summary
net/mlx5: Fix MCIA register buffer overflow on 32 dword reads
Details

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 mcia32dwords capability, but struct mlx5ifcmciaregbits only defines dword0..11, leaving room for just 12 dwords (48 bytes) of data.

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

detected buffer overflow in memcpy kernel BUG at lib/stringhelpers.c:1048! RIP: 0010:fortifypanic+0x13/0x20 Call Trace: mlx5querymcia.isra.0+0x200/0x210 [mlx5core] mlx5querymoduleeeprombypage+0x4a/0xa0 [mlx5core] mlx5egetmoduleeeprombypage+0xbb/0x120 [mlx5core] eeprompreparedata+0xf3/0x170 ethnldefault_doit+0xf1/0x3b0

Extend the mcia_reg layout to 32 dwords.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68293.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
271907ee2f29cd1078fd219f0778fd824fb1971c
Fixed
5be4eebd5a3a198dab0adcd550e1cadca79bdfed
Fixed
87b39a8c875ca744b7de69af0a8ef8874cffccf1
Fixed
88b2a16ddac3357e3f1d528e758b51e2c945d546
Fixed
11c057d23465c7a5817a7284c896d19d54c0b616

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68293.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68293.json"