{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "57a304cfd43b2b4a5b44b8f5dc026abb34183068"
            },
            {
              "fixed": "29d9746812d8b7c37d594f484e994fd552c3ec33"
            },
            {
              "fixed": "b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8"
            },
            {
              "fixed": "92bedc0455552b42ada1a1f42b0e3a8593cdfccc"
            },
            {
              "fixed": "14a8be9428435ee17f17fae7991215c246b7fd43"
            },
            {
              "fixed": "797dc567146c7e3c4f8d9680e4fbc76e0a6d9151"
            },
            {
              "fixed": "ae0629ff9ccb836416ada129f4edc7efea6eaaad"
            },
            {
              "fixed": "6a8269b6459ed870a8156c106a0f597383907872"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "5.15.216"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.183"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.148"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.101"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.42"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68450.json"
  },
  "details": "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.",
  "id": "CVE-2026-68450",
  "modified": "2026-08-21T03:30:40.179719756Z",
  "published": "2026-08-12T00:51:48.970Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/14a8be9428435ee17f17fae7991215c246b7fd43"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/29d9746812d8b7c37d594f484e994fd552c3ec33"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6a8269b6459ed870a8156c106a0f597383907872"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/797dc567146c7e3c4f8d9680e4fbc76e0a6d9151"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92bedc0455552b42ada1a1f42b0e3a8593cdfccc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ae0629ff9ccb836416ada129f4edc7efea6eaaad"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68450.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68450"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "btrfs: free mapping node on duplicate reloc root insert"
}