{"id":"CVE-2024-50216","published":"2024-11-09T10:14:27Z","modified":"2026-05-11T20:47:40Z","title":"xfs: fix finding a last resort AG in xfs_filestream_pick_ag","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix finding a last resort AG in xfs_filestream_pick_ag\n\nWhen the main loop in xfs_filestream_pick_ag fails to find a suitable\nAG it tries to just pick the online AG.  But the loop for that uses\nargs->pag as loop iterator while the later code expects pag to be\nset.  Fix this by reusing the max_pag case for this last resort, and\nalso add a check for impossible case of no AG just to make sure that\nthe uninitialized pag doesn't even escape in theory.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00231,"percentile":0.13826,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/77ddc732416b017180893cbb2356e9f0a414c575","tags":[]},{"url":"https://git.kernel.org/stable/c/a023408925acd64db5c8980373fcb3e28ec6fd29","tags":[]},{"url":"https://git.kernel.org/stable/c/dc60992ce76fbc2f71c2674f435ff6bde2108028","tags":[]}],"priority":{"score":2.8,"factors":[{"name":"EPSS percentile","points":2.77}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6, < 77ddc732416b017180893cbb2356e9f0a414c575",">= f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6, < a023408925acd64db5c8980373fcb3e28ec6fd29",">= f8f1ed1ab3babad46b25e2dbe8de43b33fe7aaa6, < dc60992ce76fbc2f71c2674f435ff6bde2108028"]},{"vendor":"Linux","product":"Linux","versions":["6.3"]}],"euvd":{"id":"EUVD-2024-44718","exploited":false,"provenance":"source"}}