xfs: stop reclaim before pushing AIL during unmount
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.203, Kernel 6.1.168, Kernel 5.10.253 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.203, >=5.16 <6.1.168, >=5.9 <5.10.253, >=6.13 <6.18.21, >=6.19 <6.19.11, >=6.2 <6.6.131, >=6.7 <6.12.80, =7.0, >=90c60e16401248a4900f3f9387f563d0178dcf34 <4f24a767e3d64a5f58c595b5c29b6063a201f1e3, >=90c60e16401248a4900f3f9387f563d0178dcf34 <558e3275d8a3b101be18a7fe7d1634053e9d9b07, >=90c60e16401248a4900f3f9387f563d0178dcf34 <8147e304d7d32fd5c3e943babc296ce2873dc279, >=90c60e16401248a4900f3f9387f563d0178dcf34 <a89434a6188d8430ea31120da96e3e4cefb58686, >=90c60e16401248a4900f3f9387f563d0178dcf34 <bda27fc0b4eb3a425d9a18475c4cb94fbe862c60, >=90c60e16401248a4900f3f9387f563d0178dcf34 <d38135af04a3ad8a585c899d176efc8e97853115, >=90c60e16401248a4900f3f9387f563d0178dcf34 <e6cc490048f78b009259a5f032acead9f789c34c, =5.9, >=90c60e16401248a4900f3f9387f563d0178dcf34 <239d734c00644072862fa833805c4471573b1445 | 5.15.203, 6.1.168, 5.10.253, 6.18.21, 6.19.11, 6.6.131, 6.12.80, 4f24a767e3d64a5f58c595b5c29b6063a201f1e3, 558e3275d8a3b101be18a7fe7d1634053e9d9b07, 8147e304d7d32fd5c3e943babc296ce2873dc279, a89434a6188d8430ea31120da96e3e4cefb58686, bda27fc0b4eb3a425d9a18475c4cb94fbe862c60, d38135af04a3ad8a585c899d176efc8e97853115, e6cc490048f78b009259a5f032acead9f789c34c, 239d734c00644072862fa833805c4471573b1445 |
| linux-kernel: Kernel | >=5.11.0 <5.15.203, >=5.16.0 <6.1.168, >=5.9.0 <5.10.253, >=6.13.0 <6.18.21, >=6.19.0 <6.19.11, >=6.2.0 <6.6.131, >=6.7.0 <6.12.80 | 5.15.203, 6.1.168, 5.10.253, 6.18.21, 6.19.11, 6.6.131, 6.12.80 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket