CVE-2026-45915 (GCVE-0-2026-45915)
Vulnerability from cvelistv5
Published
2026-05-27 12:17
Modified
2026-05-27 12:17
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: fat: avoid parent link count underflow in rmdir Corrupted FAT images can leave a directory inode with an incorrect i_nlink (e.g. 2 even though subdirectories exist). rmdir then unconditionally calls drop_nlink(dir) and can drive i_nlink to 0, triggering the WARN_ON in drop_nlink(). Add a sanity check in vfat_rmdir() and msdos_rmdir(): only drop the parent link count when it is at least 3, otherwise report a filesystem error.
Impacted products
Vendor Product Version
Linux Linux Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Version: 9a53c3a783c2fa9b969628e65695c11c3e51e673
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/fat/namei_msdos.c",
            "fs/fat/namei_vfat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7fe0de287e931e07cb96ecf1f449b2ebdb0e1115",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            },
            {
              "lessThan": "9894c79fd9466612d0514be157b5c30cd93aa645",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            },
            {
              "lessThan": "cd569b87378b9c33ae13c23d6bb9d205d66f7c4b",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            },
            {
              "lessThan": "d3b7ffa90f613938128432c7b2f35b7aa4bdd86b",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            },
            {
              "lessThan": "955c5d670b5ae07c78f4345e23a895638db96ce1",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            },
            {
              "lessThan": "17866f8a0822d414cb02e621cf003a7d04396ef8",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            },
            {
              "lessThan": "d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            },
            {
              "lessThan": "8cafcb881364af5ef3a8b9fed4db254054033d8a",
              "status": "affected",
              "version": "9a53c3a783c2fa9b969628e65695c11c3e51e673",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/fat/namei_msdos.c",
            "fs/fat/namei_vfat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.19"
            },
            {
              "lessThan": "2.6.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.252",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.202",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.165",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.128",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.252",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.202",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.165",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.128",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.14",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.4",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "2.6.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-27T12:17:30.699Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7fe0de287e931e07cb96ecf1f449b2ebdb0e1115"
        },
        {
          "url": "https://git.kernel.org/stable/c/9894c79fd9466612d0514be157b5c30cd93aa645"
        },
        {
          "url": "https://git.kernel.org/stable/c/cd569b87378b9c33ae13c23d6bb9d205d66f7c4b"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3b7ffa90f613938128432c7b2f35b7aa4bdd86b"
        },
        {
          "url": "https://git.kernel.org/stable/c/955c5d670b5ae07c78f4345e23a895638db96ce1"
        },
        {
          "url": "https://git.kernel.org/stable/c/17866f8a0822d414cb02e621cf003a7d04396ef8"
        },
        {
          "url": "https://git.kernel.org/stable/c/d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0"
        },
        {
          "url": "https://git.kernel.org/stable/c/8cafcb881364af5ef3a8b9fed4db254054033d8a"
        }
      ],
      "title": "fat: avoid parent link count underflow in rmdir",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-45915",
    "datePublished": "2026-05-27T12:17:30.699Z",
    "dateReserved": "2026-05-13T15:03:33.085Z",
    "dateUpdated": "2026-05-27T12:17:30.699Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…