mtd: rawnand: validate ONFI extended parameter page sections
Published Sep 16, 2026
No CVSS score
EPSS 0.21%
Description
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.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.12StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.12
- Version 5.10.270StatusunaffectedConstraints<=5.10.*
- Version 5.15.221StatusunaffectedConstraints<=5.15.*
- Version 6.1.188StatusunaffectedConstraints<=6.1.*
- Version 6.12.110StatusunaffectedConstraints<=6.12.*
- Version 6.18.51StatusunaffectedConstraints<=6.18.*
- Version 6.6.157StatusunaffectedConstraints<=6.6.*
- Version 7.2.5StatusunaffectedConstraints<=7.2.*
- Version 7.3-rc1StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (8)
- 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
Change history (0)
No recorded changes yet.