# CVE-2026-52954: libceph: handle rbtree insertion error in decode\_choose\_args()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-28)
- **CWE:** CWE-617, CWE-20
- **Published:** 2026-06-24T16:28:36.992Z
- **Modified:** 2026-10-19T20:18:50.350Z

## Who should check

- Anyone running Linux \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< c7bf7864e2924fa5508ac270b0e9364bc13d5a6c; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< f47430fc1f815e87406e2d3b4e476eff1bc7fd9b; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 534ebc08df97c47d4c7596f336fa31ecbf91519c; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 80c73bd1b2b04355d1d0c29be8ccbd25a380905d; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 4d2b37abda9536808655830d683dc491d31741a8; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 0a1265a9ab875f92b6a3ffb497404f46cf9d76a3; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< d289478cfc0bcf81c7914200d6abdcb78bd04ded
- Anyone running Linux 4.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

libceph: handle rbtree insertion error in decode\_choose\_args()

A message of type CEPH\_MSG\_OSD\_MAP contains an OSD map that itself
contains a CRUSH map. The received CRUSH map may optionally contain
choose\_args that get decoded in decode\_choose\_args(). In this function,
num\_choose\_arg\_maps is read from the message, and a corresponding number
of crush\_choose\_arg\_maps gets decoded afterwards. Each
crush\_choose\_arg\_map has a choose\_args\_index, which serves as the key
when inserting it into the choose\_args rbtree of the decoded crush\_map.
If a (potentially corrupted) message contains two crush\_choose\_arg\_maps
with the same index, the assertion in insert\_choose\_arg\_map() triggers a
kernel BUG when trying to insert the second crush\_choose\_arg\_map.

This patch fixes the issue by switching to the non-asserting rbtree
insertion function and rejecting the message if the insertion fails.

\[ idryomov: changelog \]

## Affected and fixed versions

- Linux: \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< c7bf7864e2924fa5508ac270b0e9364bc13d5a6c; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< f47430fc1f815e87406e2d3b4e476eff1bc7fd9b; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 534ebc08df97c47d4c7596f336fa31ecbf91519c; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 80c73bd1b2b04355d1d0c29be8ccbd25a380905d; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 4d2b37abda9536808655830d683dc491d31741a8; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 0a1265a9ab875f92b6a3ffb497404f46cf9d76a3; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< d289478cfc0bcf81c7914200d6abdcb78bd04ded (cvelist)
- Linux: 4.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52954. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52954.md
Affected: Linux >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < c7bf7864e2924fa5508ac270b0e9364bc13d5a6c; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < f47430fc1f815e87406e2d3b4e476eff1bc7fd9b; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da; >= 5cf9c4a9959b6273675310d…
Fixed in: Linux 0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da, Linux 534ebc08df97c47d4c7596f336fa31ecbf91519c, Linux 80c73bd1b2b04355d1d0c29be8ccbd25a380905d, Linux 4d2b37abda9536808655830d683dc491d31741a8, Linux 0a1265a9ab875f92b6a3ffb497404f46cf9d76a3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52954 being exploited?

There is no confirmed exploitation: CVE-2026-52954 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-52954?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-52954?

Linux \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< c7bf7864e2924fa5508ac270b0e9364bc13d5a6c; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< f47430fc1f815e87406e2d3b4e476eff1bc7fd9b; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 534ebc08df97c47d4c7596f336fa31ecbf91519c; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 80c73bd1b2b04355d1d0c29be8ccbd25a380905d; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 4d2b37abda9536808655830d683dc491d31741a8; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< 0a1265a9ab875f92b6a3ffb497404f46cf9d76a3; \>= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \< d289478cfc0bcf81c7914200d6abdcb78bd04ded; Linux 4.13.

### Is there a fix for CVE-2026-52954?

Yes. Fixed in Linux 0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da, Linux 534ebc08df97c47d4c7596f336fa31ecbf91519c, Linux 80c73bd1b2b04355d1d0c29be8ccbd25a380905d, Linux 4d2b37abda9536808655830d683dc491d31741a8, Linux 0a1265a9ab875f92b6a3ffb497404f46cf9d76a3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-52954?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c7bf7864e2924fa5508ac270b0e9364bc13d5a6c>
- patch: <https://git.kernel.org/stable/c/f47430fc1f815e87406e2d3b4e476eff1bc7fd9b>
- patch: <https://git.kernel.org/stable/c/0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da>
- patch: <https://git.kernel.org/stable/c/534ebc08df97c47d4c7596f336fa31ecbf91519c>
- patch: <https://git.kernel.org/stable/c/80c73bd1b2b04355d1d0c29be8ccbd25a380905d>
- patch: <https://git.kernel.org/stable/c/4d2b37abda9536808655830d683dc491d31741a8>
- patch: <https://git.kernel.org/stable/c/0a1265a9ab875f92b6a3ffb497404f46cf9d76a3>
- patch: <https://git.kernel.org/stable/c/d289478cfc0bcf81c7914200d6abdcb78bd04ded>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52954>

HTML: <https://flawdb.com/CVE-2026-52954> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52954>
