{"id":"CVE-2026-93798","aliases":["CVE-2026-93798"],"related":[],"kind":"vulnerability","state":"published","title":"btrfs: fix reloc root cleanup in merge_reloc_roots()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-24T16:02:31.291Z","modified":"2026-10-03T11:17:49.337Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1dae7e0e58b484eaa43d530f211098fdeeb0f404","fixed":"29531470b1bf1e8bd2df4941fe913106edbca615","status":"affected"},{"type":"git","introduced":"1dae7e0e58b484eaa43d530f211098fdeeb0f404","fixed":"415f8665a969d3c906e4fd7c90fcbb4b357886f6","status":"affected"},{"type":"git","introduced":"1dae7e0e58b484eaa43d530f211098fdeeb0f404","fixed":"ee695a968aa73b1e67ccbf2133dc0e54381d32b2","status":"affected"},{"type":"git","introduced":"1dae7e0e58b484eaa43d530f211098fdeeb0f404","fixed":"0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5","status":"affected"},{"type":"git","introduced":"1dae7e0e58b484eaa43d530f211098fdeeb0f404","fixed":"ab48583aa9948205ff9a6470e23dbff74c565e24","status":"affected"},{"type":"git","introduced":"1dae7e0e58b484eaa43d530f211098fdeeb0f404","fixed":"63d6b1f04cd91c825329712aa526215ffa5d11ca","status":"affected"},{"type":"git","introduced":"1dae7e0e58b484eaa43d530f211098fdeeb0f404","fixed":"b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8","status":"affected"},{"type":"git","version":"ee08663380ffd5a45a1c87580fbc305e8413c235","status":"affected"},{"type":"git","version":"33823378ff2b510fd7b566f25bb18438aeb9b23b","status":"affected"},{"type":"semver","introduced":"5.4.54","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.7.11","fixed":"5.8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/29531470b1bf1e8bd2df4941fe913106edbca615","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/415f8665a969d3c906e4fd7c90fcbb4b357886f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee695a968aa73b1e67ccbf2133dc0e54381d32b2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab48583aa9948205ff9a6470e23dbff74c565e24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63d6b1f04cd91c825329712aa526215ffa5d11ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93798","url":"https://www.cve.org/CVERecord?id=CVE-2026-93798","licence":"CVE Terms of Use","modified":"2026-10-03T10:57:32.550Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93798","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93798","licence":"Public domain","modified":"2026-10-03T11:17:49.337Z"}],"updatedAt":"2026-11-25T22:59:40.829Z","epss":{"score":0.00129,"percentile":0.02766,"date":"2026-12-01T12:00:22.000Z"}}