# CVE-2026-80561: libceph: fix multiple unsafe decodes in decode\_locker()

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **Published:** 2026-08-26T14:37:26.572Z
- **Modified:** 2026-10-16T20:18:00.360Z

## Who should check

- Anyone running Linux \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 1ed45c8d96498725eb54f740172f9068d8673906; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 6265103e78f0ee7e2518de9cf938b94bee9700a0; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< fa4aa86fff0c56799c2e3f51a88879053285f4a9; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< dbfd83f722a78446ec18a476ef7a38e52240b50a; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< d1bba38574d095f191557d397d9633f08cd966b1; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 51c8d238fe7236de627ab1a1433694552a904136; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 437b6551cfcc235eea1d735a874f9d421f555e17
- Anyone running Linux 4.9

## 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 \]

## Affected and fixed versions

- Linux: \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 1ed45c8d96498725eb54f740172f9068d8673906; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 6265103e78f0ee7e2518de9cf938b94bee9700a0; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< fa4aa86fff0c56799c2e3f51a88879053285f4a9; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< dbfd83f722a78446ec18a476ef7a38e52240b50a; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< d1bba38574d095f191557d397d9633f08cd966b1; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 51c8d238fe7236de627ab1a1433694552a904136; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 437b6551cfcc235eea1d735a874f9d421f555e17 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 437b6551cfcc235eea1d735a874f9d421f555e17 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80561.md
Affected: Linux >= d4ed4a530562881cc5225050e42d96034f405aae, < 1ed45c8d96498725eb54f740172f9068d8673906; >= d4ed4a530562881cc5225050e42d96034f405aae, < 6265103e78f0ee7e2518de9cf938b94bee9700a0; >= d4ed4a530562881cc5225050e42d96034f405aae, < 3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070; >= d4ed4a530562881cc522505…
Fixed in: Linux 1ed45c8d96498725eb54f740172f9068d8673906, Linux 6265103e78f0ee7e2518de9cf938b94bee9700a0, Linux 3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070, Linux 51c8d238fe7236de627ab1a1433694552a904136, Linux 437b6551cfcc235eea1d735a874f9d421f555e17

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-80561 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 1ed45c8d96498725eb54f740172f9068d8673906; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 6265103e78f0ee7e2518de9cf938b94bee9700a0; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< fa4aa86fff0c56799c2e3f51a88879053285f4a9; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< dbfd83f722a78446ec18a476ef7a38e52240b50a; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< d1bba38574d095f191557d397d9633f08cd966b1; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 51c8d238fe7236de627ab1a1433694552a904136; \>= d4ed4a530562881cc5225050e42d96034f405aae, \< 437b6551cfcc235eea1d735a874f9d421f555e17; Linux 4.9.

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

Yes. Fixed in Linux 1ed45c8d96498725eb54f740172f9068d8673906, Linux 6265103e78f0ee7e2518de9cf938b94bee9700a0, Linux 3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070, Linux 51c8d238fe7236de627ab1a1433694552a904136, Linux 437b6551cfcc235eea1d735a874f9d421f555e17. Upgrade Linux to 437b6551cfcc235eea1d735a874f9d421f555e17 or later.

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

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

- other: <https://git.kernel.org/stable/c/1ed45c8d96498725eb54f740172f9068d8673906>
- other: <https://git.kernel.org/stable/c/6265103e78f0ee7e2518de9cf938b94bee9700a0>
- other: <https://git.kernel.org/stable/c/3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070>
- other: <https://git.kernel.org/stable/c/fa4aa86fff0c56799c2e3f51a88879053285f4a9>
- other: <https://git.kernel.org/stable/c/dbfd83f722a78446ec18a476ef7a38e52240b50a>
- other: <https://git.kernel.org/stable/c/d1bba38574d095f191557d397d9633f08cd966b1>
- other: <https://git.kernel.org/stable/c/51c8d238fe7236de627ab1a1433694552a904136>
- other: <https://git.kernel.org/stable/c/437b6551cfcc235eea1d735a874f9d421f555e17>

## 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-80561>

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