PT-2026-51851 · Linux · Linux
Published
2026-06-24
·
Updated
2026-06-24
·
CVE-2026-52957
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
libceph: Fix potential null-ptr-deref in decode choose args()
A message of type CEPH MSG OSD MAP contains an OSD map that itself
contains a CRUSH map. When decoding this CRUSH map in crush decode(), an
array of max buckets CRUSH buckets is decoded, where some indices may
not refer to actual buckets and are therefore set to NULL. The received
CRUSH map may optionally contain choose args that get decoded in
decode choose args(). When decoding a crush choose arg map, a series of
choose args for different buckets is decoded, with the bucket index
being read from the incoming message. It is only checked that the bucket
index does not exceed max buckets, but not that it doesn't point to an
index with a NULL bucket. If a (potentially corrupted) message contains
a crush choose arg map including such a bucket index, a null pointer
dereference may occur in the subsequent processing when attempting to
access the bucket with the given index.
This patch fixes the issue by extending the affected check. Now, it is
only attempted to access the bucket if it is not NULL.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux