CVE-2026-52955

libceph: Fix potential out-of-bounds access in crush_decode()

9.8 critical EPSS 0.38%

Published 24 Jun 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-52955

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-52955 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 out-of-bounds access in crush_decode()

A message of type CEPH_MSG_OSD_MAP containing a crush map with at least one bucket has two fields holding the bucket algorithm. If the values in these two fields differ, an out-of-bounds access can occur. This is the case because the first algorithm field (alg) is used to allocate the correct amount of memory for a bucket of this type, while the second algorithm field inside the bucket (b->alg) is used in the subsequent processing.

This patch fixes the issue by adding a check that compares alg and b->alg and aborts the processing in case they differ. Furthermore, b->alg is set to 0 in this case, because the destruction of the crush map also uses this field to determine the bucket type, which can again result in an out-of-bounds access when trying to free the memory pointed to by the fields of the bucket. To correctly free the memory allocated for the bucket in such a case, the corresponding call to kfree is moved from the algorithm-specific crush_destroy_bucket functions to the generic crush_destroy_bucket().

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
4.7 medium CVSS 3.1 from redhat-SADP
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user 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.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 34.1% 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
total: full control of the component or of its data

Weakness

  • CWE-131 Incorrect Calculation of Buffer Size

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before 6e70ef53e818c53eab28d7b0026b7fd03dddaba5
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before ebe76d58a48a48031b98543d86c4cd30a825b622
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before 3f42508191e129ee6b5ea96578d5cab14f2a013a
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before ea0d42137f0c06da71e37ffc647aab4c5309599a
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before cceb10023e76bc89f3fe9238ebd0ccab0fc7c7c5
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before 0f3604cbe4df14c5e58288ac9f57511e726a222d
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before fb176a99e4c1a5a8448a83d83d3606203ba81faa
affected from f24e9980eb860d8600cbe5ef3d2fd9295320d229, before 4c79fc2d598694bda845b46229c9d48b65042970
Other versions: unaffected
Linux
affected 2.6.34
unaffected before 2.6.34
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-52955 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52955

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-52955
trivy image --scanners vuln IMAGE | grep CVE-2026-52955

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

Advisories

Other references

Source: the record CVE-2026-52955 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.