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: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability in the Linux kernel’s fpga:microchip-spi driver routine mpf_ops_parse_header() causes an out‑of‑bounds read when the header size read from the bitstream is zero. The parser then accesses a byte before the start of the buffer, which can expose arbitrary kernel data to a reader. This flaw arises from insufficient input validation of the header_size field and represents a classic OOB read weakness.

Affected Systems

The flaw affects Linux kernel builds that incorporate the fpga:microchip-spi driver without the published patch. All distributions relying on the default driver in the kernel tree are susceptible until the kernel is upgraded to a revised version that returns -EINVAL for a zero header_size.

Risk and Exploitability

While there is no EPSS score or CVSS rating reported, the vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploitation yet. An attacker would need to supply a crafted bitstream that the fpga-mgr core processes, meaning the attack vector is likely local or requires privileged access to the FPGA subsystem. As reading kernel memory may lead to information disclosure or facilitate further privilege escalation, the risk is considered moderate pending patch deployment.

Generated by OpenCVE AI on August 15, 2026 at 09:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to the latest release that includes the mpf_ops_parse_header zero‑header_size check.
  • Restart the affected system so the updated driver is loaded.
  • If an immediate kernel update is not possible, disable the microchip‑spi FPGA driver or restrict access to the FPGA bitstream loader to prevent untrusted input from reaching the driver.

Generated by OpenCVE AI on August 15, 2026 at 09:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-15T05:53:25.979Z

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-15T06:21:33.373

Link: CVE-2026-72156

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T09:30:04Z

Weaknesses