CVE-2026-52954: libceph: handle rbtree insertion error in decode_choose_args()

Published Jun 24, 2026
·
Updated

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

libceph: handle rbtree insertion error in decodechooseargs()

A message of type CEPHMSGOSDMAP contains an OSD map that itself contains a CRUSH map. The received CRUSH map may optionally contain chooseargs that get decoded in decodechooseargs(). In this function, numchooseargmaps is read from the message, and a corresponding number of crushchooseargmaps gets decoded afterwards. Each crushchooseargmap has a chooseargsindex, which serves as the key when inserting it into the chooseargs rbtree of the decoded crushmap. If a (potentially corrupted) message contains two crushchooseargmaps with the same index, the assertion in insertchooseargmap() triggers a kernel BUG when trying to insert the second crushchooseargmap.

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 Software

12 affected components
Linux Linux kernel
Microsoft azl3 kernel 6.6.143.1-1
Linux Linux kernel>=4.13<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.141
Linux Linux kernel>=6.7<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch idryomov

Event History

Jun 24, 2026
CVE Published
via MITRE·04:28 PM
Data Sourced
via MITRE·04:28 PM
DescriptionSeverity
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:12 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-52954?

CVE-2026-52954 has a risk rating of 50, indicating a moderate severity level.

2

How do I fix CVE-2026-52954?

To resolve CVE-2026-52954, you should update your Linux kernel to the latest patched version provided by your distribution.

3

What components are affected by CVE-2026-52954?

CVE-2026-52954 affects the Linux kernel, specifically the libceph implementation.

4

What type of vulnerability is CVE-2026-52954?

CVE-2026-52954 is an error handling vulnerability related to rbtree insertion within the decode_choose_args() function.

5

Is CVE-2026-52954 exploitable remotely?

Yes, CVE-2026-52954 has the potential to be exploited remotely via specially crafted CEPH_MSG_OSD_MAP messages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203