CVE-2023-53541
mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
Mitigation
- Upgrade Linux to 5d53244186c9ac58cb88d76a0958ca55b83a15cd or later.
Who should check
- Anyone running Linux >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 14b1d00520b4d6a4818364334ce472b79cfc8976; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < aae45746f4aee9818296e0500e0703e9d8caa5b8; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < d00b031266514a9395124704630b056a5185ec17; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 648d1150a688698e37f7aaf302860180901cb30e; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 5d53244186c9ac58cb88d76a0958ca55b83a15cd
- Anyone running Linux 4.2
Vulnerability facts
- Affected
- Linux >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 14b1d00520b4d6a4818364334ce472b79cfc8976; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < aae45746f4aee9818296e0500e0703e9d8caa5b8; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < d00b031266514a9395124704630b056a5185ec17; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 648d1150a688698e37f7aaf302860180901cb30e; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 5d53244186c9ac58cb88d76a0958ca55b83a15cd; Linux 4.2
- Fixed in
- Linux 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b, Linux 14b1d00520b4d6a4818364334ce472b79cfc8976, Linux 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1, Linux 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25, Linux 648d1150a688698e37f7aaf302860180901cb30e, Linux 5d53244186c9ac58cb88d76a0958ca55b83a15cd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-787
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 14b1d00520b4d6a4818364334ce472b79cfc8976; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < aae45746f4aee9818296e0500e0703e9d8caa5b8; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < d00b031266514a9395124704630b056a5185ec17; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 648d1150a688698e37f7aaf302860180901cb30e; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 5d53244186c9ac58cb88d76a0958ca55b83a15cd | — | cvelist |
| Linux | 4.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53541. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53541.md Affected: Linux >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 14b1d00520b4d6a4818364334ce472b79cfc8976; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < aae45746f4aee9818296e0500e0703e9d8caa5b8; >= 27c5b17cd1b10564fa36f8f… Fixed in: Linux 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b, Linux 14b1d00520b4d6a4818364334ce472b79cfc8976, Linux 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1, Linux 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25, Linux 648d1150a688698e37f7aaf302860180901cb30e, Linux 5d53244186c9ac58cb88d76a0958ca55b83a15cd Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2023-53541 being exploited?
There is no confirmed exploitation: CVE-2023-53541 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53541?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53541?
Linux >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 14b1d00520b4d6a4818364334ce472b79cfc8976; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < aae45746f4aee9818296e0500e0703e9d8caa5b8; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < d00b031266514a9395124704630b056a5185ec17; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 648d1150a688698e37f7aaf302860180901cb30e; >= 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32, < 5d53244186c9ac58cb88d76a0958ca55b83a15cd; Linux 4.2.
Is there a fix for CVE-2023-53541?
Yes. Fixed in Linux 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8b, Linux 14b1d00520b4d6a4818364334ce472b79cfc8976, Linux 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1, Linux 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25, Linux 648d1150a688698e37f7aaf302860180901cb30e, Linux 5d53244186c9ac58cb88d76a0958ca55b83a15cd. Upgrade Linux to 5d53244186c9ac58cb88d76a0958ca55b83a15cd or later.
How do I check if I'm affected by CVE-2023-53541?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.