{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "32813e288414fecce18f37f8f0d0414a64b45c56"
            },
            {
              "fixed": "483a8a8581ee1274ec70e2561492096d4a7305e6"
            },
            {
              "fixed": "c2a131fb6882c98aada739479cc96df8748d0c24"
            },
            {
              "fixed": "e6df4fea1dc86c058e1918136c9b9d8e80c4be1b"
            },
            {
              "fixed": "3da4eb15c7b421c2d97c402bb7bd607c44822995"
            },
            {
              "fixed": "fbc7c8a1167b2eb56b2fd8598c29a3d5e9f8676e"
            },
            {
              "fixed": "4bbfcf9c7e46cae58257150bf834853559382e28"
            },
            {
              "fixed": "8f575fc17360827ca1d1940a84f3c7ee40407a10"
            },
            {
              "fixed": "8507c2cc9e4fa402401819f44d1e8a5ef4d11d8b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.2.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72165.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: fix condition in 'nand_select_target()'\n\n'cs' here must be in range [0:nanddev_ntargets[.",
  "id": "CVE-2026-72165",
  "modified": "2026-08-18T03:31:14.941738925Z",
  "published": "2026-08-15T05:53:32.649Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3da4eb15c7b421c2d97c402bb7bd607c44822995"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/483a8a8581ee1274ec70e2561492096d4a7305e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4bbfcf9c7e46cae58257150bf834853559382e28"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8507c2cc9e4fa402401819f44d1e8a5ef4d11d8b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8f575fc17360827ca1d1940a84f3c7ee40407a10"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c2a131fb6882c98aada739479cc96df8748d0c24"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e6df4fea1dc86c058e1918136c9b9d8e80c4be1b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fbc7c8a1167b2eb56b2fd8598c29a3d5e9f8676e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72165.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72165"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "mtd: rawnand: fix condition in 'nand_select_target()'"
}