{"id":"CVE-2026-93798","published":"2026-09-24T16:02:31Z","modified":"2026-10-03T10:57:32Z","title":"btrfs: fix reloc root cleanup in merge_reloc_roots()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix reloc root cleanup in merge_reloc_roots()\n\nIf the root we got has zero root refs in its root item, we are resetting\nthe root's ->reloc_root without using barriers like we do everywhere else.\nSashiko complained about this while reviewing another patch, and it's\ncorrect (see the Link tag below).\n\nAlso, we should not clear BTRFS_ROOT_DEAD_RELOC_TREE from the root unless\nthe root points to the reloc root we have.\n\nFix this by using clear_reloc_root(), which issues the memory barrier\nafter setting the root's ->reloc_root to NULL and before clearing the bit\nBTRFS_ROOT_DEAD_RELOC_TREE from the root.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00176,"percentile":0.04227,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/29531470b1bf1e8bd2df4941fe913106edbca615","tags":[]},{"url":"https://git.kernel.org/stable/c/415f8665a969d3c906e4fd7c90fcbb4b357886f6","tags":[]},{"url":"https://git.kernel.org/stable/c/ee695a968aa73b1e67ccbf2133dc0e54381d32b2","tags":[]},{"url":"https://git.kernel.org/stable/c/0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5","tags":[]},{"url":"https://git.kernel.org/stable/c/ab48583aa9948205ff9a6470e23dbff74c565e24","tags":[]},{"url":"https://git.kernel.org/stable/c/63d6b1f04cd91c825329712aa526215ffa5d11ca","tags":[]},{"url":"https://git.kernel.org/stable/c/b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":0.85},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < 29531470b1bf1e8bd2df4941fe913106edbca615",">= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < 415f8665a969d3c906e4fd7c90fcbb4b357886f6",">= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < ee695a968aa73b1e67ccbf2133dc0e54381d32b2",">= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5",">= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < ab48583aa9948205ff9a6470e23dbff74c565e24",">= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < 63d6b1f04cd91c825329712aa526215ffa5d11ca",">= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8","ee08663380ffd5a45a1c87580fbc305e8413c235","33823378ff2b510fd7b566f25bb18438aeb9b23b",">= 5.4.54, < 5.5"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"euvd":{"id":"EUVD-2026-86185","exploited":false,"provenance":"source"}}