CVE-2026-68450 (GCVE-0-2026-68450)

Vulnerability from cvelistv5 – Published: 2026-08-12 00:51 – Updated: 2026-08-19 16:35
VLAI
Title
btrfs: free mapping node on duplicate reloc root insert
Summary
In the Linux kernel, the following vulnerability has been resolved: btrfs: free mapping node on duplicate reloc root insert __add_reloc_root() allocates a mapping_node before inserting it into rc->reloc_root_tree. If rb_simple_insert() finds an existing entry, it returns the existing rb_node and leaves the newly allocated node unlinked. The error path then returns -EEXIST without freeing the new node. Since the node was never inserted into reloc_root_tree, the later cleanup in put_reloc_control() cannot find it either. Free the newly allocated node before returning -EEXIST. The callers currently assert that -EEXIST should not happen, so this is a defensive cleanup for an unexpected duplicate insert path. If the path is ever reached, the local allocation should still be released.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 57a304cfd43b2b4a5b44b8f5dc026abb34183068 , < 29d9746812d8b7c37d594f484e994fd552c3ec33 (git)
Affected: 57a304cfd43b2b4a5b44b8f5dc026abb34183068 , < b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8 (git)
Affected: 57a304cfd43b2b4a5b44b8f5dc026abb34183068 , < 92bedc0455552b42ada1a1f42b0e3a8593cdfccc (git)
Affected: 57a304cfd43b2b4a5b44b8f5dc026abb34183068 , < 14a8be9428435ee17f17fae7991215c246b7fd43 (git)
Affected: 57a304cfd43b2b4a5b44b8f5dc026abb34183068 , < 797dc567146c7e3c4f8d9680e4fbc76e0a6d9151 (git)
Affected: 57a304cfd43b2b4a5b44b8f5dc026abb34183068 , < ae0629ff9ccb836416ada129f4edc7efea6eaaad (git)
Affected: 57a304cfd43b2b4a5b44b8f5dc026abb34183068 , < 6a8269b6459ed870a8156c106a0f597383907872 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.13
Unaffected: 0 , < 5.13 (semver)
Unaffected: 5.15.216 , ≤ 5.15.* (semver)
Unaffected: 6.1.183 , ≤ 6.1.* (semver)
Unaffected: 6.6.148 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 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/btrfs/relocation.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "29d9746812d8b7c37d594f484e994fd552c3ec33",
              "status": "affected",
              "version": "57a304cfd43b2b4a5b44b8f5dc026abb34183068",
              "versionType": "git"
            },
            {
              "lessThan": "b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8",
              "status": "affected",
              "version": "57a304cfd43b2b4a5b44b8f5dc026abb34183068",
              "versionType": "git"
            },
            {
              "lessThan": "92bedc0455552b42ada1a1f42b0e3a8593cdfccc",
              "status": "affected",
              "version": "57a304cfd43b2b4a5b44b8f5dc026abb34183068",
              "versionType": "git"
            },
            {
              "lessThan": "14a8be9428435ee17f17fae7991215c246b7fd43",
              "status": "affected",
              "version": "57a304cfd43b2b4a5b44b8f5dc026abb34183068",
              "versionType": "git"
            },
            {
              "lessThan": "797dc567146c7e3c4f8d9680e4fbc76e0a6d9151",
              "status": "affected",
              "version": "57a304cfd43b2b4a5b44b8f5dc026abb34183068",
              "versionType": "git"
            },
            {
              "lessThan": "ae0629ff9ccb836416ada129f4edc7efea6eaaad",
              "status": "affected",
              "version": "57a304cfd43b2b4a5b44b8f5dc026abb34183068",
              "versionType": "git"
            },
            {
              "lessThan": "6a8269b6459ed870a8156c106a0f597383907872",
              "status": "affected",
              "version": "57a304cfd43b2b4a5b44b8f5dc026abb34183068",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/btrfs/relocation.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.216",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "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": "5.15.216",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.183",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.148",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: free mapping node on duplicate reloc root insert\n\n__add_reloc_root() allocates a mapping_node before inserting it into\nrc-\u003ereloc_root_tree.  If rb_simple_insert() finds an existing entry, it\nreturns the existing rb_node and leaves the newly allocated node unlinked.\n\nThe error path then returns -EEXIST without freeing the new node.  Since\nthe node was never inserted into reloc_root_tree, the later cleanup in\nput_reloc_control() cannot find it either.\n\nFree the newly allocated node before returning -EEXIST.\n\nThe callers currently assert that -EEXIST should not happen, so this is a\ndefensive cleanup for an unexpected duplicate insert path.  If the path is\never reached, the local allocation should still be released."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-19T16:35:45.490Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/29d9746812d8b7c37d594f484e994fd552c3ec33"
        },
        {
          "url": "https://git.kernel.org/stable/c/b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8"
        },
        {
          "url": "https://git.kernel.org/stable/c/92bedc0455552b42ada1a1f42b0e3a8593cdfccc"
        },
        {
          "url": "https://git.kernel.org/stable/c/14a8be9428435ee17f17fae7991215c246b7fd43"
        },
        {
          "url": "https://git.kernel.org/stable/c/797dc567146c7e3c4f8d9680e4fbc76e0a6d9151"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae0629ff9ccb836416ada129f4edc7efea6eaaad"
        },
        {
          "url": "https://git.kernel.org/stable/c/6a8269b6459ed870a8156c106a0f597383907872"
        }
      ],
      "title": "btrfs: free mapping node on duplicate reloc root insert",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68450",
    "datePublished": "2026-08-12T00:51:48.970Z",
    "dateReserved": "2026-07-30T09:28:09.395Z",
    "dateUpdated": "2026-08-19T16:35:45.490Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68450",
      "date": "2026-08-23",
      "epss": "0.00161",
      "percentile": "0.05789"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68450\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-12T01:17:07.930\",\"lastModified\":\"2026-08-19T17:20:50.807\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbtrfs: free mapping node on duplicate reloc root insert\\n\\n__add_reloc_root() allocates a mapping_node before inserting it into\\nrc-\u003ereloc_root_tree.  If rb_simple_insert() finds an existing entry, it\\nreturns the existing rb_node and leaves the newly allocated node unlinked.\\n\\nThe error path then returns -EEXIST without freeing the new node.  Since\\nthe node was never inserted into reloc_root_tree, the later cleanup in\\nput_reloc_control() cannot find it either.\\n\\nFree the newly allocated node before returning -EEXIST.\\n\\nThe callers currently assert that -EEXIST should not happen, so this is a\\ndefensive cleanup for an unexpected duplicate insert path.  If the path is\\never reached, the local allocation should still be released.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/btrfs/relocation.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"57a304cfd43b2b4a5b44b8f5dc026abb34183068\",\"lessThan\":\"29d9746812d8b7c37d594f484e994fd552c3ec33\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"57a304cfd43b2b4a5b44b8f5dc026abb34183068\",\"lessThan\":\"b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"57a304cfd43b2b4a5b44b8f5dc026abb34183068\",\"lessThan\":\"92bedc0455552b42ada1a1f42b0e3a8593cdfccc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"57a304cfd43b2b4a5b44b8f5dc026abb34183068\",\"lessThan\":\"14a8be9428435ee17f17fae7991215c246b7fd43\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"57a304cfd43b2b4a5b44b8f5dc026abb34183068\",\"lessThan\":\"797dc567146c7e3c4f8d9680e4fbc76e0a6d9151\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"57a304cfd43b2b4a5b44b8f5dc026abb34183068\",\"lessThan\":\"ae0629ff9ccb836416ada129f4edc7efea6eaaad\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"57a304cfd43b2b4a5b44b8f5dc026abb34183068\",\"lessThan\":\"6a8269b6459ed870a8156c106a0f597383907872\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/btrfs/relocation.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.216\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.183\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.148\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"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/14a8be9428435ee17f17fae7991215c246b7fd43\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/29d9746812d8b7c37d594f484e994fd552c3ec33\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6a8269b6459ed870a8156c106a0f597383907872\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/797dc567146c7e3c4f8d9680e4fbc76e0a6d9151\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/92bedc0455552b42ada1a1f42b0e3a8593cdfccc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ae0629ff9ccb836416ada129f4edc7efea6eaaad\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-12T19:44:46+00:00",
      "cve": "CVE-2026-68450",
      "id": "CVE-2026-68450",
      "initial_release_date": "2026-08-12T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "64",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: btrfs: free mapping node on duplicate reloc root insert",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68450.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-12T16:21:38Z",
      "cve": "CVE-2026-68450",
      "id": "CVE-2026-68450",
      "initial_release_date": "2026-08-12T16:21:38Z",
      "product_status:known_affected": "247",
      "product_status:known_not_affected": "49",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68450",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68450.json",
      "version": "2"
    }
  }
}



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…