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

fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()

mpf_ops_parse_header() reads header_size from the bitstream at
MPF_HEADER_SIZE_OFFSET (24). When header_size is zero, the expression
*(buf + header_size - 1) reads one byte before the buffer start.

Since initial_header_size is set to 71 in mpf_ops, the fpga-mgr core
guarantees the buffer is large enough to reach MPF_HEADER_SIZE_OFFSET.
The only real gap is the zero header_size case, which cannot be
resolved by providing a larger buffer, so return -EINVAL.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

mpf_ops_parse_header() in the Linux fpga:microchip‑spi driver reads the header_size field from a bitstream offset. When the value is zero, the calculation *(buf + header_size - 1) reads a byte one position before the buffer start, causing an out‑of‑bounds read that can expose arbitrary kernel memory. The flaw does not modify device state or execute code, but it allows information disclosure, and it is classified as CWE‑125.

Affected Systems

Any Linux kernel that includes the unpatched fpga:microchip‑spi driver is vulnerable. This includes standard distribution kernels and custom builds that have not applied the commit adding the zero‑header_size guard. The kernel version range is unspecified, so any build before the operating commit is impacted.

Risk and Exploitability

The CVSS score of 5.5 denotes moderate severity, and the EPSS score of less than 1% indicates a very low probability of exploitation in typical production environments. The vulnerability is not listed in CISA’s KEV catalog. Exploit requires a crafted FPGA bitstream processed by the driver, implying a local or privileged attack vector. While the vulnerability alone only leaks data, it could serve as a foothold for further compromise if an attacker gains access to sensitive kernel memory.

Generated by OpenCVE AI on August 22, 2026 at 12:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix which returns -EINVAL when header_size is zero (merge the commit that adds the out‑of‑bounds read guard).
  • Reboot or reload the fpga:microchip‑spi kernel module to apply the updated driver.
  • If an immediate kernel upgrade is not feasible, disable the fpga:microchip‑spi driver by setting `options fpga_mpf disable=1` in the module configuration or removing the module from the system to prevent the vulnerable routine from executing.

Generated by OpenCVE AI on August 22, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-787

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

Type Values Removed Values Added
Weaknesses CWE-125
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

Moderate


Sat, 15 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-787

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header() mpf_ops_parse_header() reads header_size from the bitstream at MPF_HEADER_SIZE_OFFSET (24). When header_size is zero, the expression *(buf + header_size - 1) reads one byte before the buffer start. Since initial_header_size is set to 71 in mpf_ops, the fpga-mgr core guarantees the buffer is large enough to reach MPF_HEADER_SIZE_OFFSET. The only real gap is the zero header_size case, which cannot be resolved by providing a larger buffer, so return -EINVAL.
Title fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()
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:09:16.408Z

Reserved: 2026-08-09T03:40:39.909Z

Link: CVE-2026-72156

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:33.373

Modified: 2026-08-17T06:18:15.820

Link: CVE-2026-72156

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-72156 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T13:00:07Z

Weaknesses