CVE-2026-80561

Source
https://cve.org/CVERecord?id=CVE-2026-80561
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80561.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80561
Downstream
Published
2026-08-26T14:37:26.572Z
Modified
2026-08-28T03:47:29.300488918Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
libceph: fix multiple unsafe decodes in decode_locker()
Details

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

libceph: fix multiple unsafe decodes in decode_locker()

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

  1. cephdecodecopy() at the lockeridt name field has no preceding bounds check. With p == end after cephstartdecoding() accepts structlen=0, this reads sizeof(cephentity_name) = 9 bytes past the validated buffer boundary.

  2. *p += sizeof(struct cephtimespec) after the lockerinfo_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 = cephdecode32(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: cephdecodecopy -> cephdecodecopysafe *p += sizeof(...) -> cephdecodeskipn cephdecode32(p) -> cephdecode32safe *p += len -> cephdecodeskipn

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 cephdecodeskip_string() to skip description, trim changelog ]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80561.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d4ed4a530562881cc5225050e42d96034f405aae
Fixed
1ed45c8d96498725eb54f740172f9068d8673906
Fixed
6265103e78f0ee7e2518de9cf938b94bee9700a0
Fixed
3c3716dc06a34e4ca7f743f5fcfa07fbc5a11070
Fixed
fa4aa86fff0c56799c2e3f51a88879053285f4a9
Fixed
dbfd83f722a78446ec18a476ef7a38e52240b50a
Fixed
d1bba38574d095f191557d397d9633f08cd966b1
Fixed
51c8d238fe7236de627ab1a1433694552a904136
Fixed
437b6551cfcc235eea1d735a874f9d421f555e17

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80561.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
5.10.266
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.217
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.184
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.153
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.105
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.46
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80561.json"