CVE-2026-31455

xfs: stop reclaim before pushing AIL during unmount

State
Published
Severity
Not scored
Published
Apr 22, 2026
Updated
May 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before e6cc490048f78b009259a5f032acead9f789c34cAffected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 239d734c00644072862fa833805c4471573b1445Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before bda27fc0b4eb3a425d9a18475c4cb94fbe862c60Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before d38135af04a3ad8a585c899d176efc8e97853115Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before a89434a6188d8430ea31120da96e3e4cefb58686Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 8147e304d7d32fd5c3e943babc296ce2873dc279Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 558e3275d8a3b101be18a7fe7d1634053e9d9b07Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 4f24a767e3d64a5f58c595b5c29b6063a201f1e3Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.131 through 6.6.*Not affected
  • 6.12.80 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.