CVEvulnerability

CVE-2024-50216

5.5 MEDIUM Published 2024-11-09 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-11-09
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Affected configurations

• linux linux kernel (>= 6.3 < 6.6.60) • linux linux kernel (>= 6.7 < 6.11.7) • linux linux kernel 6.12

References