CVE-2024-50216 Details
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.
A vulnerability in the Linux kernel's XFS filesystem has been addressed. The issue arose in the 'xfs_filestream_pick_ag' function, where the algorithm failed to find a suitable allocation group (AG). As a fallback, it attempted to select an online AG, but the implementation was flawed. The loop used an uninitialized variable as an iterator, leading to potential undefined behavior. The vulnerability has been fixed by reusing a previously established variable for the fallback selection and adding a safeguard to prevent the uninitialized variable from causing issues.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is 'dc60992ce76fbc2f71c2674f435ff6bde2108028', which is included in the official Linux kernel repositories.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/77ddc732416b017180893cbb2356e9f0a414c575 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a023408925acd64db5c8980373fcb3e28ec6fd29 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dc60992ce76fbc2f71c2674f435ff6bde2108028 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.3, < 6.6.60 >= 6.7, < 6.11.7 6.12 rc1 6.12 rc2 6.12 rc3 6.12 rc4 6.12 rc5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 8, 2025 | Initial Analysis | [email protected] |
| Nov 9, 2024 | New CVE Received | kernel.org |