CVE-2024-50216

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50216
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50216.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50216
Downstream
Related
Published
2024-11-09T11:15:06Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

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

xfs: fix finding a last resort AG in xfsfilestreampick_ag

When the main loop in xfsfilestreampickag 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 maxpag 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.

References

Affected packages