# CVE-2025-39880: libceph: fix invalid accesses to ceph\_connection\_v1\_info

> 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.66% (percentile 46, 2026-11-26)
- **CWE:** CWE-704
- **Published:** 2025-09-23T06:00:49.897Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< ea12ab684f8ae8a6da11a22c78d94a79e2163096; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 591ea9c30737663a471b2bb07b27ddde86b020d5; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 23538cfbeed87159a5ac6c61e7a6de3d8d4486a8; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 6bd8b56899be0b514945f639a89ccafb8f8dfaef; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< cdbc9836c7afadad68f374791738f118263c5371
- Anyone running Linux 5.11

## Description

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

libceph: fix invalid accesses to ceph\_connection\_v1\_info

There is a place where generic code in messenger.c is reading and
another place where it is writing to con-\>v1 union member without
checking that the union member is active (i.e. msgr1 is in use).

On 64-bit systems, con-\>v1.auth\_retry overlaps with con-\>v2.out\_iter,
so such a read is almost guaranteed to return a bogus value instead of
0 when msgr2 is in use.  This ends up being fairly benign because the
side effect is just the invalidation of the authorizer and successive
fetching of new tickets.

con-\>v1.connect\_seq overlaps with con-\>v2.conn\_bufs and the fact that
it's being written to can cause more serious consequences, but luckily
it's not something that happens often.

## Affected and fixed versions

- Linux: \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< ea12ab684f8ae8a6da11a22c78d94a79e2163096; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 591ea9c30737663a471b2bb07b27ddde86b020d5; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 23538cfbeed87159a5ac6c61e7a6de3d8d4486a8; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 6bd8b56899be0b514945f639a89ccafb8f8dfaef; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< cdbc9836c7afadad68f374791738f118263c5371 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-39880.md
Affected: Linux >= cd1a677cad994021b19665ed476aea63f5d54f31, < ea12ab684f8ae8a6da11a22c78d94a79e2163096; >= cd1a677cad994021b19665ed476aea63f5d54f31, < 591ea9c30737663a471b2bb07b27ddde86b020d5; >= cd1a677cad994021b19665ed476aea63f5d54f31, < 23538cfbeed87159a5ac6c61e7a6de3d8d4486a8; >= cd1a677cad994021b19665e…
Fixed in: Linux 591ea9c30737663a471b2bb07b27ddde86b020d5, Linux 23538cfbeed87159a5ac6c61e7a6de3d8d4486a8, Linux 35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983, Linux 6bd8b56899be0b514945f639a89ccafb8f8dfaef

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-2025-39880 being exploited?

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

### How serious is CVE-2025-39880?

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

### Which versions are affected by CVE-2025-39880?

Linux \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< ea12ab684f8ae8a6da11a22c78d94a79e2163096; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 591ea9c30737663a471b2bb07b27ddde86b020d5; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 23538cfbeed87159a5ac6c61e7a6de3d8d4486a8; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< 6bd8b56899be0b514945f639a89ccafb8f8dfaef; \>= cd1a677cad994021b19665ed476aea63f5d54f31, \< cdbc9836c7afadad68f374791738f118263c5371; Linux 5.11.

### Is there a fix for CVE-2025-39880?

Yes. Fixed in Linux 591ea9c30737663a471b2bb07b27ddde86b020d5, Linux 23538cfbeed87159a5ac6c61e7a6de3d8d4486a8, Linux 35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983, Linux 6bd8b56899be0b514945f639a89ccafb8f8dfaef. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-39880?

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

- patch: <https://git.kernel.org/stable/c/ea12ab684f8ae8a6da11a22c78d94a79e2163096>
- patch: <https://git.kernel.org/stable/c/591ea9c30737663a471b2bb07b27ddde86b020d5>
- patch: <https://git.kernel.org/stable/c/23538cfbeed87159a5ac6c61e7a6de3d8d4486a8>
- patch: <https://git.kernel.org/stable/c/35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983>
- patch: <https://git.kernel.org/stable/c/6bd8b56899be0b514945f639a89ccafb8f8dfaef>
- patch: <https://git.kernel.org/stable/c/cdbc9836c7afadad68f374791738f118263c5371>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>

## 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-2025-39880>

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