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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < 1bf148fabe6463422195b7cc43b3412533f1dc21affected6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < c7df90bbda71549bfd981bf478ad04ddfccf4e0daffected6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < 86948f81964e40cd6472d76a6371e4f297d84db0affected6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < ddb6ddf5be7429bb98b3368c883be51f00b31678affected6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < 12a63a0f0d17b2d26211b2524ded91a67dd5c99caffected6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < c8f86e375b39cada09fd8cb33dd3bb3641e84a62affected6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < 23e747fe585830c43095c37c85b2757231c6917faffected6dcbe0cdd83fb5f77be4f44c9e06c535281c375a to < e5e415262330bd70f983e091d8919d9dcd99e475affected
Linux Linux
Default version status: affected
3.12affected0 to < 3.12unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/1bf148fabe6463422195b7cc43b3412533f1dc21 ↗
- https://git.kernel.org/stable/c/c7df90bbda71549bfd981bf478ad04ddfccf4e0d ↗
- https://git.kernel.org/stable/c/86948f81964e40cd6472d76a6371e4f297d84db0 ↗
- https://git.kernel.org/stable/c/ddb6ddf5be7429bb98b3368c883be51f00b31678 ↗
- https://git.kernel.org/stable/c/12a63a0f0d17b2d26211b2524ded91a67dd5c99c ↗
- https://git.kernel.org/stable/c/c8f86e375b39cada09fd8cb33dd3bb3641e84a62 ↗
- https://git.kernel.org/stable/c/23e747fe585830c43095c37c85b2757231c6917f ↗
- https://git.kernel.org/stable/c/e5e415262330bd70f983e091d8919d9dcd99e475 ↗