CVE-2026-52957CWE-476

CVE-2026-52957

High · published June 24, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
43.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00523 · 43.6th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-06-24T21:17Z
Affected products (15)
ProductVersionsFixed in
linux/linux_kernel≥ 4.13.1, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1416.6.141
linux/linux_kernel≥ 6.7, < 6.12.916.12.91
linux/linux_kernel≥ 6.13, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 24 JUN 16:28Z
    libceph: Fix potential null-ptr-deref in decode_choose_args()
    cvelistv5