CVE-2026-72156: fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()
In the Linux kernel, the following vulnerability has been resolved:
fpga: microchip-spi: fix zero headersize OOB read in mpfopsparseheader()
mpfopsparseheader() reads headersize from the bitstream at MPFHEADERSIZEOFFSET (24). When headersize is zero, the expression (buf + headersize - 1) reads one byte before the buffer start.
Since initialheadersize is set to 71 in mpfops, the fpga-mgr core guarantees the buffer is large enough to reach MPFHEADERSIZEOFFSET. The only real gap is the zero headersize case, which cannot be resolved by providing a larger buffer, so return -EINVAL.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72156?
CVE-2026-72156 has a severity score of 15, indicating a critical risk.
How do I fix CVE-2026-72156?
To fix CVE-2026-72156, ensure that you update your Linux kernel to a version that contains the patch for this vulnerability.
What does CVE-2026-72156 affect?
CVE-2026-72156 affects the FPGA subsystem in the Linux kernel, specifically the microchip-spi component.
Can CVE-2026-72156 lead to data leakage?
Yes, CVE-2026-72156 can potentially lead to an out-of-bounds read which may expose sensitive data.
How was CVE-2026-72156 discovered?
CVE-2026-72156 was discovered through code review of the mpf_ops_parse_header() function within the Linux kernel.