CVE-2026-45915 (GCVE-0-2026-45915)

Vulnerability from cvelistv5 – Published: 2026-05-27 12:17 – Updated: 2026-05-27 12:17
VLAI
Title
fat: avoid parent link count underflow in rmdir
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.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < 7fe0de287e931e07cb96ecf1f449b2ebdb0e1115 (git)
Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < 9894c79fd9466612d0514be157b5c30cd93aa645 (git)
Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < cd569b87378b9c33ae13c23d6bb9d205d66f7c4b (git)
Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < d3b7ffa90f613938128432c7b2f35b7aa4bdd86b (git)
Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < 955c5d670b5ae07c78f4345e23a895638db96ce1 (git)
Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < 17866f8a0822d414cb02e621cf003a7d04396ef8 (git)
Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0 (git)
Affected: 9a53c3a783c2fa9b969628e65695c11c3e51e673 , < 8cafcb881364af5ef3a8b9fed4db254054033d8a (git)
Create a notification for this product.
Linux Linux Affected: 2.6.19
Unaffected: 0 , < 2.6.19 (semver)
Unaffected: 5.10.252 , ≤ 5.10.* (semver)
Unaffected: 5.15.202 , ≤ 5.15.* (semver)
Unaffected: 6.1.165 , ≤ 6.1.* (semver)
Unaffected: 6.6.128 , ≤ 6.6.* (semver)
Unaffected: 6.12.75 , ≤ 6.12.* (semver)
Unaffected: 6.18.14 , ≤ 6.18.* (semver)
Unaffected: 6.19.4 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-45915",
      "date": "2026-05-29",
      "epss": "0.00024",
      "percentile": "0.07393"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-45915\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-27T14:17:06.320\",\"lastModified\":\"2026-05-27T14:48:03.013\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/17866f8a0822d414cb02e621cf003a7d04396ef8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7fe0de287e931e07cb96ecf1f449b2ebdb0e1115\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8cafcb881364af5ef3a8b9fed4db254054033d8a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/955c5d670b5ae07c78f4345e23a895638db96ce1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9894c79fd9466612d0514be157b5c30cd93aa645\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cd569b87378b9c33ae13c23d6bb9d205d66f7c4b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d0bb592fa9def2bace90ac8926c0a1d6fa8c1aa0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3b7ffa90f613938128432c7b2f35b7aa4bdd86b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…