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

CVE-2026-72487 (GCVE-0-2026-72487)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:57 – Updated: 2026-08-17 05:44
VLAI
Title
PCI: Check ROM header and data structure addr before accessing
Summary
In the Linux kernel, the following vulnerability has been resolved: PCI: Check ROM header and data structure addr before accessing We meet a crash when running stress-ng on x86_64 machine: BUG: unable to handle page fault for address: ffa0000007f40000 RIP: 0010:pci_get_rom_size+0x52/0x220 Call Trace: <TASK> pci_map_rom+0x80/0x130 pci_read_rom+0x4b/0xe0 kernfs_file_read_iter+0x96/0x180 vfs_read+0x1b1/0x300 Our analysis reveals that the ROM space's start address is 0xffa0000007f30000, and size is 0x10000. Because of broken ROM space, before calling readl(pds), the pds's value is 0xffa0000007f3ffff, which is already pointed to the ROM space end, invoking readl() would read 4 bytes therefore cause an out-of-bounds access and trigger a crash. Fix this by adding image header and data structure checking. We also found another crash on arm64 machine: Unable to handle kernel paging request at virtual address ffff8000dd1393ff Mem abort info: ESR = 0x0000000096000021 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x21: alignment fault The call trace is the same with x86_64, but the crash reason is that the data structure addr is not aligned with 4, and arm64 machine report "alignment fault". Fix this by adding alignment checking. [bhelgaas: shorten function names, wrap comments]
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 47b975d234eac39f3a72e5496d5f6158d8b806d1 , < cd5b242d5848369b9e957340a7e30adee7b6763d (git)
Affected: 47b975d234eac39f3a72e5496d5f6158d8b806d1 , < 4997873e3abbad47a9e1e4abd05f045f77a74f22 (git)
Affected: 47b975d234eac39f3a72e5496d5f6158d8b806d1 , < 724042f8f98d2594b9d164549fd4292c6bd58120 (git)
Affected: 47b975d234eac39f3a72e5496d5f6158d8b806d1 , < 1d495446ec7ace5b61da366ffb161ee8319dd9a2 (git)
Affected: 47b975d234eac39f3a72e5496d5f6158d8b806d1 , < 721ad5b72448b5065ed309017ab563205f162404 (git)
Affected: 47b975d234eac39f3a72e5496d5f6158d8b806d1 , < 538796b807fcfb81b2ce40cc97a614fd8588feb5 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.5
Unaffected: 0 , < 4.5 (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/pci/rom.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cd5b242d5848369b9e957340a7e30adee7b6763d",
              "status": "affected",
              "version": "47b975d234eac39f3a72e5496d5f6158d8b806d1",
              "versionType": "git"
            },
            {
              "lessThan": "4997873e3abbad47a9e1e4abd05f045f77a74f22",
              "status": "affected",
              "version": "47b975d234eac39f3a72e5496d5f6158d8b806d1",
              "versionType": "git"
            },
            {
              "lessThan": "724042f8f98d2594b9d164549fd4292c6bd58120",
              "status": "affected",
              "version": "47b975d234eac39f3a72e5496d5f6158d8b806d1",
              "versionType": "git"
            },
            {
              "lessThan": "1d495446ec7ace5b61da366ffb161ee8319dd9a2",
              "status": "affected",
              "version": "47b975d234eac39f3a72e5496d5f6158d8b806d1",
              "versionType": "git"
            },
            {
              "lessThan": "721ad5b72448b5065ed309017ab563205f162404",
              "status": "affected",
              "version": "47b975d234eac39f3a72e5496d5f6158d8b806d1",
              "versionType": "git"
            },
            {
              "lessThan": "538796b807fcfb81b2ce40cc97a614fd8588feb5",
              "status": "affected",
              "version": "47b975d234eac39f3a72e5496d5f6158d8b806d1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/rom.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "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": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Check ROM header and data structure addr before accessing\n\nWe meet a crash when running stress-ng on x86_64 machine:\n\n  BUG: unable to handle page fault for address: ffa0000007f40000\n  RIP: 0010:pci_get_rom_size+0x52/0x220\n  Call Trace:\n  \u003cTASK\u003e\n    pci_map_rom+0x80/0x130\n    pci_read_rom+0x4b/0xe0\n    kernfs_file_read_iter+0x96/0x180\n    vfs_read+0x1b1/0x300\n\nOur analysis reveals that the ROM space\u0027s start address is\n0xffa0000007f30000, and size is 0x10000. Because of broken ROM space,\nbefore calling readl(pds), the pds\u0027s value is 0xffa0000007f3ffff, which is\nalready pointed to the ROM space end, invoking readl() would read 4 bytes\ntherefore cause an out-of-bounds access and trigger a crash.  Fix this by\nadding image header and data structure checking.\n\nWe also found another crash on arm64 machine:\n\n  Unable to handle kernel paging request at virtual address ffff8000dd1393ff\n  Mem abort info:\n  ESR = 0x0000000096000021\n  EC = 0x25: DABT (current EL), IL = 32 bits\n  SET = 0, FnV = 0\n  EA = 0, S1PTW = 0\n  FSC = 0x21: alignment fault\n\nThe call trace is the same with x86_64, but the crash reason is that the\ndata structure addr is not aligned with 4, and arm64 machine report\n\"alignment fault\". Fix this by adding alignment checking.\n\n[bhelgaas: shorten function names, wrap comments]"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The flaw is reached only through local kernel paths\u2014sysfs rom reads, VFIO PCI ROM region access, or pci_map_rom() during driver probe\u2014not via any network-facing handler.\nAC:L - An attacker fully controls option-ROM header fields on a malicious or broken PCI device and can reliably craft pointers/lengths that place MMIO reads at the ROM window edge to trigger the fault.\nPR:N - Exploitation requires no OS privileges when a crafted option ROM on a hot-plugged PCIe/Thunderbolt device is parsed during automatic driver probe; VFIO ROM access also needs only standard device file permissions.\nUI:N - No victim interaction is required beyond attacker-initiated local ROM access or automatic kernel parsing when a malicious PCI device is inserted and bound to a driver.\nS:U - The impact is a kernel page fault/panic within the host kernel from malformed ROM parsing; it does not cross VM, IOMMU, or other security boundaries.\nC:H - pci_get_rom_size() performs unchecked readw/readl on attacker-controlled offsets, causing out-of-bounds MMIO reads past the ioremap window before faulting (CWE-125).\nI:N - The bug is an out-of-bounds read that faults immediately; it does not modify kernel memory, device state, or provide a write/control-flow primitive.\nA:H - Confirmed kernel crashes on x86_64 (page fault) and arm64 (alignment fault) when parsing malformed ROM data, causing denial of service via kernel oops/panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:44:48.915Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cd5b242d5848369b9e957340a7e30adee7b6763d"
        },
        {
          "url": "https://git.kernel.org/stable/c/4997873e3abbad47a9e1e4abd05f045f77a74f22"
        },
        {
          "url": "https://git.kernel.org/stable/c/724042f8f98d2594b9d164549fd4292c6bd58120"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d495446ec7ace5b61da366ffb161ee8319dd9a2"
        },
        {
          "url": "https://git.kernel.org/stable/c/721ad5b72448b5065ed309017ab563205f162404"
        },
        {
          "url": "https://git.kernel.org/stable/c/538796b807fcfb81b2ce40cc97a614fd8588feb5"
        }
      ],
      "title": "PCI: Check ROM header and data structure addr before accessing",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72487",
    "datePublished": "2026-08-15T05:57:23.490Z",
    "dateReserved": "2026-08-09T03:40:39.936Z",
    "dateUpdated": "2026-08-17T05:44:48.915Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72487",
      "date": "2026-09-04",
      "epss": "0.0018",
      "percentile": "0.07642"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-72487\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:22:22.973\",\"lastModified\":\"2026-08-17T06:19:16.913\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nPCI: Check ROM header and data structure addr before accessing\\n\\nWe meet a crash when running stress-ng on x86_64 machine:\\n\\n  BUG: unable to handle page fault for address: ffa0000007f40000\\n  RIP: 0010:pci_get_rom_size+0x52/0x220\\n  Call Trace:\\n  \u003cTASK\u003e\\n    pci_map_rom+0x80/0x130\\n    pci_read_rom+0x4b/0xe0\\n    kernfs_file_read_iter+0x96/0x180\\n    vfs_read+0x1b1/0x300\\n\\nOur analysis reveals that the ROM space\u0027s start address is\\n0xffa0000007f30000, and size is 0x10000. Because of broken ROM space,\\nbefore calling readl(pds), the pds\u0027s value is 0xffa0000007f3ffff, which is\\nalready pointed to the ROM space end, invoking readl() would read 4 bytes\\ntherefore cause an out-of-bounds access and trigger a crash.  Fix this by\\nadding image header and data structure checking.\\n\\nWe also found another crash on arm64 machine:\\n\\n  Unable to handle kernel paging request at virtual address ffff8000dd1393ff\\n  Mem abort info:\\n  ESR = 0x0000000096000021\\n  EC = 0x25: DABT (current EL), IL = 32 bits\\n  SET = 0, FnV = 0\\n  EA = 0, S1PTW = 0\\n  FSC = 0x21: alignment fault\\n\\nThe call trace is the same with x86_64, but the crash reason is that the\\ndata structure addr is not aligned with 4, and arm64 machine report\\n\\\"alignment fault\\\". Fix this by adding alignment checking.\\n\\n[bhelgaas: shorten function names, wrap comments]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/pci/rom.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"47b975d234eac39f3a72e5496d5f6158d8b806d1\",\"lessThan\":\"cd5b242d5848369b9e957340a7e30adee7b6763d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"47b975d234eac39f3a72e5496d5f6158d8b806d1\",\"lessThan\":\"4997873e3abbad47a9e1e4abd05f045f77a74f22\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"47b975d234eac39f3a72e5496d5f6158d8b806d1\",\"lessThan\":\"724042f8f98d2594b9d164549fd4292c6bd58120\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"47b975d234eac39f3a72e5496d5f6158d8b806d1\",\"lessThan\":\"1d495446ec7ace5b61da366ffb161ee8319dd9a2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"47b975d234eac39f3a72e5496d5f6158d8b806d1\",\"lessThan\":\"721ad5b72448b5065ed309017ab563205f162404\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"47b975d234eac39f3a72e5496d5f6158d8b806d1\",\"lessThan\":\"538796b807fcfb81b2ce40cc97a614fd8588feb5\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/pci/rom.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.5\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.5\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"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\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H\",\"baseScore\":7.7,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.5,\"impactScore\":5.2}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1d495446ec7ace5b61da366ffb161ee8319dd9a2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4997873e3abbad47a9e1e4abd05f045f77a74f22\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/538796b807fcfb81b2ce40cc97a614fd8588feb5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/721ad5b72448b5065ed309017ab563205f162404\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/724042f8f98d2594b9d164549fd4292c6bd58120\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cd5b242d5848369b9e957340a7e30adee7b6763d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-01T10:36:46+00:00",
      "cve": "CVE-2026-72487",
      "id": "CVE-2026-72487",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: PCI: Check ROM header and data structure addr before accessing",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72487.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…