CVE Catalog

CVE-2026-89952

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, nand_flash_detect_ext_param_page() allocates memory based on the length declared in the ONFI parameter page, then reads the header and variable-length sections without verifying they fit within the allocation. This missing validation can lead to an out-of-bounds read. The fix rejects pages shorter than the fixed header, tracks the remaining variable area, and requires the ECC section to contain every field read from struct onfi_ext_ecc_info.

Risk Assessment

The vulnerability can cause an out-of-bounds read, potentially leaking kernel data or causing a system crash (panic). It affects systems with NAND flash devices handled by the MTD rawnand driver.

Recommendation

Update the Linux kernel to a version containing the fix that validates ONFI extended parameter page sections. If updating is not possible, consider restricting access to hardware with untrusted NAND modules.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS