---
id: CVE-2026-23434
title: 'mtd: rawnand: serialize lock/unlock against other NAND operations'
summary: |-
  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 devi…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    28ea836cc44cb8b89c1c174707ead0c1133c60e9
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    fe4a73c3dd48308149d57a10c2761e1d36ced7ba
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    ce5229e78078e437704157eb542f43a6f83b429b
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    a80291e577b44593a724d6cd64c14337c78f194d
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    5fd5c078af23cb353507aa522e09d557d7eaef04
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    f25446e2c28939753d3b62d34dfda49952b2557d
  - >-
    Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 <
    bab2bc6e850a697a23b9e5f0e21bb8c187615e95
  - Linux 5.7
published: '2026-04-03'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T08:46:09.470Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-23434'
references:
  - url: 'https://git.kernel.org/stable/c/28ea836cc44cb8b89c1c174707ead0c1133c60e9'
  - url: 'https://git.kernel.org/stable/c/fe4a73c3dd48308149d57a10c2761e1d36ced7ba'
  - url: 'https://git.kernel.org/stable/c/ce5229e78078e437704157eb542f43a6f83b429b'
  - url: 'https://git.kernel.org/stable/c/a80291e577b44593a724d6cd64c14337c78f194d'
  - url: 'https://git.kernel.org/stable/c/f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2'
  - url: 'https://git.kernel.org/stable/c/5fd5c078af23cb353507aa522e09d557d7eaef04'
  - url: 'https://git.kernel.org/stable/c/f25446e2c28939753d3b62d34dfda49952b2557d'
  - url: 'https://git.kernel.org/stable/c/bab2bc6e850a697a23b9e5f0e21bb8c187615e95'
tags:
  - cve.org
epss: 0.00132
epssPercentile: 0.02284
ingestedAt: '2026-09-08T15:33:26.992Z'
---

## Overview

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

- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < 28ea836cc44cb8b89c1c174707ead0c1133c60e9`
- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < fe4a73c3dd48308149d57a10c2761e1d36ced7ba`
- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < ce5229e78078e437704157eb542f43a6f83b429b`
- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < a80291e577b44593a724d6cd64c14337c78f194d`
- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < f71ce0ae5aefe39dd5b2f996c0e08550d2153ad2`
- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < 5fd5c078af23cb353507aa522e09d557d7eaef04`
- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < f25446e2c28939753d3b62d34dfda49952b2557d`
- `Linux >= 92270086b7e5ada7ab381c06cc3da2e95ed17088 < bab2bc6e850a697a23b9e5f0e21bb8c187615e95`
- `Linux 5.7`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
