CVE-2026-68131 (GCVE-0-2026-68131)
Vulnerability from cvelistv5
Published
2026-08-10 11:58
Modified
2026-08-19 16:29
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
rbd: Reset positive result codes to zero in object map update path
In a reply message to an RBD request, a positive result code indicates
a data payload, which is not allowed for writes. While
rbd_osd_req_callback() already resets a positive result code for writes
to zero, rbd_object_map_callback() does not. This allows a corrupted
reply to an object map update to trigger the rbd_assert(*result < 0) in
__rbd_obj_handle_request(). This happens, because
rbd_object_map_callback() calls rbd_obj_handle_request() ->
__rbd_obj_handle_request() and passes this positive result code. From
__rbd_obj_handle_request(), rbd_obj_advance_write() is called, which
leaves the positive result code unchanged and returns true. Therefore,
the if(done && *result) branch is executed in __rbd_obj_handle_request()
and the assertion triggers.
This patch fixes the issue by adjusting the logic in the
rbd_object_map_callback() path. A positive result code for an object map
update is now reset to zero (similar to rbd_osd_req_callback()), and the
message is subsequently handled the same way as if the result code was
zero from the beginning. Additionally, a WARN_ON_ONCE() is added for
this case.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: 22e8bd51bb0469d1a524130a057f894ff632376a Version: 22e8bd51bb0469d1a524130a057f894ff632376a Version: 22e8bd51bb0469d1a524130a057f894ff632376a Version: 22e8bd51bb0469d1a524130a057f894ff632376a Version: 22e8bd51bb0469d1a524130a057f894ff632376a Version: 22e8bd51bb0469d1a524130a057f894ff632376a Version: 22e8bd51bb0469d1a524130a057f894ff632376a Version: 22e8bd51bb0469d1a524130a057f894ff632376a |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/block/rbd.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "cf1167292f606deaddac35ec384eba48f08a68d2",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
},
{
"lessThan": "da926959bf791441ba06a80571708c3d0d3cc08f",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
},
{
"lessThan": "6f33d9d539fb94e5a17589c2dfe271ff9bb64904",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
},
{
"lessThan": "14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
},
{
"lessThan": "2419aa74081007dc4d14ff5640659052dfdfd69a",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
},
{
"lessThan": "34f2a2f32af570dfcc532ad70c080629ee1c32b0",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
},
{
"lessThan": "b1a61366933224b3ad80975c4d01ac2cc6931ecf",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
},
{
"lessThan": "a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4",
"status": "affected",
"version": "22e8bd51bb0469d1a524130a057f894ff632376a",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/block/rbd.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.3"
},
{
"lessThan": "5.3",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.265",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.216",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.183",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.148",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.101",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.42",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.265",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.216",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.183",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.148",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.101",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.42",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.6",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "5.3",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrbd: Reset positive result codes to zero in object map update path\n\nIn a reply message to an RBD request, a positive result code indicates\na data payload, which is not allowed for writes. While\nrbd_osd_req_callback() already resets a positive result code for writes\nto zero, rbd_object_map_callback() does not. This allows a corrupted\nreply to an object map update to trigger the rbd_assert(*result \u003c 0) in\n__rbd_obj_handle_request(). This happens, because\nrbd_object_map_callback() calls rbd_obj_handle_request() -\u003e\n__rbd_obj_handle_request() and passes this positive result code. From\n__rbd_obj_handle_request(), rbd_obj_advance_write() is called, which\nleaves the positive result code unchanged and returns true. Therefore,\nthe if(done \u0026\u0026 *result) branch is executed in __rbd_obj_handle_request()\nand the assertion triggers.\n\nThis patch fixes the issue by adjusting the logic in the\nrbd_object_map_callback() path. A positive result code for an object map\nupdate is now reset to zero (similar to rbd_osd_req_callback()), and the\nmessage is subsequently handled the same way as if the result code was\nzero from the beginning. Additionally, a WARN_ON_ONCE() is added for\nthis case."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.5,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The crash is triggered when libceph processes a crafted MOSDOpReply over the Ceph TCP connection and passes a positive r_result into rbd_object_map_callback(); a compromised or malicious OSD/monitor peer can deliver this without any local syscall on the victim.\nAC:L - An attacker controlling the Ceph OSD can deterministically reply to any object-map update request with a positive result code whenever the mapped image has RBD_FEATURE_OBJECT_MAP and write I/O is in flight, with no race or victim-specific memory layout required.\nPR:N - No privileges on the victim host are needed; exploitation only requires the kernel RBD client to be connected to an attacker-controlled or compromised Ceph cluster, consistent with other libceph client CVE scoring where the remote storage peer drives the bug.\nUI:N - After RBD is mapped, object-map updates are driven automatically by block-layer write I/O; no further interactive user action is required at exploit time beyond normal background storage activity on the mapped device.\nS:U - The BUG() panic affects only the kernel on the host running the RBD client and does not cross VM, container, or IOMMU security boundaries to another authority.\nC:N - The vulnerable path returns immediately on a positive result without decoding reply payload or corrupting memory; impact is limited to an assertion failure with no information disclosure primitive.\nI:N - No kernel or user data is modified; the positive result code is mishandled and triggers rbd_assert(*result \u003c 0) leading to BUG(), not an arbitrary write or code-execution primitive.\nA:H - RBD_DEBUG is unconditionally defined so rbd_assert() invokes BUG(), causing a kernel panic that fully denies availability on any host with an affected RBD mapping when a malicious OSD reply is received."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-19T16:29:49.752Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/cf1167292f606deaddac35ec384eba48f08a68d2"
},
{
"url": "https://git.kernel.org/stable/c/da926959bf791441ba06a80571708c3d0d3cc08f"
},
{
"url": "https://git.kernel.org/stable/c/6f33d9d539fb94e5a17589c2dfe271ff9bb64904"
},
{
"url": "https://git.kernel.org/stable/c/14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b"
},
{
"url": "https://git.kernel.org/stable/c/2419aa74081007dc4d14ff5640659052dfdfd69a"
},
{
"url": "https://git.kernel.org/stable/c/34f2a2f32af570dfcc532ad70c080629ee1c32b0"
},
{
"url": "https://git.kernel.org/stable/c/b1a61366933224b3ad80975c4d01ac2cc6931ecf"
},
{
"url": "https://git.kernel.org/stable/c/a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4"
}
],
"title": "rbd: Reset positive result codes to zero in object map update path",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-68131",
"datePublished": "2026-08-10T11:58:54.155Z",
"dateReserved": "2026-07-30T09:28:09.370Z",
"dateUpdated": "2026-08-19T16:29:49.752Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…