VDB

CVE-2024-50216

CVE-2024-50216 PUBLISHED

xfs: fix finding a last resort AG in xfs_filestream_pick_ag

Reported by linux · Published November 9, 2024

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.

EPSS 0.23% · 14.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxdc60992ce76fbc2f71c2674f435ff6bde2108028, 6.3

Risk scores

EPSS Score
0.23%
14.0th percentile

Affected products

VendorProductVersions
LinuxLinuxf8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6, f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6, f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6
LinuxLinux6.3, 0, 6.6.60
LinuxLinux6.12, 0, 6.6.60
linuxlinux_kernel6.3, 6.3, 6.3

Timeline

  • Nov 9, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Nov 9, 2024 CVE Published
  • Nov 10, 2024 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 2, 2026 Security Advisory (131 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (114 in total, the first dated here)
  • May 11, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-50216
vulnetix vdb fixes CVE-2024-50216

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50216/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›