# CVE-2026-80557: libceph: fix OOB read in decode\_watchers() via missing bounds check

> 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:24.178Z
- **Modified:** 2026-10-16T20:18:00.017Z

## Who should check

- Anyone running Linux \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 85479b7d65b4ebcb07fbbe57230976793974ab4a; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 1c824e7c75bb4adf19553dd4ea944a5d83096be8; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< f161be39201eb5f9b1f58fb8f90b8a9cd3931eb6; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< eab3eeb68bfc639d74f27256f05546af5c4f787d; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< c59219a6b62d74936963983e5815524c3de8dd79; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< cb8246e5846dbbe34930903a90c7a90dd8e5910b; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 7130d94846dadbb97b6b7f4d78a3a7bba6e3daa1; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 00ead17c7de137a692edee59f2772e6af687e8eb
- Anyone running Linux 4.9

## Description

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

libceph: fix OOB read in decode\_watchers() via missing bounds check

ceph\_start\_decoding() validates that struct\_len bytes remain in the
buffer after the encoding header, but accepts struct\_len=0 as valid:
ceph\_decode\_need(p, end, 0, bad) always passes. When a malicious or
compromised OSD sends an obj\_list\_watch\_response\_t reply with
struct\_len=0, ceph\_start\_decoding() returns success with p == end,
leaving zero bytes guaranteed for subsequent reads.

The immediately following ceph\_decode\_32(p) in decode\_watchers() has
no preceding bounds check. With p == end this is a 4-byte read past
the validated buffer boundary. The garbage value is then passed
directly to kzalloc\_objs() as the watcher count.

The sibling function decode\_watcher() already uses the safe variants
(ceph\_decode\_copy\_safe, ceph\_decode\_64\_safe, ceph\_decode\_skip\_32)
after its own ceph\_start\_decoding() call. decode\_watchers() is the
only site that uses the bare variant, confirming an oversight.

Fix by replacing ceph\_decode\_32(p) with ceph\_decode\_32\_safe(p, end,
\*num\_watchers, bad), consistent with the established pattern.

Attacker model: a malicious or compromised OSD in a multi-tenant Ceph
deployment (e.g. cloud) can trigger this against any kernel client
that calls CEPH\_OSD\_OP\_LIST\_WATCHERS, without any further privileges
beyond OSD session establishment.

\[ idryomov: trim changelog \]

## Affected and fixed versions

- Linux: \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 85479b7d65b4ebcb07fbbe57230976793974ab4a; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 1c824e7c75bb4adf19553dd4ea944a5d83096be8; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< f161be39201eb5f9b1f58fb8f90b8a9cd3931eb6; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< eab3eeb68bfc639d74f27256f05546af5c4f787d; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< c59219a6b62d74936963983e5815524c3de8dd79; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< cb8246e5846dbbe34930903a90c7a90dd8e5910b; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 7130d94846dadbb97b6b7f4d78a3a7bba6e3daa1; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 00ead17c7de137a692edee59f2772e6af687e8eb (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 00ead17c7de137a692edee59f2772e6af687e8eb 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-80557. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80557.md
Affected: Linux >= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, < 85479b7d65b4ebcb07fbbe57230976793974ab4a; >= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, < 1c824e7c75bb4adf19553dd4ea944a5d83096be8; >= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, < f161be39201eb5f9b1f58fb8f90b8a9cd3931eb6; >= a4ed38d7a180f184a6e7aed…
Fixed in: Linux 85479b7d65b4ebcb07fbbe57230976793974ab4a, Linux 1c824e7c75bb4adf19553dd4ea944a5d83096be8, Linux 7130d94846dadbb97b6b7f4d78a3a7bba6e3daa1, Linux 00ead17c7de137a692edee59f2772e6af687e8eb

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

There is no confirmed exploitation: CVE-2026-80557 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-80557?

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

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

Linux \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 85479b7d65b4ebcb07fbbe57230976793974ab4a; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 1c824e7c75bb4adf19553dd4ea944a5d83096be8; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< f161be39201eb5f9b1f58fb8f90b8a9cd3931eb6; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< eab3eeb68bfc639d74f27256f05546af5c4f787d; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< c59219a6b62d74936963983e5815524c3de8dd79; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< cb8246e5846dbbe34930903a90c7a90dd8e5910b; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 7130d94846dadbb97b6b7f4d78a3a7bba6e3daa1; \>= a4ed38d7a180f184a6e7aedd09db9ca4b1e6a71c, \< 00ead17c7de137a692edee59f2772e6af687e8eb; Linux 4.9.

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

Yes. Fixed in Linux 85479b7d65b4ebcb07fbbe57230976793974ab4a, Linux 1c824e7c75bb4adf19553dd4ea944a5d83096be8, Linux 7130d94846dadbb97b6b7f4d78a3a7bba6e3daa1, Linux 00ead17c7de137a692edee59f2772e6af687e8eb. Upgrade Linux to 00ead17c7de137a692edee59f2772e6af687e8eb or later.

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

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/85479b7d65b4ebcb07fbbe57230976793974ab4a>
- other: <https://git.kernel.org/stable/c/1c824e7c75bb4adf19553dd4ea944a5d83096be8>
- other: <https://git.kernel.org/stable/c/f161be39201eb5f9b1f58fb8f90b8a9cd3931eb6>
- other: <https://git.kernel.org/stable/c/eab3eeb68bfc639d74f27256f05546af5c4f787d>
- other: <https://git.kernel.org/stable/c/c59219a6b62d74936963983e5815524c3de8dd79>
- other: <https://git.kernel.org/stable/c/cb8246e5846dbbe34930903a90c7a90dd8e5910b>
- other: <https://git.kernel.org/stable/c/7130d94846dadbb97b6b7f4d78a3a7bba6e3daa1>
- other: <https://git.kernel.org/stable/c/00ead17c7de137a692edee59f2772e6af687e8eb>

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

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