Skip to content
Heist/ feed
Back to feed
UnratedFix available

mtd: rawnand: validate ONFI extended parameter page sections

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: validate ONFI extended parameter page sections nand_flash_detect_ext_param_page() allocates the length declared by the ONFI parameter page, then treats the data as a fixed header followed by variable-length sections. It reads that header and advances over sections without first proving that the fixed page and each current section fit in the allocation. Reject pages shorter than the fixed header, track the remaining variable area while walking sections, and require the ECC section to contain every field read from struct onfi_ext_ecc_info. Use device-scoped diagnostics that identify the malformed ONFI section.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.270, 5.15.221, 6.1.188, 6.12.110, 6.18.51, 6.6.157, 7.2.5
CVEs
CVE-2026-89952
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:35 UTC · Revision 1

Source evidence

mtd: rawnand: validate ONFI extended parameter page sections

core-osv · Original source

Published 16 Sept 2026, 10:32 UTC

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: validate ONFI extended parameter page sections nand_flash_detect_ext_param_page() allocates the length declared by the ONFI parameter page, then treats the data as a fixed header followed by variable-length sections. It reads that header and advances over sections without first proving that the fixed page and each current section fit in the allocation. Reject pages shorter than the fixed header, track the remaining variable area while walking sections, and require the ECC section to contain every field read from struct onfi_ext_ecc_info. Use device-scoped diagnostics that identify the malformed ONFI section.

osv:CVE-2026-89952

Kernel

Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5

Complete source record
{
  "id": "f98eb36d36c95a8e215092cfb61852a695ff2f25abc5f7f17e2fbe899e52cc31",
  "url": "https://osv.dev/vulnerability/CVE-2026-89952",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mtd: rawnand: validate ONFI extended parameter page sections",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: validate ONFI extended parameter page sections nand_flash_detect_ext_param_page() allocates the length declared by the ONFI parameter page, then treats the data as a fixed header followed by variable-length sections. It reads that header and advances over sections without first proving that the fixed page and each current section fit in the allocation. Reject pages shorter than the fixed header, track the remaining variable area while walking sections, and require the ECC section to contain every field read from struct onfi_ext_ecc_info. Use device-scoped diagnostics that identify the malformed ONFI section.",
    "evidence": "osv:CVE-2026-89952",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-89952",
      "aliases": [
        "CVE-2026-89952"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6dcbe0cdd83fb5f77be4f44c9e06c535281c375a"
                },
                {
                  "fixed": "1bf148fabe6463422195b7cc43b3412533f1dc21"
                },
                {
                  "fixed": "c7df90bbda71549bfd981bf478ad04ddfccf4e0d"
                },
                {
                  "fixed": "86948f81964e40cd6472d76a6371e4f297d84db0"
                },
                {
                  "fixed": "ddb6ddf5be7429bb98b3368c883be51f00b31678"
                },
                {
                  "fixed": "12a63a0f0d17b2d26211b2524ded91a67dd5c99c"
                },
                {
                  "fixed": "c8f86e375b39cada09fd8cb33dd3bb3641e84a62"
                },
                {
                  "fixed": "23e747fe585830c43095c37c85b2757231c6917f"
                },
                {
                  "fixed": "e5e415262330bd70f983e091d8919d9dcd99e475"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89952.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.12.0"
                },
                {
                  "fixed": "5.10.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89952.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.268697540Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/12a63a0f0d17b2d26211b2524ded91a67dd5c99c",
        "https://git.kernel.org/stable/c/1bf148fabe6463422195b7cc43b3412533f1dc21",
        "https://git.kernel.org/stable/c/23e747fe585830c43095c37c85b2757231c6917f",
        "https://git.kernel.org/stable/c/86948f81964e40cd6472d76a6371e4f297d84db0",
        "https://git.kernel.org/stable/c/c7df90bbda71549bfd981bf478ad04ddfccf4e0d",
        "https://git.kernel.org/stable/c/c8f86e375b39cada09fd8cb33dd3bb3641e84a62",
        "https://git.kernel.org/stable/c/ddb6ddf5be7429bb98b3368c883be51f00b31678",
        "https://git.kernel.org/stable/c/e5e415262330bd70f983e091d8919d9dcd99e475",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89952.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89952",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89952.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89952",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 521012,
  "published_at": "2026-09-16T10:32:36.91+00:00"
}