CVE-2024-50216

Source
https://cve.org/CVERecord?id=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-09T10:14:27.875Z
Modified
2026-03-20T12:39:38.655444Z
Summary
xfs: fix finding a last resort AG in xfs_filestream_pick_ag
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50216.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6
Fixed
77ddc732416b017180893cbb2356e9f0a414c575
Fixed
a023408925acd64db5c8980373fcb3e28ec6fd29
Fixed
dc60992ce76fbc2f71c2674f435ff6bde2108028

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50216.json"