{"id":"CVE-2026-68131","aliases":["CVE-2026-68131"],"related":[],"kind":"vulnerability","state":"published","title":"rbd: Reset positive result codes to zero in object map update path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-10T11:58:54.155Z","modified":"2026-11-30T16:13:21.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"cf1167292f606deaddac35ec384eba48f08a68d2","status":"affected"},{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"da926959bf791441ba06a80571708c3d0d3cc08f","status":"affected"},{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"6f33d9d539fb94e5a17589c2dfe271ff9bb64904","status":"affected"},{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b","status":"affected"},{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"2419aa74081007dc4d14ff5640659052dfdfd69a","status":"affected"},{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"34f2a2f32af570dfcc532ad70c080629ee1c32b0","status":"affected"},{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"b1a61366933224b3ad80975c4d01ac2cc6931ecf","status":"affected"},{"type":"git","introduced":"22e8bd51bb0469d1a524130a057f894ff632376a","fixed":"a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/cf1167292f606deaddac35ec384eba48f08a68d2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da926959bf791441ba06a80571708c3d0d3cc08f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f33d9d539fb94e5a17589c2dfe271ff9bb64904","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2419aa74081007dc4d14ff5640659052dfdfd69a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34f2a2f32af570dfcc532ad70c080629ee1c32b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1a61366933224b3ad80975c4d01ac2cc6931ecf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:44:26.632Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68131","url":"https://www.cve.org/CVERecord?id=CVE-2026-68131","licence":"CVE Terms of Use","modified":"2026-10-19T20:58:52.688Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68131","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68131","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:20.858Z","epss":{"score":0.00523,"percentile":0.45886,"date":"2026-12-01T12:00:22.000Z"}}