# CVE-2026-98244: btrfs: clear free space tree creation state on rebuild failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-06T08:45:14.120Z
- Modified: 2026-10-19T10:18:25.303Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: clear free space tree creation state on rebuild failure

btrfs_rebuild_free_space_tree() sets BTRFS_FS_CREATING_FREE_SPACE_TREE
before rebuilding the free space tree.  Several error paths return
without clearing this flag.

The transaction restart failure path can leave the flag set on a live
filesystem, causing delayed reference processing to be skipped. Clear it
on all free space tree rebuild failure paths. Keep
BTRFS_FS_FREE_SPACE_TREE_UNTRUSTED set, since a failed rebuild leaves
the free space tree untrusted. Callers must fall back to extent-tree
caching.

(As written by CVE List.)

## Affected

- Linux Linux: from 882af9f13e830c0a4ef696bb72cd5998a5067a93 before a32bedab8ece9d1f90a1476a5b486a1804dc78ba; from 882af9f13e830c0a4ef696bb72cd5998a5067a93 before b1df2997d0cd2be7bef7b4ab64ccfd1019dedc81; from 882af9f13e830c0a4ef696bb72cd5998a5067a93 before 3565893cc72cdf6b795cf6a33e7ff9605322334d; 6.14 (not affected: before 6.14; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a32bedab8ece9d1f90a1476a5b486a1804dc78ba>
- <https://git.kernel.org/stable/c/b1df2997d0cd2be7bef7b4ab64ccfd1019dedc81>
- <https://git.kernel.org/stable/c/3565893cc72cdf6b795cf6a33e7ff9605322334d>

## Sources

- CVE List: [CVE-2026-98244](https://www.cve.org/CVERecord?id=CVE-2026-98244), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98244](https://nvd.nist.gov/vuln/detail/CVE-2026-98244), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98244 · Whole record: https://cve.day/CVE-2026-98244.json · Rebuilt by cve.day 2026-11-25T22:59:42.301Z
