mtd: rawnand: validate ONFI extended parameter page sections
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e5e415262330bd70f983e091d8919d9dcd99e475, Kernel 12a63a0f0d17b2d26211b2524ded91a67dd5c99c, Kernel 1bf148fabe6463422195b7cc43b3412533f1dc21 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <e5e415262330bd70f983e091d8919d9dcd99e475, >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <12a63a0f0d17b2d26211b2524ded91a67dd5c99c, >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <1bf148fabe6463422195b7cc43b3412533f1dc21, >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <23e747fe585830c43095c37c85b2757231c6917f, >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <86948f81964e40cd6472d76a6371e4f297d84db0, >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <c7df90bbda71549bfd981bf478ad04ddfccf4e0d, >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <c8f86e375b39cada09fd8cb33dd3bb3641e84a62, >=6dcbe0cdd83fb5f77be4f44c9e06c535281c375a <ddb6ddf5be7429bb98b3368c883be51f00b31678, =3.12 | e5e415262330bd70f983e091d8919d9dcd99e475, 12a63a0f0d17b2d26211b2524ded91a67dd5c99c, 1bf148fabe6463422195b7cc43b3412533f1dc21, 23e747fe585830c43095c37c85b2757231c6917f, 86948f81964e40cd6472d76a6371e4f297d84db0, c7df90bbda71549bfd981bf478ad04ddfccf4e0d, c8f86e375b39cada09fd8cb33dd3bb3641e84a62, ddb6ddf5be7429bb98b3368c883be51f00b31678 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=3.12.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket