mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write When the oob buffer length is not in multiple of words, the oob write function does out-of-bounds read on the oob source buffer at the last iteration. Fix that by always checking length limit on the oob buffer read and fill with 0xff when reaching the end of the buffer to the oob registers.
Weaknesses (CWE)
- CWE-787 — Out-of-bounds Write
References
- https://git.kernel.org/stable/c/2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b
- https://git.kernel.org/stable/c/14b1d00520b4d6a4818364334ce472b79cfc8976
- https://git.kernel.org/stable/c/aae45746f4aee9818296e0500e0703e9d8caa5b8
- https://git.kernel.org/stable/c/d00b031266514a9395124704630b056a5185ec17
- https://git.kernel.org/stable/c/2353b7bb61e45e7cfd21505d0c6747ac8c9496a1
- https://git.kernel.org/stable/c/45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25
- https://git.kernel.org/stable/c/648d1150a688698e37f7aaf302860180901cb30e
- https://git.kernel.org/stable/c/5d53244186c9ac58cb88d76a0958ca55b83a15cd
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-32334
- GCVE · GCVE-0-2023-53541
CERT-FR advisories
- CERTFR-2025-AVI-1073 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1047 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.2 < 4.14.326cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.295cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.257cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.195cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.132cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.54cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.5.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 < 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b ; affected 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 < 14b1d00520b4d6a4818364334ce472b79cfc8976 ; affected 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 < aae45746f4aee9818296e0500e0703e9d8caa5b8 ; affected 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 < d00b031266514a9395124704630b056a5185ec17 ; affected 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 < 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1 ; affected 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 < 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25 |
| Linux · Linux | affected 4.2 ; unaffected 0 < 4.2 ; unaffected 4.14.326 ≤ 4.14.* ; unaffected 4.19.295 ≤ 4.19.* ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.195 ≤ 5.10.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |