CVE-2026-72156 (GCVE-0-2026-72156)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:53 – Updated: 2026-08-17 05:09
VLAI
Title
fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()
Summary
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 5f8d4a9008307e0bf210906948953386935d361c , < e45ec24d8e986d79a8e07f49a816c414ad283622 (git)
Affected: 5f8d4a9008307e0bf210906948953386935d361c , < 0d3766fecd9b2db39a18b48021c15c522997ec25 (git)
Affected: 5f8d4a9008307e0bf210906948953386935d361c , < a1baee24df72ec8fd1d6925c1d5162ffff4ee3bf (git)
Affected: 5f8d4a9008307e0bf210906948953386935d361c , < c9ef79e34bc1eac4fd59051e5c7b96a74e59d46f (git)
Affected: 5f8d4a9008307e0bf210906948953386935d361c , < 3da8eaf5469eda2353b72038d644fabddb848ce1 (git)
Affected: 5f8d4a9008307e0bf210906948953386935d361c , < 43a1974da6bc7ce8f4d1dc1d03d56997428c29c3 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.0
Unaffected: 0 , < 6.0 (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/fpga/microchip-spi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e45ec24d8e986d79a8e07f49a816c414ad283622",
              "status": "affected",
              "version": "5f8d4a9008307e0bf210906948953386935d361c",
              "versionType": "git"
            },
            {
              "lessThan": "0d3766fecd9b2db39a18b48021c15c522997ec25",
              "status": "affected",
              "version": "5f8d4a9008307e0bf210906948953386935d361c",
              "versionType": "git"
            },
            {
              "lessThan": "a1baee24df72ec8fd1d6925c1d5162ffff4ee3bf",
              "status": "affected",
              "version": "5f8d4a9008307e0bf210906948953386935d361c",
              "versionType": "git"
            },
            {
              "lessThan": "c9ef79e34bc1eac4fd59051e5c7b96a74e59d46f",
              "status": "affected",
              "version": "5f8d4a9008307e0bf210906948953386935d361c",
              "versionType": "git"
            },
            {
              "lessThan": "3da8eaf5469eda2353b72038d644fabddb848ce1",
              "status": "affected",
              "version": "5f8d4a9008307e0bf210906948953386935d361c",
              "versionType": "git"
            },
            {
              "lessThan": "43a1974da6bc7ce8f4d1dc1d03d56997428c29c3",
              "status": "affected",
              "version": "5f8d4a9008307e0bf210906948953386935d361c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/fpga/microchip-spi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.0"
            },
            {
              "lessThan": "6.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:09:16.408Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e45ec24d8e986d79a8e07f49a816c414ad283622"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d3766fecd9b2db39a18b48021c15c522997ec25"
        },
        {
          "url": "https://git.kernel.org/stable/c/a1baee24df72ec8fd1d6925c1d5162ffff4ee3bf"
        },
        {
          "url": "https://git.kernel.org/stable/c/c9ef79e34bc1eac4fd59051e5c7b96a74e59d46f"
        },
        {
          "url": "https://git.kernel.org/stable/c/3da8eaf5469eda2353b72038d644fabddb848ce1"
        },
        {
          "url": "https://git.kernel.org/stable/c/43a1974da6bc7ce8f4d1dc1d03d56997428c29c3"
        }
      ],
      "title": "fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72156",
    "datePublished": "2026-08-15T05:53:25.979Z",
    "dateReserved": "2026-08-09T03:40:39.909Z",
    "dateUpdated": "2026-08-17T05:09:16.408Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72156",
      "date": "2026-09-21",
      "epss": "0.00206",
      "percentile": "0.10942"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/fpga/microchip-spi.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "e45ec24d8e986d79a8e07f49a816c414ad283622",
                    "status": "affected",
                    "version": "5f8d4a9008307e0bf210906948953386935d361c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0d3766fecd9b2db39a18b48021c15c522997ec25",
                    "status": "affected",
                    "version": "5f8d4a9008307e0bf210906948953386935d361c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a1baee24df72ec8fd1d6925c1d5162ffff4ee3bf",
                    "status": "affected",
                    "version": "5f8d4a9008307e0bf210906948953386935d361c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c9ef79e34bc1eac4fd59051e5c7b96a74e59d46f",
                    "status": "affected",
                    "version": "5f8d4a9008307e0bf210906948953386935d361c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3da8eaf5469eda2353b72038d644fabddb848ce1",
                    "status": "affected",
                    "version": "5f8d4a9008307e0bf210906948953386935d361c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "43a1974da6bc7ce8f4d1dc1d03d56997428c29c3",
                    "status": "affected",
                    "version": "5f8d4a9008307e0bf210906948953386935d361c",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/fpga/microchip-spi.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.0"
                  },
                  {
                    "lessThan": "6.0",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.178",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.145",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.97",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.40",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2026-72156",
        "lastModified": "2026-08-17T06:18:15.820",
        "metrics": {},
        "published": "2026-08-15T06:21:33.373",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0d3766fecd9b2db39a18b48021c15c522997ec25"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3da8eaf5469eda2353b72038d644fabddb848ce1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/43a1974da6bc7ce8f4d1dc1d03d56997428c29c3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a1baee24df72ec8fd1d6925c1d5162ffff4ee3bf"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c9ef79e34bc1eac4fd59051e5c7b96a74e59d46f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e45ec24d8e986d79a8e07f49a816c414ad283622"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-18T13:35:02+00:00",
      "cve": "CVE-2026-72156",
      "id": "CVE-2026-72156",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72156.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T13:29:55Z",
      "cve": "CVE-2026-72156",
      "id": "CVE-2026-72156",
      "initial_release_date": "2026-08-31T13:29:55Z",
      "product_status:known_affected": "73",
      "product_status:known_not_affected": "289",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-72156",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-72156.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…