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

CVE-2026-89904 (GCVE-0-2026-89904)

Vulnerability from cvelistv5 – Published: 2026-09-16 10:32 – Updated: 2026-09-16 14:39
VLAI
Title
LoongArch: Fix acpi_package_ids[] array overflow
Summary
In the Linux kernel, the following vulnerability has been resolved: LoongArch: Fix acpi_package_ids[] array overflow With LoongArch virt machine, a typical setting is one core per socket, there will max 256 sockets (packages) on one VM. With PPTT acpi table, array acpi_package_ids[] will be overflowed. Here change the array size of acpi_package_ids[] with the max value of MAX_PACKAGES and KVM_MAX_VCPUS.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f18992be262d6515c94bf4bf6ce7598135076771 , < 0195e04b1eec8fb00e2db9c5e55655a3f5e76f60 (git)
Affected: 4427a33faabb4b81511b99dfee18ce0a38b5b5df , < d3fd094c13c6d0b74f246461ca4cf427d539c8e8 (git)
Affected: 4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7 , < 6311b8c471afa33c18adbe4eb16f862936b71ca3 (git)
Affected: 4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7 , < 2a2367d46d7a4ee4122b7a86e57125542dbbe963 (git)
Affected: 496bc868d9066e034787aa14b8ad6c23e77b51ef (git)
Affected: 6.12.101 , < 6.12.110 (semver)
Affected: 6.18.42 , < 6.18.51 (semver)
Affected: 7.1.6 , < 7.2 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 7.2
Unaffected: 0 , < 7.2 (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.51 , ≤ 6.18.* (semver)
Unaffected: 7.2.5 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/loongarch/kernel/acpi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0195e04b1eec8fb00e2db9c5e55655a3f5e76f60",
              "status": "affected",
              "version": "f18992be262d6515c94bf4bf6ce7598135076771",
              "versionType": "git"
            },
            {
              "lessThan": "d3fd094c13c6d0b74f246461ca4cf427d539c8e8",
              "status": "affected",
              "version": "4427a33faabb4b81511b99dfee18ce0a38b5b5df",
              "versionType": "git"
            },
            {
              "lessThan": "6311b8c471afa33c18adbe4eb16f862936b71ca3",
              "status": "affected",
              "version": "4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7",
              "versionType": "git"
            },
            {
              "lessThan": "2a2367d46d7a4ee4122b7a86e57125542dbbe963",
              "status": "affected",
              "version": "4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "496bc868d9066e034787aa14b8ad6c23e77b51ef",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.110",
              "status": "affected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.51",
              "status": "affected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThan": "7.2",
              "status": "affected",
              "version": "7.1.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/loongarch/kernel/acpi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.2"
            },
            {
              "lessThan": "7.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "6.12.101",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "6.18.42",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "7.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "7.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "7.1.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Fix acpi_package_ids[] array overflow\n\nWith LoongArch virt machine, a typical setting is one core per socket,\nthere will max 256 sockets (packages) on one VM. With PPTT acpi table,\narray acpi_package_ids[] will be overflowed.\n\nHere change the array size of acpi_package_ids[] with the max value of\nMAX_PACKAGES and KVM_MAX_VCPUS."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.4,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The overflow is in parse_acpi_topology(), called from loongson_prepare_cpus() during smp_prepare_cpus() as the kernel consumes the firmware or VMM ACPI PPTT table at boot; there is no network, adjacent-network, or USB path into this parser.\nAC:L - A LoongArch virt machine with the typical one-core-per-socket layout can expose up to 256 packages (KVM_MAX_VCPUS) against acpi_package_ids[MAX_PACKAGES] (16 entries); each new PPTT package ID is stored via acpi_package_ids[acpi_nr_packages++] with no bounds check, so the overflow is deterministic with no race.\nPR:N - PPTT is parsed automatically during SMP bring-up with no capable() check, Linux login, or syscall. A hypervisor-generated virt-machine table or supply-chain/evil-maid firmware with more than 16 unique packages triggers the write without any account or user-namespace privilege.\nUI:N - The out-of-bounds write runs as part of ordinary kernel_init_freeable() SMP setup before userspace starts; no victim mount, file open, or other interactive action is required.\nS:U - The write corrupts kernel BSS and related globals inside the same kernel that parsed PPTT. This is not a KVM guest-to-host escape, sandbox breakout, or IOMMU/DMA authority crossing.\nC:H - Firmware-controlled 32-bit topology IDs are written past acpi_package_ids[] into adjacent kernel BSS, and the later canonicalization loop also reads past the array. Per memory-corruption guidance that is High confidentiality, not a bounded few-byte leak.\nI:H - This is a direct out-of-bounds write of firmware-controlled ints past a 16-entry static array (up to hundreds of stores on large VMs). Out-of-bounds writes score High because they can smash adjacent BSS, including function pointers, and enable control-flow hijack.\nA:H - Smashing kernel BSS during SMP bring-up can oops, panic, or prevent boot. Canonicalized package IDs \u003e= MAX_PACKAGES also index loongson3_cpufreq\u0027s cpufreq_mutex[MAX_PACKAGES] out of bounds, causing further crashes."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-16T14:39:54.093Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0195e04b1eec8fb00e2db9c5e55655a3f5e76f60"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3fd094c13c6d0b74f246461ca4cf427d539c8e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/6311b8c471afa33c18adbe4eb16f862936b71ca3"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a2367d46d7a4ee4122b7a86e57125542dbbe963"
        }
      ],
      "title": "LoongArch: Fix acpi_package_ids[] array overflow",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89904",
    "datePublished": "2026-09-16T10:32:03.752Z",
    "dateReserved": "2026-09-11T19:38:34.774Z",
    "dateUpdated": "2026-09-16T14:39:54.093Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89904",
      "date": "2026-09-17",
      "epss": "0.0018",
      "percentile": "0.0785"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-89904\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-16T11:16:59.380\",\"lastModified\":\"2026-09-16T15:18:16.567\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nLoongArch: Fix acpi_package_ids[] array overflow\\n\\nWith LoongArch virt machine, a typical setting is one core per socket,\\nthere will max 256 sockets (packages) on one VM. With PPTT acpi table,\\narray acpi_package_ids[] will be overflowed.\\n\\nHere change the array size of acpi_package_ids[] with the max value of\\nMAX_PACKAGES and KVM_MAX_VCPUS.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"arch/loongarch/kernel/acpi.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"f18992be262d6515c94bf4bf6ce7598135076771\",\"lessThan\":\"0195e04b1eec8fb00e2db9c5e55655a3f5e76f60\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4427a33faabb4b81511b99dfee18ce0a38b5b5df\",\"lessThan\":\"d3fd094c13c6d0b74f246461ca4cf427d539c8e8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7\",\"lessThan\":\"6311b8c471afa33c18adbe4eb16f862936b71ca3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7\",\"lessThan\":\"2a2367d46d7a4ee4122b7a86e57125542dbbe963\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"496bc868d9066e034787aa14b8ad6c23e77b51ef\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.12.101\",\"lessThan\":\"6.12.110\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.18.42\",\"lessThan\":\"6.18.51\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"7.1.6\",\"lessThan\":\"7.2\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"arch/loongarch/kernel/acpi.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"7.2\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"7.2\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.110\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.51\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.5\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"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:H/A:H\",\"baseScore\":8.4,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.5,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0195e04b1eec8fb00e2db9c5e55655a3f5e76f60\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2a2367d46d7a4ee4122b7a86e57125542dbbe963\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6311b8c471afa33c18adbe4eb16f862936b71ca3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3fd094c13c6d0b74f246461ca4cf427d539c8e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-17T16:35:28Z",
      "cve": "CVE-2026-89904",
      "id": "CVE-2026-89904",
      "initial_release_date": "2026-09-17T16:35:28Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-89904",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-89904.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…