{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-90341",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-90341"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "firmware: coreboot: Validate table bounds",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: coreboot: Validate table bounds\n\nThe existing coreboot_table_populate() bounds checks limit individual\nentries to the mapped length.  However, coreboot_table_probe() replaces\nthe platform resource length with header and table sizes supplied by\nfirmware before mapping the full table.\n\nA malformed table can overflow the 32-bit size addition or advertise an\nextent beyond the resource, causing the driver to map and parse memory\noutside the resource.  A resource shorter than the fixed header is also\nmapped as though it contained a complete header.\n\nReject resources shorter than the fixed header.  After validating the\nsignature, require a complete header, calculate the advertised extent\nwith overflow checking, and reject extents beyond the resource before\nremapping the table.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-90341"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3cca0d6dd4c2636d2514234233cb02db76621607"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f79f621215a0944c4a0e1b3b86b99e433ae8c527"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d848fac90c6f0566e7b93066b0b86024f65f395e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/88027241c1d2c3213bac937a1c2cb89a5775a413"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fd93859ecfa5b6495a6863c18fd923a7666def26"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2d98a3b89394f283f054a4a54587c14ee89acaf9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e82f260a74dea8cdd7857f2cc66f73d0da522bb3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a58a57a1076f8c5dae0327e3710899478c3be901"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-18T17:55:42Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.7,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The triggering fields are header->header_bytes and header->table_bytes in the LBIO table, read by coreboot_table_probe() after platform_get_resource(pdev, IORESOURCE_MEM, 0) from ACPI GOOGCB00/BOOT0000 _CRS or the OF /firmware/coreboot reg; those bytes come from firmware, not a network protocol message.\nAC:L - coreboot_table_probe() replaces resource_size(res) with the u32 sum header_bytes+table_bytes before memremap() and coreboot_table_populate(); firmware that sets that sum past the ACPI/DT window, or a resource shorter than sizeof(*header), hits the over-map on every bind with no race.\nPR:N - coreboot_table_probe() is the coreboot_table platform_driver probe from subsys_initcall, with no capable() or credential check; a malformed LBIO header at the GOOGCB00/coreboot MEM resource is parsed automatically, so no Linux account or user-namespace capability is required.\nUI:N - Binding the GOOGCB00/BOOT0000 or compatible=\"coreboot\" platform device calls coreboot_table_probe() during boot or module load; the oversized memremap() happens on that probe with no mount, open, or other victim action.\nS:U - The oversized memremap() in coreboot_table_probe() and the memcpy() in coreboot_table_populate() stay in this kernel's coreboot table parser; this is not a KVM/Xen guest-to-host, IOMMU, or sandbox boundary crossing.\nC:H - memremap(res->start, header_bytes+table_bytes) then coreboot_table_populate() memcpy's each entry->size from that mapping into a kmalloc'd coreboot_device; table_bytes is an unconstrained u32, so this is an unbounded over-read of physical memory past the ACPI/DT resource, not a few-byte leak.\nI:N - coreboot_table_populate() copies into kzalloc(sizeof(device->dev)+entry->size) using the same entry->size already checked against the (oversize) mapping, so the destination matches the copy; this path has no out-of-bounds write or control-flow hijack primitive.\nA:H - try_ram_remap() in memremap() returns __va(res->start) after checking only the first pfn, so populate's walk of a table_bytes that extends past the reserved coreboot table/CBMEM window can fault on a linear-map hole or mixed RAM/MMIO range and oops or panic."
    }
  }
}
