Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.3, < 6.6.60 |
References
- https://git.kernel.org/stable/c/77ddc732416b017180893cbb2356e9f0a414c575Patch
- https://git.kernel.org/stable/c/a023408925acd64db5c8980373fcb3e28ec6fd29Patch
- https://git.kernel.org/stable/c/dc60992ce76fbc2f71c2674f435ff6bde2108028Patch
FAQ
What is CVE-2024-50216?
CVE-2024-50216 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ...
How severe is CVE-2024-50216?
CVE-2024-50216 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50216?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.