CVE-2026-31455

xfs: stop reclaim before pushing AIL during unmount

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 90c60e16401248a4900f3f9387f563d0178dcf34 < e6cc490048f78b009259a5f032acead9f789c34c ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 239d734c00644072862fa833805c4471573b1445 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < bda27fc0b4eb3a425d9a18475c4cb94fbe862c60 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < d38135af04a3ad8a585c899d176efc8e97853115 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < a89434a6188d8430ea31120da96e3e4cefb58686 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 8147e304d7d32fd5c3e943babc296ce2873dc279
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.131 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD