CVE-2026-23434
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 92270086b7e5ada7ab381c06cc3da2e95ed17088 before 28ea836cc44cb8b89c1c174707ead0c1133c60e9, from 92270086b7e5ada7ab381c06cc3da2e95ed17088 before fe4a73c3dd48308149d57a10c2761e1d36ced7ba, from 92270086b7e5ada7ab381c06cc3da2e95ed17088 before ce5229e78078e437704157eb542f43a6f83b429b, from 92270086b7e5ada7ab381c06cc3da2e95ed17088 before a80291e577b44593a724d6cd64c14337c78f194d, from 92270086b7e5ada7ab381c06cc3da2e95ed17088 before f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2, from 92270086b7e5ada7ab381c06cc3da2e95ed17088 before 5fd5c078af23cb353507aa522e09d557d7eaef04, from 92270086b7e5ada7ab381c06cc3da2e95ed17088 before f25446e2c28939753d3b62d34dfda49952b2557d, from 92270086b7e5ada7ab381c06cc3da2e95ed17088 before bab2bc6e850a697a23b9e5f0e21bb8c187615e95 and 1 more
Not affected: before 5.7, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.167 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.78 up to 6.12.*
CVE List
linux linux_kernelfrom 5.7.1 before 5.10.253, from 5.11 before 5.15.203, from 5.16 before 6.1.167, from 6.2 before 6.6.130, from 6.7 before 6.12.78, from 6.13 before 6.18.20, from 6.19 before 6.19.10, 5.7 and 1 moreNVD

All scores

Linux7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mtd: rawnand: serializar bloqueo/desbloqueo contra otras operaciones NAND nand_lock() y nand_unlock() llaman a chip -> ops.lock_area/unlock_area sin mantener el bloqueo del dispositivo NAND. En controladores que implementan SET_FEATURES a través de múltiples comandos PIO de bajo nivel, estos pueden competir con operaciones concurrentes de borrado/escritura en segundo plano de UBI/UBIFS que mantienen el bloqueo del dispositivo, resultando en conflictos de cmd_pending en el controlador NAND. Añadir nand_get_device()/nand_release_device() alrededor de las operaciones de bloqueo/desbloqueo para serializarlas contra todo otro acceso al controlador NAND.

References

https://git.kernel.org/stable/c/28ea836cc44cb8b89c1c174707ead0c1133c60e9patch
https://git.kernel.org/stable/c/fe4a73c3dd48308149d57a10c2761e1d36ced7bapatch
https://git.kernel.org/stable/c/ce5229e78078e437704157eb542f43a6f83b429bpatch
https://git.kernel.org/stable/c/a80291e577b44593a724d6cd64c14337c78f194dpatch
https://git.kernel.org/stable/c/f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2patch
https://git.kernel.org/stable/c/5fd5c078af23cb353507aa522e09d557d7eaef04patch
https://git.kernel.org/stable/c/f25446e2c28939753d3b62d34dfda49952b2557dpatch
https://git.kernel.org/stable/c/bab2bc6e850a697a23b9e5f0e21bb8c187615e95patch
https://cert-portal.siemens.com/productcert/html/ssa-082556.html
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Sources

SourceRecordLicence
CVE ListCVE-2026-23434 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-23434 changed 2026-11-10Public domain