mtd: rawnand: serialize lock/unlock against other NAND operations

Summary

CVECVE-2026-23434
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-03 16:16:24 UTC
Updated2026-04-23 20:59:48 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: serialize lock/unlock against other NAND operations nand_lock() and nand_unlock() call into chip->ops.lock_area/unlock_area without holding the NAND device lock. On controllers that implement SET_FEATURES via multiple low-level PIO commands, these can race with concurrent UBI/UBIFS background erase/write operations that hold the device lock, resulting in cmd_pending conflicts on the NAND controller. Add nand_get_device()/nand_release_device() around the lock/unlock operations to serialize them against all other NAND controller access.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.000320000 probability, percentile 0.092520000 (date 2026-04-21)

Problem Types: NVD-CWE-noinfo

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 28ea836cc44cb8b89c1c174707ead0c1133c60e9 git Not specified
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 fe4a73c3dd48308149d57a10c2761e1d36ced7ba git Not specified
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 ce5229e78078e437704157eb542f43a6f83b429b git Not specified
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 a80291e577b44593a724d6cd64c14337c78f194d git Not specified
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2 git Not specified
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 5fd5c078af23cb353507aa522e09d557d7eaef04 git Not specified
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 f25446e2c28939753d3b62d34dfda49952b2557d git Not specified
CNA Linux Linux affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 bab2bc6e850a697a23b9e5f0e21bb8c187615e95 git Not specified
CNA Linux Linux affected 5.7 Not specified
CNA Linux Linux unaffected 5.7 semver Not specified
CNA Linux Linux unaffected 5.10.253 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.203 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.167 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.130 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.78 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.20 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.10 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/f25446e2c28939753d3b62d34dfda49952b2557d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/28ea836cc44cb8b89c1c174707ead0c1133c60e9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/fe4a73c3dd48308149d57a10c2761e1d36ced7ba 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/5fd5c078af23cb353507aa522e09d557d7eaef04 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/bab2bc6e850a697a23b9e5f0e21bb8c187615e95 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a80291e577b44593a724d6cd64c14337c78f194d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/ce5229e78078e437704157eb542f43a6f83b429b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report