mtd: rawnand: serialize lock/unlock against other NAND operations (Linux Linux)

CVE-2026-23434
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 92270086b7e5ada7ab381c06cc3da2e95ed17088 < 28ea836cc44cb8b89c1c174707ead0c1133c60e9 ; affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 < fe4a73c3dd48308149d57a10c2761e1d36ced7ba ; affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 < ce5229e78078e437704157eb542f43a6f83b429b ; affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 < a80291e577b44593a724d6cd64c14337c78f194d ; affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 < f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2 ; affected 92270086b7e5ada7ab381c06cc3da2e95ed17088 < 5fd5c078af23cb353507aa522e09d557d7eaef04
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD