CVE-2026-80561

libceph: fix multiple unsafe decodes in decode_locker()

9.8 critical EPSS 0.51%

Published 26 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-80561

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-80561 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 multiple unsafe decodes in decode_locker()

decode_locker() in cls_lock_client.c contains three unsafe decode operations that allow a malicious or compromised OSD to trigger slab-out-of-bounds reads:

1. ceph_decode_copy() at the locker_id_t name field has no preceding bounds check. With p == end after ceph_start_decoding() accepts struct_len=0, this reads sizeof(ceph_entity_name) = 9 bytes past the validated buffer boundary.

2. *p += sizeof(struct ceph_timespec) after the locker_info_t header is an unchecked pointer advance. A malicious OSD can position p past end, causing all subsequent _safe checks to pass against a bogus boundary.

3. len = ceph_decode_32(p) has no preceding bounds check, and the immediately following *p += len is uncapped. A malicious OSD can send len=0xffffffff, advancing p gigabytes past end and escaping the decode window entirely.

Fix all three by replacing bare operations with their safe variants: ceph_decode_copy -> ceph_decode_copy_safe *p += sizeof(...) -> ceph_decode_skip_n ceph_decode_32(p) -> ceph_decode_32_safe *p += len -> ceph_decode_skip_n

A new label is added to return -EINVAL on any bounds violation. -EINVAL is appropriate here: the data received from the OSD is structurally malformed, which is an invalid argument to the decode contract regardless of whether the caller or the wire is at fault.

Attacker model: a malicious or compromised OSD in a multi-tenant Ceph deployment can trigger this against any kernel client that issues the lock.get_info class method (e.g. during RBD exclusive lock acquisition) without any further privileges beyond OSD session establishment.

[ idryomov: use ceph_decode_skip_string() to skip description, trim changelog ]

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)

Exploitation

EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 45.3% 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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d4ed4a530562881cc5225050e42d96034f405aae, before 1ed45c8d96498725eb54f740172f9068d8673906
affected from d4ed4a530562881cc5225050e42d96034f405aae, before 6265103e78f0ee7e2518de9cf938b94bee9700a0
affected from d4ed4a530562881cc5225050e42d96034f405aae, before 3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070
affected from d4ed4a530562881cc5225050e42d96034f405aae, before fa4aa86fff0c56799c2e3f51a88879053285f4a9
affected from d4ed4a530562881cc5225050e42d96034f405aae, before dbfd83f722a78446ec18a476ef7a38e52240b50a
affected from d4ed4a530562881cc5225050e42d96034f405aae, before d1bba38574d095f191557d397d9633f08cd966b1
affected from d4ed4a530562881cc5225050e42d96034f405aae, before 51c8d238fe7236de627ab1a1433694552a904136
affected from d4ed4a530562881cc5225050e42d96034f405aae, before 437b6551cfcc235eea1d735a874f9d421f555e17
Other versions: unaffected
Linux
affected 4.9
unaffected before 4.9
unaffected from 5.10.266 up to and including 5.10.*
unaffected from 5.15.217 up to and including 5.15.*
unaffected from 6.1.184 up to and including 6.1.*
unaffected from 6.6.153 up to and including 6.6.*
unaffected from 6.12.105 up to and including 6.12.*
unaffected from 6.18.46 up to and including 6.18.*
unaffected from 7.1.10 up to and including 7.1.*
unaffected 7.2 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-80561 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80561

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

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-80561 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.