# CVE-2026-99412: xfs: avoid cross-rtgroup reaping after a repair

- 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.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2026-11-19T14:40:08.325Z
- Modified: 2026-11-19T15:17:53.877Z
- Assigned by: Linux

## Description

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

xfs: avoid cross-rtgroup reaping after a repair

LOLLM notices that the extents stored in a xrtb_bitmap (aka xfs_rtblock
bitmap) can span multiple rtgroups due to two circumstances.  The first
is that the size of an rtgroup is an exact power of two, which means
that rtgroups are adjacent in the segmented xfs_rtblock_t address space.
This is fairly common to reduce the amount of multiplication and
division needed to handle space on the rt volume.

The second is that (unlike in the original rtgroups design), rtgroups do
not have fixed-location metadata like AGs do, which means that there's
nothing to force a break between rtgroups.

Therefore, we must loop through the rtgroups in xreap_rtmeta_extent to
avoid running off the end of an rtgroup while reaping.

(As written by CVE List.)

## Affected

- Linux Linux: from fd97fe1112088c16594dcd45e809f1643e623309 before 84c0abd7e70fde9f2f61f06287dbee82734e664a; from fd97fe1112088c16594dcd45e809f1643e623309 before d46e7803780d5f1a7bbb889f54ab400c30508f09; from fd97fe1112088c16594dcd45e809f1643e623309 before d7c204d4ea7ef0cf0dac908388984c2936f1f94e; 6.14 (not affected: before 6.14; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/84c0abd7e70fde9f2f61f06287dbee82734e664a>
- <https://git.kernel.org/stable/c/d46e7803780d5f1a7bbb889f54ab400c30508f09>
- <https://git.kernel.org/stable/c/d7c204d4ea7ef0cf0dac908388984c2936f1f94e>

## Sources

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

---

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