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

High 7.8 Published Updated

An out-of-bounds read in the Broadcom NAND driver can lead to memory corruption, potentially causing system crashes or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53541?

CVE-2023-53541 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-787

Which versions are affected by CVE-2023-53541?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53541?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-53541 being exploited?

There is no known exploitation of CVE-2023-53541 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53541, DEBIAN-CVE-2023-53541, GHSA-mpf4-xprh-pjmh, UBUNTU-CVE-2023-53541.

Is CVE-2023-53541 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free