# CVE-2026-31455: xfs: stop reclaim before pushing AIL during unmount

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-22T13:53:48.914Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

xfs: stop reclaim before pushing AIL during unmount

The unmount sequence in xfs_unmount_flush_inodes() pushed the AIL while
background reclaim and inodegc are still running. This is broken
independently of any use-after-free issues - background reclaim and
inodegc should not be running while the AIL is being pushed during
unmount, as inodegc can dirty and insert inodes into the AIL during the
flush, and background reclaim can race to abort and free dirty inodes.

Reorder xfs_unmount_flush_inodes() to stop inodegc and cancel background
reclaim before pushing the AIL. Stop inodegc before cancelling
m_reclaim_work because the inodegc worker can re-queue m_reclaim_work
via xfs_inodegc_set_reclaimable.

(As written by CVE List.)

## Affected

- Linux Linux: from 90c60e16401248a4900f3f9387f563d0178dcf34 before e6cc490048f78b009259a5f032acead9f789c34c; from 90c60e16401248a4900f3f9387f563d0178dcf34 before 239d734c00644072862fa833805c4471573b1445; from 90c60e16401248a4900f3f9387f563d0178dcf34 before bda27fc0b4eb3a425d9a18475c4cb94fbe862c60; from 90c60e16401248a4900f3f9387f563d0178dcf34 before d38135af04a3ad8a585c899d176efc8e97853115; from 90c60e16401248a4900f3f9387f563d0178dcf34 before a89434a6188d8430ea31120da96e3e4cefb58686; from 90c60e16401248a4900f3f9387f563d0178dcf34 before 8147e304d7d32fd5c3e943babc296ce2873dc279; from 90c60e16401248a4900f3f9387f563d0178dcf34 before 558e3275d8a3b101be18a7fe7d1634053e9d9b07; from 90c60e16401248a4900f3f9387f563d0178dcf34 before 4f24a767e3d64a5f58c595b5c29b6063a201f1e3; 5.9 (not affected: before 5.9; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.131 up to 6.6.*; from 6.12.80 up to 6.12.*; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.9 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.131; from 6.7 before 6.12.80; from 6.13 before 6.18.21; from 6.19 before 6.19.11; 7.0

## References

- <https://git.kernel.org/stable/c/e6cc490048f78b009259a5f032acead9f789c34c> (patch)
- <https://git.kernel.org/stable/c/239d734c00644072862fa833805c4471573b1445> (patch)
- <https://git.kernel.org/stable/c/bda27fc0b4eb3a425d9a18475c4cb94fbe862c60> (patch)
- <https://git.kernel.org/stable/c/d38135af04a3ad8a585c899d176efc8e97853115> (patch)
- <https://git.kernel.org/stable/c/a89434a6188d8430ea31120da96e3e4cefb58686> (patch)
- <https://git.kernel.org/stable/c/8147e304d7d32fd5c3e943babc296ce2873dc279> (patch)
- <https://git.kernel.org/stable/c/558e3275d8a3b101be18a7fe7d1634053e9d9b07> (patch)
- <https://git.kernel.org/stable/c/4f24a767e3d64a5f58c595b5c29b6063a201f1e3> (patch)

## Sources

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

---

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