{"id":"CVE-2026-98245","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: take commit root semaphore when iterating in mark_block_group_to_copy()\n\nmark_block_group_to_copy() iterates over the commit root with\nskip_locking=true","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: take commit root semaphore when iterating in mark_block_group_to_copy()\n\nmark_block_group_to_copy() iterates over the commit root with\nskip_locking=true. A concu…","severity":"high","vendor":"Linux","product":"Linux","affected":["Linux >= 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 8e2007b263ea250251ec3021a0a197da990ee1a8","Linux >= 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 709f6a5e986535005110c6c69b322f63631cb200","Linux >= 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < c32490c6d3f3a9f2d177d57c7eb8bbc347561d08","Linux >= 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 0594e3423f4ba3137c734371169491f9a98e9af4","Linux 5.12"],"published":"2026-10-06","updated":"2026-10-06","sourceUpdated":"2026-10-06T09:18:12.643","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98245","references":[{"url":"https://git.kernel.org/stable/c/0594e3423f4ba3137c734371169491f9a98e9af4","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/709f6a5e986535005110c6c69b322f63631cb200","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8e2007b263ea250251ec3021a0a197da990ee1a8","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c32490c6d3f3a9f2d177d57c7eb8bbc347561d08","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98245.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98245"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2546436"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98245"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98245"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98245.mbox"},{"url":"https://git.kernel.org/stable/c/93a025166495c63ba5b8ac721c7040d5312e8335"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-10-06T08:50:17.434Z","cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":["CWE-825"],"epss":0.00168,"epssPercentile":0.06017,"slug":"CVE-2026-98245","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: take commit root semaphore when iterating in mark_block_group_to_copy()\n\nmark_block_group_to_copy() iterates over the commit root with\nskip_locking=true. A concurrent transaction commit can swap and free\nthe commit root during iteration, causing use-after-free when\naccessing extent buffers.\n\nFix it by using path->need_commit_sem to protect the commit root search.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-10-11 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98245.json)","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":219021,"id":"CVE-2026-98245","ts":1791707035773,"field":"cvss","old":null,"new":"7"},{"seq":219020,"id":"CVE-2026-98245","ts":1791707035773,"field":"severity","old":"none","new":"high"}]}