CVE-2026-80535 (GCVE-0-2026-80535)

Vulnerability from cvelistv5 – Published: 2026-08-26 14:37 – Updated: 2026-08-26 14:37
VLAI
Title
xfs: don't double-lock when deleting a self-referential directory
Summary
In the Linux kernel, the following vulnerability has been resolved: xfs: don't double-lock when deleting a self-referential directory LOLLM notices that the dirtree scrubber can detect a directory that refers to itself. In this case, it's not correct for the directory tree repair code to try to iolock/ilock both sc->ip and dp, because they're the same inode. Fix this by detecting that corner case and handling it appropriately.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 3f31406aef493b3f19020909d29974e28253f91c , < 17bc347cbdfb125eddac0a815b1f6c1f6eb56676 (git)
Affected: 3f31406aef493b3f19020909d29974e28253f91c , < ce2a7006ec5ed88db1b1669124ec85bc1714ccaa (git)
Affected: 3f31406aef493b3f19020909d29974e28253f91c , < c575904471570e69bce40fa638365c6c0403e2ff (git)
Affected: 3f31406aef493b3f19020909d29974e28253f91c , < 5fc643fb86599e29b38e7b2c2680b4b15bf8f772 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.10
Unaffected: 0 , < 6.10 (semver)
Unaffected: 6.12.105 , ≤ 6.12.* (semver)
Unaffected: 6.18.46 , ≤ 6.18.* (semver)
Unaffected: 7.1.10 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/xfs/scrub/dirtree_repair.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "17bc347cbdfb125eddac0a815b1f6c1f6eb56676",
              "status": "affected",
              "version": "3f31406aef493b3f19020909d29974e28253f91c",
              "versionType": "git"
            },
            {
              "lessThan": "ce2a7006ec5ed88db1b1669124ec85bc1714ccaa",
              "status": "affected",
              "version": "3f31406aef493b3f19020909d29974e28253f91c",
              "versionType": "git"
            },
            {
              "lessThan": "c575904471570e69bce40fa638365c6c0403e2ff",
              "status": "affected",
              "version": "3f31406aef493b3f19020909d29974e28253f91c",
              "versionType": "git"
            },
            {
              "lessThan": "5fc643fb86599e29b38e7b2c2680b4b15bf8f772",
              "status": "affected",
              "version": "3f31406aef493b3f19020909d29974e28253f91c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/xfs/scrub/dirtree_repair.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.105",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.105",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.46",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.10",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don\u0027t double-lock when deleting a self-referential directory\n\nLOLLM notices that the dirtree scrubber can detect a directory that\nrefers to itself.  In this case, it\u0027s not correct for the directory tree\nrepair code to try to iolock/ilock both sc-\u003eip and dp, because they\u0027re\nthe same inode.  Fix this by detecting that corner case and handling it\nappropriately."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-26T14:37:10.985Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/17bc347cbdfb125eddac0a815b1f6c1f6eb56676"
        },
        {
          "url": "https://git.kernel.org/stable/c/ce2a7006ec5ed88db1b1669124ec85bc1714ccaa"
        },
        {
          "url": "https://git.kernel.org/stable/c/c575904471570e69bce40fa638365c6c0403e2ff"
        },
        {
          "url": "https://git.kernel.org/stable/c/5fc643fb86599e29b38e7b2c2680b4b15bf8f772"
        }
      ],
      "title": "xfs: don\u0027t double-lock when deleting a self-referential directory",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80535",
    "datePublished": "2026-08-26T14:37:10.985Z",
    "dateReserved": "2026-08-26T14:34:25.764Z",
    "dateUpdated": "2026-08-26T14:37:10.985Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-80535",
      "date": "2026-09-01",
      "epss": "0.00168",
      "percentile": "0.06285"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-80535\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-26T15:17:07.663\",\"lastModified\":\"2026-08-26T15:17:07.663\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nxfs: don\u0027t double-lock when deleting a self-referential directory\\n\\nLOLLM notices that the dirtree scrubber can detect a directory that\\nrefers to itself.  In this case, it\u0027s not correct for the directory tree\\nrepair code to try to iolock/ilock both sc-\u003eip and dp, because they\u0027re\\nthe same inode.  Fix this by detecting that corner case and handling it\\nappropriately.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/xfs/scrub/dirtree_repair.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3f31406aef493b3f19020909d29974e28253f91c\",\"lessThan\":\"17bc347cbdfb125eddac0a815b1f6c1f6eb56676\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3f31406aef493b3f19020909d29974e28253f91c\",\"lessThan\":\"ce2a7006ec5ed88db1b1669124ec85bc1714ccaa\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3f31406aef493b3f19020909d29974e28253f91c\",\"lessThan\":\"c575904471570e69bce40fa638365c6c0403e2ff\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3f31406aef493b3f19020909d29974e28253f91c\",\"lessThan\":\"5fc643fb86599e29b38e7b2c2680b4b15bf8f772\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/xfs/scrub/dirtree_repair.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.10\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.10\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.105\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.46\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.10\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/17bc347cbdfb125eddac0a815b1f6c1f6eb56676\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5fc643fb86599e29b38e7b2c2680b4b15bf8f772\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c575904471570e69bce40fa638365c6c0403e2ff\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ce2a7006ec5ed88db1b1669124ec85bc1714ccaa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-27T17:12:47+00:00",
      "cve": "CVE-2026-80535",
      "id": "CVE-2026-80535",
      "initial_release_date": "2026-08-26T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: xfs: don\u0027t double-lock when deleting a self-referential directory",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80535.json",
      "version": "3"
    }
  }
}



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…

Loading…