{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "9a53c3a783c2fa9b969628e65695c11c3e51e673"
            },
            {
              "fixed": "7fe0de287e931e07cb96ecf1f449b2ebdb0e1115"
            },
            {
              "fixed": "9894c79fd9466612d0514be157b5c30cd93aa645"
            },
            {
              "fixed": "cd569b87378b9c33ae13c23d6bb9d205d66f7c4b"
            },
            {
              "fixed": "d3b7ffa90f613938128432c7b2f35b7aa4bdd86b"
            },
            {
              "fixed": "955c5d670b5ae07c78f4345e23a895638db96ce1"
            },
            {
              "fixed": "17866f8a0822d414cb02e621cf003a7d04396ef8"
            },
            {
              "fixed": "d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0"
            },
            {
              "fixed": "8cafcb881364af5ef3a8b9fed4db254054033d8a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.19"
            },
            {
              "fixed": "5.10.252"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.202"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.165"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.128"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.75"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45915.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfat: avoid parent link count underflow in rmdir\n\nCorrupted FAT images can leave a directory inode with an incorrect\ni_nlink (e.g. 2 even though subdirectories exist). rmdir then\nunconditionally calls drop_nlink(dir) and can drive i_nlink to 0,\ntriggering the WARN_ON in drop_nlink().\n\nAdd a sanity check in vfat_rmdir() and msdos_rmdir(): only drop the\nparent link count when it is at least 3, otherwise report a filesystem\nerror.",
  "id": "CVE-2026-45915",
  "modified": "2026-07-08T05:38:24.063503471Z",
  "published": "2026-05-27T12:17:30.699Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/17866f8a0822d414cb02e621cf003a7d04396ef8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7fe0de287e931e07cb96ecf1f449b2ebdb0e1115"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8cafcb881364af5ef3a8b9fed4db254054033d8a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/955c5d670b5ae07c78f4345e23a895638db96ce1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9894c79fd9466612d0514be157b5c30cd93aa645"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cd569b87378b9c33ae13c23d6bb9d205d66f7c4b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d3b7ffa90f613938128432c7b2f35b7aa4bdd86b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45915.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45915"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "fat: avoid parent link count underflow in rmdir"
}