{"id":"CVE-2026-72156","summary":"fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()\n\nmpf_ops_parse_header() reads header_size from the bitstream at\nMPF_HEADER_SIZE_OFFSET (24). When header_size is zero, the expression\n*(buf + header_size - 1) reads one byte before the buffer start.\n\nSince initial_header_size is set to 71 in mpf_ops, the fpga-mgr core\nguarantees the buffer is large enough to reach MPF_HEADER_SIZE_OFFSET.\nThe only real gap is the zero header_size case, which cannot be\nresolved by providing a larger buffer, so return -EINVAL.","modified":"2026-08-18T03:31:04.996928580Z","published":"2026-08-15T05:53:25.979Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72156.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0d3766fecd9b2db39a18b48021c15c522997ec25"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3da8eaf5469eda2353b72038d644fabddb848ce1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/43a1974da6bc7ce8f4d1dc1d03d56997428c29c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a1baee24df72ec8fd1d6925c1d5162ffff4ee3bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9ef79e34bc1eac4fd59051e5c7b96a74e59d46f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e45ec24d8e986d79a8e07f49a816c414ad283622"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72156.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72156"},{"type":"PACKAGE","url":"https://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":"5f8d4a9008307e0bf210906948953386935d361c"},{"fixed":"e45ec24d8e986d79a8e07f49a816c414ad283622"},{"fixed":"0d3766fecd9b2db39a18b48021c15c522997ec25"},{"fixed":"a1baee24df72ec8fd1d6925c1d5162ffff4ee3bf"},{"fixed":"c9ef79e34bc1eac4fd59051e5c7b96a74e59d46f"},{"fixed":"3da8eaf5469eda2353b72038d644fabddb848ce1"},{"fixed":"43a1974da6bc7ce8f4d1dc1d03d56997428c29c3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72156.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72156.json"}}],"schema_version":"1.9.0"}