CVE-2025-39880

libceph: fix invalid accesses to ceph_connection_v1_info

State
Published
Severity
9.8 Critical
Published
Sep 23, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cd1a677cad994021b19665ed476aea63f5d54f31 to before ea12ab684f8ae8a6da11a22c78d94a79e2163096Affected
  • cd1a677cad994021b19665ed476aea63f5d54f31 to before 591ea9c30737663a471b2bb07b27ddde86b020d5Affected
  • cd1a677cad994021b19665ed476aea63f5d54f31 to before 23538cfbeed87159a5ac6c61e7a6de3d8d4486a8Affected
  • cd1a677cad994021b19665ed476aea63f5d54f31 to before 35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983Affected
  • cd1a677cad994021b19665ed476aea63f5d54f31 to before 6bd8b56899be0b514945f639a89ccafb8f8dfaefAffected
  • cd1a677cad994021b19665ed476aea63f5d54f31 to before cdbc9836c7afadad68f374791738f118263c5371Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.194 through 5.15.*Not affected
  • 6.1.153 through 6.1.*Not affected
  • 6.6.107 through 6.6.*Not affected
  • 6.12.48 through 6.12.*Not affected
  • 6.16.8 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.