← Back to CVE Explorer

CVE-2026-89954

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: afs: validate v2 image info bounds The AFS v2 parser uses footer[8] to locate the image information block inside the current erase block, then uses the image information region_count to walk entries from a fixed local array. The footer offset and region count come from flash contents and are not checked against the erase block or the local image-info array before use. Reject v2 entries whose image information offset would underflow the erase block calculation, and reject region counts that cannot fit in the local image-info array before walking region entries.

Severity
HIGH
CVSS score
8.0 (v3.1)
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:17:05.667000
Last modified
2026-10-19 09:18:41.450000
View original CVE JSON
{
  "id": "CVE-2026-89954",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-16T11:17:05.667",
  "lastModified": "2026-10-19T09:18:41.450",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: afs: validate v2 image info bounds\n\nThe AFS v2 parser uses footer[8] to locate the image information block\ninside the current erase block, then uses the image information\nregion_count to walk entries from a fixed local array. The footer offset\nand region count come from flash contents and are not checked against the\nerase block or the local image-info array before use.\n\nReject v2 entries whose image information offset would underflow the\nerase block calculation, and reject region counts that cannot fit in the\nlocal image-info array before walking region entries."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/mtd/parsers/afs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "1bec05a68414cf8d0cab6cb42445b8603f32ffc4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "3ad8ff12fd44b08af9212ac4883a7e29d2ab7348",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "875daa3c750814ff2e2dc050239c390048f0bcd0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "da740539e8f370767317e24615349b9342a6e773",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "1edea8900ca3e405c1421d8b5c29f97107874f72",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "18916f475057cbd2fb8ea6ae86e6b85884ad1d53",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "d14e6298139f58a87a87d7022e26a7f37f0ddce7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b7cf5e2830bbb128699d7635ce8404b7f605bc95",
              "lessThan": "e9290031f736e99ad17c25c00311c92c266843b7",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/mtd/parsers/afs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.2",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.2",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "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",
              "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:L/A:H",
          "baseScore": 8.0,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "LOW",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.5,
        "impactScore": 5.5
      }
    ]
  },
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/18916f475057cbd2fb8ea6ae86e6b85884ad1d53",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/1bec05a68414cf8d0cab6cb42445b8603f32ffc4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/1edea8900ca3e405c1421d8b5c29f97107874f72",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3ad8ff12fd44b08af9212ac4883a7e29d2ab7348",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/875daa3c750814ff2e2dc050239c390048f0bcd0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d14e6298139f58a87a87d7022e26a7f37f0ddce7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/da740539e8f370767317e24615349b9342a6e773",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e9290031f736e99ad17c25c00311c92c266843b7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}