CVE-2026-98245
btrfs: take commit root semaphore when iterating in mark_block_group_to_copy()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
In the Linux kernel, the following vulnerability has been resolved: btrfs: take commit root semaphore when iterating in mark_block_group_to_copy() mark_block_group_to_copy() iterates over the commit root with skip_locking=true. A concurrent transaction commit can swap and free the commit root during iteration, causing use-after-free when accessing extent buffers. Fix it by using path->need_commit_sem to protect the commit root search.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Oct 6, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 8e2007b263ea250251ec3021a0a197da990ee1a8 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 709f6a5e986535005110c6c69b322f63631cb200 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < c32490c6d3f3a9f2d177d57c7eb8bbc347561d08 78ce9fc269af6e69c1399ab910ba6bc81c934f67 < 0594e3423f4ba3137c734371169491f9a98e9af4
Linux / Linux
5.12
References
git.kernel.org: https://git.kernel.org/stable/c/8e2007b263ea250251ec3021a0a197da990ee1a8 git.kernel.org: https://git.kernel.org/stable/c/709f6a5e986535005110c6c69b322f63631cb200 git.kernel.org: https://git.kernel.org/stable/c/c32490c6d3f3a9f2d177d57c7eb8bbc347561d08 git.kernel.org: https://git.kernel.org/stable/c/0594e3423f4ba3137c734371169491f9a98e9af4