libceph: fix invalid accesses to ceph_connection_v1_info
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.
CVE-2025-39880
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2025-39880
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "cd1a677cad994021b19665ed476aea63f5d54f31",
"lessThan": "ea12ab684f8ae8a6da11a22c78d94a79e2163096",
"versionType": "git"
},
{
"status": "affected",
"version": "cd1a677cad994021b19665ed476aea63f5d54f31",
"lessThan": "591ea9c30737663a471b2bb07b27ddde86b020d5",
"versionType": "git"
},
{
"status": "affected",
"version": "cd1a677cad994021b19665ed476aea63f5d54f31",
"lessThan": "23538cfbeed87159a5ac6c61e7a6de3d8d4486a8",
"versionType": "git"
},
{
"status": "affected",
"version": "cd1a677cad994021b19665ed476aea63f5d54f31",
"lessThan": "35dbbc3dbf8bccb2d77c68444f42c1e6d2d27983",
"versionType": "git"
},
{
"status": "affected",
"version": "cd1a677cad994021b19665ed476aea63f5d54f31",
"lessThan": "6bd8b56899be0b514945f639a89ccafb8f8dfaef",
"versionType": "git"
},
{
"status": "affected",
"version": "cd1a677cad994021b19665ed476aea63f5d54f31",
"lessThan": "cdbc9836c7afadad68f374791738f118263c5371",
"versionType": "git"
}
],
"programFiles": [
"net/ceph/messenger.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.11"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.11",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.15.194",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.153",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.107",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.48",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.16.8",
"versionType": "semver",
"lessThanOrEqual": "6.16.*"
},
{
"status": "unaffected",
"version": "6.17",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/ceph/messenger.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2025-39880
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #30635 · Revision 1
- Added to Heist Feed
- Publisher date