{"id":"CVE-2026-68131","state":"PUBLISHED","title":"rbd: Reset positive result codes to zero in object map update path","description":"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 < 0) in\n__rbd_obj_handle_request(). This happens, because\nrbd_object_map_callback() calls rbd_obj_handle_request() ->\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 && *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.","publishedAt":"2026-08-10T11:58:54.155Z","updatedAt":"2026-10-19T20:58:52.688Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"cf1167292f606deaddac35ec384eba48f08a68d2","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"da926959bf791441ba06a80571708c3d0d3cc08f","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"6f33d9d539fb94e5a17589c2dfe271ff9bb64904","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"2419aa74081007dc4d14ff5640659052dfdfd69a","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"34f2a2f32af570dfcc532ad70c080629ee1c32b0","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"b1a61366933224b3ad80975c4d01ac2cc6931ecf","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/rbd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/rbd.c"]}],"references":["https://git.kernel.org/stable/c/cf1167292f606deaddac35ec384eba48f08a68d2","https://git.kernel.org/stable/c/da926959bf791441ba06a80571708c3d0d3cc08f","https://git.kernel.org/stable/c/6f33d9d539fb94e5a17589c2dfe271ff9bb64904","https://git.kernel.org/stable/c/14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b","https://git.kernel.org/stable/c/2419aa74081007dc4d14ff5640659052dfdfd69a","https://git.kernel.org/stable/c/34f2a2f32af570dfcc532ad70c080629ee1c32b0","https://git.kernel.org/stable/c/b1a61366933224b3ad80975c4d01ac2cc6931ecf","https://git.kernel.org/stable/c/a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68131.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68131","state":"PUBLISHED","datePublished":"2026-08-10T11:58:54.155Z","dateUpdated":"2026-10-19T20:58:52.688Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.370Z"},"containers":{"cna":{"title":"rbd: Reset positive result codes to zero in object map update path","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 < 0) in\n__rbd_obj_handle_request(). This happens, because\nrbd_object_map_callback() calls rbd_obj_handle_request() ->\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 && *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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"cf1167292f606deaddac35ec384eba48f08a68d2","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"da926959bf791441ba06a80571708c3d0d3cc08f","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"6f33d9d539fb94e5a17589c2dfe271ff9bb64904","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"2419aa74081007dc4d14ff5640659052dfdfd69a","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"34f2a2f32af570dfcc532ad70c080629ee1c32b0","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"b1a61366933224b3ad80975c4d01ac2cc6931ecf","versionType":"git"},{"version":"22e8bd51bb0469d1a524130a057f894ff632376a","status":"affected","lessThan":"a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/rbd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/rbd.c"]}],"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"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"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 < 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":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:29:49.752Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.10.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-68131","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-16T15:44:26.632353Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","type":"CWE","description":"CWE-20 Improper Input Validation"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T20:58:52.688Z"}}]}}}