CVE-2024-50216

published 9 Nov 2024 · updated 11 May 2026

xfs: fix finding a last resort AG in xfs_filestream_pick_ag

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 77ddc732416b017180893cbb2356e9f0a414c575, Kernel a023408925acd64db5c8980373fcb3e28ec6fd29 and Kernel dc60992ce76fbc2f71c2674f435ff6bde2108028.

In the Linux kernel, the following vulnerability has been resolved: xfs: fix finding a last resort AG in xfs_filestream_pick_ag When the main loop in xfs_filestream_pick_ag fails to find a suitable AG it tries to just pick the online AG. But the loop for that uses args->pag as loop iterator while the later code expects pag to be set. Fix this by reusing the max_pag case for this last resort, and also add a check for impossible case of no AG just to make sure that the uninitialized pag doesn't even escape in theory.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.3, >=f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6 <77ddc732416b017180893cbb2356e9f0a414c575, >=f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6 <a023408925acd64db5c8980373fcb3e28ec6fd29, >=f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6 <dc60992ce76fbc2f71c2674f435ff6bde210802877ddc732416b017180893cbb2356e9f0a414c575, a023408925acd64db5c8980373fcb3e28ec6fd29, dc60992ce76fbc2f71c2674f435ff6bde2108028

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50216 severity on Zeptric[![CVE-2024-50216](https://zeptric.io/badge/cve/CVE-2024-50216.svg)](https://zeptric.io/cve/CVE-2024-50216)