All reports
Medium

kernel: mtd: rawnand: validate ONFI extended parameter page sections

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89952

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-23

Description

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.

A flaw was found in the Linux kernel's mtd: rawnand component. The nand_flash_detect_ext_param_page() function fails to validate if the fixed page and subsequent variable-length sections of an ONFI (Open NAND Flash Interface) extended parameter page fit within the allocated memory. This improper validation could lead to memory corruption when processing a specially crafted ONFI extended parameter page.