CVE-2026-98245: Linux kernel · btrfs: take commit root semaphore when iterating in mark_block_group_to_copy()
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in c32490c6d3f3a9f2d177d57c7eb8bbc347561d08 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 13:07 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in c32490c6d3f3a9f2d177d57c7eb8bbc347561d08, 709f6a5e986535005110c6c69b322f63631cb200, 0594e3423f4ba3137c734371169491f9a98e9af4 +2
Exploitation evidence
Disclosed: evidence found.
CVE published 6 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
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.
References
- git.kernel.org/stable/c/93a025166495c63ba5b8ac721c7040d5312e8335 (opens in a new tab)
- git.kernel.org/stable/c/8e2007b263ea250251ec3021a0a197da990ee1a8 (opens in a new tab)
- git.kernel.org/stable/c/709f6a5e986535005110c6c69b322f63631cb200 (opens in a new tab)
- git.kernel.org/stable/c/c32490c6d3f3a9f2d177d57c7eb8bbc347561d08 (opens in a new tab)
- git.kernel.org/stable/c/0594e3423f4ba3137c734371169491f9a98e9af4 (opens in a new tab)