Bug 2324899 (CVE-2024-50216) - CVE-2024-50216 kernel: xfs: fix finding a last resort AG in xfs_filestream_pick_ag
Summary: CVE-2024-50216 kernel: xfs: fix finding a last resort AG in xfs_filestream_pi...
Keywords:
Status: NEW
Alias: CVE-2024-50216
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2325127
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-09 11:04 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:35:00 UTC

Description OSIDB Bzimport 2024-11-09 11:04:03 UTC
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.

Comment 1 Avinash Hanwate 2024-11-11 07:04:39 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024110924-CVE-2024-50216-a031@gregkh/T

Comment 2 errata-xmlrpc 2025-05-13 08:34:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.