CVE-2026-45974 (GCVE-0-2026-45974)
Vulnerability from cvelistv5
Published
2026-05-27 12:18
Modified
2026-05-27 12:18
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found If btrfs_search_slot_for_read() returns 1, it means we did not find any key greater than or equals to the key we asked for, meaning we have reached the end of the tree and therefore the path is not valid. If this happens we need to break out of the loop and stop, instead of continuing and accessing an invalid path.
Impacted products
Vendor Product Version
Linux Linux Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Version: ecce1be9f2a366990d0e75dd249fb324e83c34a9
Version: 5.9.7   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/btrfs/qgroup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "023545e272f369d487e6a986c1e321c6e04be1da",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "lessThan": "fd4913a53e3b54ad7e161847291439fe445d6356",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "lessThan": "b5b8ade9da452086e78f5d519b90d3769e354853",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "lessThan": "1ee1d006c9fe4d6be5527ab1c84216b80cccbe40",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "lessThan": "0761447f6f51e1c7997960d8e6559337deed6729",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "lessThan": "d7cf2314dd5e8661c05d076cd627eea9a7f76616",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "lessThan": "b2bd557b75b760e4b9d209112bda19314bd64558",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "lessThan": "ecb7c2484cfc83a93658907580035a8adf1e0a92",
              "status": "affected",
              "version": "5223cc60b40ae525ae6c94e98824129f1a5b4ae5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ecce1be9f2a366990d0e75dd249fb324e83c34a9",
              "versionType": "git"
            },
            {
              "lessThan": "5.10",
              "status": "affected",
              "version": "5.9.7",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/btrfs/qgroup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "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": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.202",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.165",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.128",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.14",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.4",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.9.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found\n\nIf btrfs_search_slot_for_read() returns 1, it means we did not find any\nkey greater than or equals to the key we asked for, meaning we have\nreached the end of the tree and therefore the path is not valid. If\nthis happens we need to break out of the loop and stop, instead of\ncontinuing and accessing an invalid path."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-27T12:18:33.107Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/023545e272f369d487e6a986c1e321c6e04be1da"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd4913a53e3b54ad7e161847291439fe445d6356"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5b8ade9da452086e78f5d519b90d3769e354853"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ee1d006c9fe4d6be5527ab1c84216b80cccbe40"
        },
        {
          "url": "https://git.kernel.org/stable/c/0761447f6f51e1c7997960d8e6559337deed6729"
        },
        {
          "url": "https://git.kernel.org/stable/c/d7cf2314dd5e8661c05d076cd627eea9a7f76616"
        },
        {
          "url": "https://git.kernel.org/stable/c/b2bd557b75b760e4b9d209112bda19314bd64558"
        },
        {
          "url": "https://git.kernel.org/stable/c/ecb7c2484cfc83a93658907580035a8adf1e0a92"
        }
      ],
      "title": "btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-45974",
    "datePublished": "2026-05-27T12:18:33.107Z",
    "dateReserved": "2026-05-13T15:03:33.090Z",
    "dateUpdated": "2026-05-27T12:18:33.107Z",
    "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…