CVE-2023-53541

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

State
Published
Severity
Not scored
Published
Oct 4, 2025
Updated
May 11, 2026
Reserved
Oct 4, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before 2bc3d6ac704ea7263175ea3da663fdbbb7f3dd8bAffected
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before 14b1d00520b4d6a4818364334ce472b79cfc8976Affected
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before aae45746f4aee9818296e0500e0703e9d8caa5b8Affected
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before d00b031266514a9395124704630b056a5185ec17Affected
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before 2353b7bb61e45e7cfd21505d0c6747ac8c9496a1Affected
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before 45fe4ad7f439799ee1b7b5f80bf82e8b34a98d25Affected
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before 648d1150a688698e37f7aaf302860180901cb30eAffected
  • 27c5b17cd1b10564fa36f8f51e4b4b41436ecc32 to before 5d53244186c9ac58cb88d76a0958ca55b83a15cdAffected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 4.14.326 through 4.14.*Not affected
  • 4.19.295 through 4.19.*Not affected
  • 5.4.257 through 5.4.*Not affected
  • 5.10.195 through 5.10.*Not affected
  • 5.15.132 through 5.15.*Not affected
  • 6.1.54 through 6.1.*Not affected
  • 6.5.4 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.