CVE-2026-52957

libceph: Fix potential null-ptr-deref in decode_choose_args()

7.5 high EPSS 0.52%

Published 24 Jun 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-52957

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-52957 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 45.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before d55ffad8d422b5d1cc44dad32bd3d25f4471cd9f
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before 301286c0ccd37d66b0e40786fd35a4f19cdbd88a
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before 7169f326a23d0f547fcd90e68b72fd387622e126
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before d7a65a34d2453f8cd3e0cc0e1319740af7e24276
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before 312ec973efac0efb9b9ed64214235910e9ecbaa8
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before f2f95e6d4b97e70bb876139b0583fc8079983f85
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c
affected from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, before 28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf
Other versions: unaffected
Linux
affected 4.13
unaffected before 4.13
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.141 up to and including 6.6.*
unaffected from 6.12.91 up to and including 6.12.*
unaffected from 6.18.33 up to and including 6.18.*
unaffected from 7.0.10 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-52957 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52957

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-52957
trivy image --scanners vuln IMAGE | grep CVE-2026-52957

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-52957 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.