{"api_version":"1","generated_at":"2026-08-12T07:38:39+00:00","cve":"CVE-2026-68450","urls":{"html":"https://cve.report/CVE-2026-68450","api":"https://cve.report/api/cve/CVE-2026-68450.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68450","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68450"},"summary":{"title":"btrfs: free mapping node on duplicate reloc root insert","description":"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->reloc_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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-12 01:17:07","updated_at":"2026-08-12 01:17:07"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ae0629ff9ccb836416ada129f4edc7efea6eaaad","name":"https://git.kernel.org/stable/c/ae0629ff9ccb836416ada129f4edc7efea6eaaad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6a8269b6459ed870a8156c106a0f597383907872","name":"https://git.kernel.org/stable/c/6a8269b6459ed870a8156c106a0f597383907872","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/14a8be9428435ee17f17fae7991215c246b7fd43","name":"https://git.kernel.org/stable/c/14a8be9428435ee17f17fae7991215c246b7fd43","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/797dc567146c7e3c4f8d9680e4fbc76e0a6d9151","name":"https://git.kernel.org/stable/c/797dc567146c7e3c4f8d9680e4fbc76e0a6d9151","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/92bedc0455552b42ada1a1f42b0e3a8593cdfccc","name":"https://git.kernel.org/stable/c/92bedc0455552b42ada1a1f42b0e3a8593cdfccc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68450","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68450","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57a304cfd43b2b4a5b44b8f5dc026abb34183068 92bedc0455552b42ada1a1f42b0e3a8593cdfccc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57a304cfd43b2b4a5b44b8f5dc026abb34183068 14a8be9428435ee17f17fae7991215c246b7fd43 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57a304cfd43b2b4a5b44b8f5dc026abb34183068 797dc567146c7e3c4f8d9680e4fbc76e0a6d9151 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57a304cfd43b2b4a5b44b8f5dc026abb34183068 ae0629ff9ccb836416ada129f4edc7efea6eaaad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57a304cfd43b2b4a5b44b8f5dc026abb34183068 6a8269b6459ed870a8156c106a0f597383907872 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.148 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.101 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.42 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.6 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc5 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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":"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":"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-rc5","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"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-rc5","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->reloc_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-12T00:51:48.970Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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-12T00:51:48.970Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-12 01:17:07","lastModifiedDate":"2026-08-12 01:17:07","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68450","Ordinal":"1","Title":"btrfs: free mapping node on duplicate reloc root insert","CVE":"CVE-2026-68450","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68450","Ordinal":"1","NoteData":"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->reloc_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.","Type":"Description","Title":"btrfs: free mapping node on duplicate reloc root insert"}]}}}