Skip to content
Heist/ feed
UnratedFix available

btrfs: free mapping node on duplicate reloc root insert

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-68450

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:CVE-2026-68450

Kernel

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
5.15.216

Source reference: /affected/1/ranges

6.1.183

Source reference: /affected/1/ranges

6.6.148

Source reference: /affected/1/ranges

6.12.101

Source reference: /affected/1/ranges

6.18.42

Source reference: /affected/1/ranges

7.1.6

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
        "type": "GIT",
        "events": [
          {
            "introduced": "57a304cfd43b2b4a5b44b8f5dc026abb34183068"
          },
          {
            "fixed": "29d9746812d8b7c37d594f484e994fd552c3ec33"
          },
          {
            "fixed": "b7c5b8e1d5f0779dfbabc3068b7ac0f12e53b3a8"
          },
          {
            "fixed": "92bedc0455552b42ada1a1f42b0e3a8593cdfccc"
          },
          {
            "fixed": "14a8be9428435ee17f17fae7991215c246b7fd43"
          },
          {
            "fixed": "797dc567146c7e3c4f8d9680e4fbc76e0a6d9151"
          },
          {
            "fixed": "ae0629ff9ccb836416ada129f4edc7efea6eaaad"
          },
          {
            "fixed": "6a8269b6459ed870a8156c106a0f597383907872"
          }
        ]
      }
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68450.json"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "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"
          }
        ]
      }
    ],
    "package": {
      "name": "Kernel",
      "ecosystem": "Linux"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68450.json"
    }
  }
]
Related CVEs
CVE-2026-68450

Source reference: /id

Publisher severity

No explicit severity was provided.

Event
#50777 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement