GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-72158 (GCVE-0-2026-72158)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:53 – Updated: 2026-08-17 05:09
VLAI
Title
fpga: dfl: add bounds check in dfh_get_param_size()
Summary
In the Linux kernel, the following vulnerability has been resolved: fpga: dfl: add bounds check in dfh_get_param_size() dfh_get_param_size() can return a parameter size larger than the feature region because the loop bounds check is evaluated before incrementing size. If the EOP (End of Parameters) bit is set in the same iteration, the inflated size is returned without re-validation against max. This can cause create_feature_instance() to call memcpy_fromio() with a size exceeding the ioremap'd region when a malicious FPGA device provides crafted DFHv1 parameter headers. Add a bounds check after the size increment to ensure the accumulated size never exceeds the feature boundary.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 4747ab89b4a652f835494fcf8342aaa0efb9b0fd , < b2f6220e929b2a43605331d0139e65dc1640c05c (git)
Affected: 4747ab89b4a652f835494fcf8342aaa0efb9b0fd , < 3b622aa447cf26104f96a8be39539367863bc6b6 (git)
Affected: 4747ab89b4a652f835494fcf8342aaa0efb9b0fd , < 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 (git)
Affected: 4747ab89b4a652f835494fcf8342aaa0efb9b0fd , < f3df5386e3bb54626c117bd85e0158d45fb4aea9 (git)
Affected: 4747ab89b4a652f835494fcf8342aaa0efb9b0fd , < 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.3
Unaffected: 0 , < 6.3 (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/dfl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b2f6220e929b2a43605331d0139e65dc1640c05c",
              "status": "affected",
              "version": "4747ab89b4a652f835494fcf8342aaa0efb9b0fd",
              "versionType": "git"
            },
            {
              "lessThan": "3b622aa447cf26104f96a8be39539367863bc6b6",
              "status": "affected",
              "version": "4747ab89b4a652f835494fcf8342aaa0efb9b0fd",
              "versionType": "git"
            },
            {
              "lessThan": "012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68",
              "status": "affected",
              "version": "4747ab89b4a652f835494fcf8342aaa0efb9b0fd",
              "versionType": "git"
            },
            {
              "lessThan": "f3df5386e3bb54626c117bd85e0158d45fb4aea9",
              "status": "affected",
              "version": "4747ab89b4a652f835494fcf8342aaa0efb9b0fd",
              "versionType": "git"
            },
            {
              "lessThan": "9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a",
              "status": "affected",
              "version": "4747ab89b4a652f835494fcf8342aaa0efb9b0fd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/fpga/dfl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "status": "unaffected",
              "version": "0",
              "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.6.145",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfpga: dfl: add bounds check in dfh_get_param_size()\n\ndfh_get_param_size() can return a parameter size larger than the feature\nregion because the loop bounds check is evaluated before incrementing\nsize. If the EOP (End of Parameters) bit is set in the same iteration,\nthe inflated size is returned without re-validation against max.\n\nThis can cause create_feature_instance() to call memcpy_fromio() with a\nsize exceeding the ioremap\u0027d region when a malicious FPGA device provides\ncrafted DFHv1 parameter headers.\n\nAdd a bounds check after the size increment to ensure the accumulated\nsize never exceeds the feature boundary."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:09:18.602Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c"
        },
        {
          "url": "https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68"
        },
        {
          "url": "https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9"
        },
        {
          "url": "https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a"
        }
      ],
      "title": "fpga: dfl: add bounds check in dfh_get_param_size()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72158",
    "datePublished": "2026-08-15T05:53:27.454Z",
    "dateReserved": "2026-08-09T03:40:39.909Z",
    "dateUpdated": "2026-08-17T05:09:18.602Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72158",
      "date": "2026-09-05",
      "epss": "0.002",
      "percentile": "0.09872"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-72158\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:21:33.617\",\"lastModified\":\"2026-08-17T06:18:16.040\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfpga: dfl: add bounds check in dfh_get_param_size()\\n\\ndfh_get_param_size() can return a parameter size larger than the feature\\nregion because the loop bounds check is evaluated before incrementing\\nsize. If the EOP (End of Parameters) bit is set in the same iteration,\\nthe inflated size is returned without re-validation against max.\\n\\nThis can cause create_feature_instance() to call memcpy_fromio() with a\\nsize exceeding the ioremap\u0027d region when a malicious FPGA device provides\\ncrafted DFHv1 parameter headers.\\n\\nAdd a bounds check after the size increment to ensure the accumulated\\nsize never exceeds the feature boundary.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/fpga/dfl.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4747ab89b4a652f835494fcf8342aaa0efb9b0fd\",\"lessThan\":\"b2f6220e929b2a43605331d0139e65dc1640c05c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4747ab89b4a652f835494fcf8342aaa0efb9b0fd\",\"lessThan\":\"3b622aa447cf26104f96a8be39539367863bc6b6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4747ab89b4a652f835494fcf8342aaa0efb9b0fd\",\"lessThan\":\"012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4747ab89b4a652f835494fcf8342aaa0efb9b0fd\",\"lessThan\":\"f3df5386e3bb54626c117bd85e0158d45fb4aea9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4747ab89b4a652f835494fcf8342aaa0efb9b0fd\",\"lessThan\":\"9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/fpga/dfl.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.3\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.3\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-18T14:32:31+00:00",
      "cve": "CVE-2026-72158",
      "id": "CVE-2026-72158",
      "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: dfl: add bounds check in dfh_get_param_size()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72158.json",
      "version": "3"
    }
  }
}



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…

Loading…