CVE-2024-50216

xfs: fix finding a last resort AG in xfs_filestream_pick_ag

published November 9, 2024

CVSS
—
EPSS
0%
Percentile
13.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00231 · 13.2th percentile
Published
2024-11-09T10:14Z
EPSS history
Timeline
  • 09 NOV 10:14Z
    xfs: fix finding a last resort AG in xfs_filestream_pick_ag
    cvelistv5