{"id":"CVE-2026-98245","published":"2026-10-06T08:45:14Z","modified":"2026-10-30T12:37:57Z","title":"btrfs: take commit root semaphore when iterating in mark_block_group_to_copy()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00173,"percentile":0.06636,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/90242b776df83f8b1ea901f80b568b4fc2318c61","tags":[]},{"url":"https://git.kernel.org/stable/c/bffe773f92885603db14047bba0f12089105929e","tags":[]},{"url":"https://git.kernel.org/stable/c/93a025166495c63ba5b8ac721c7040d5312e8335","tags":[]},{"url":"https://git.kernel.org/stable/c/8e2007b263ea250251ec3021a0a197da990ee1a8","tags":[]},{"url":"https://git.kernel.org/stable/c/709f6a5e986535005110c6c69b322f63631cb200","tags":[]},{"url":"https://git.kernel.org/stable/c/c32490c6d3f3a9f2d177d57c7eb8bbc347561d08","tags":[]},{"url":"https://git.kernel.org/stable/c/0594e3423f4ba3137c734371169491f9a98e9af4","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.33}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 78ce9fc269af6e69c1399ab910ba6bc81c934f67, < 90242b776df83f8b1ea901f80b568b4fc2318c61",">= 78ce9fc269af6e69c1399ab910ba6bc81c934f67, < bffe773f92885603db14047bba0f12089105929e",">= 78ce9fc269af6e69c1399ab910ba6bc81c934f67, < 93a025166495c63ba5b8ac721c7040d5312e8335",">= 78ce9fc269af6e69c1399ab910ba6bc81c934f67, < 8e2007b263ea250251ec3021a0a197da990ee1a8",">= 78ce9fc269af6e69c1399ab910ba6bc81c934f67, < 709f6a5e986535005110c6c69b322f63631cb200",">= 78ce9fc269af6e69c1399ab910ba6bc81c934f67, < c32490c6d3f3a9f2d177d57c7eb8bbc347561d08",">= 78ce9fc269af6e69c1399ab910ba6bc81c934f67, < 0594e3423f4ba3137c734371169491f9a98e9af4"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"euvd":{"id":"EUVD-2026-93173","exploited":false,"provenance":"source"}}