# CVE-2026-68131: rbd: Reset positive result codes to zero in object map update path

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-08-10T11:58:54.155Z
- Modified: 2026-11-30T16:13:21.673Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 22e8bd51bb0469d1a524130a057f894ff632376a before cf1167292f606deaddac35ec384eba48f08a68d2; from 22e8bd51bb0469d1a524130a057f894ff632376a before da926959bf791441ba06a80571708c3d0d3cc08f; from 22e8bd51bb0469d1a524130a057f894ff632376a before 6f33d9d539fb94e5a17589c2dfe271ff9bb64904; from 22e8bd51bb0469d1a524130a057f894ff632376a before 14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b; from 22e8bd51bb0469d1a524130a057f894ff632376a before 2419aa74081007dc4d14ff5640659052dfdfd69a; from 22e8bd51bb0469d1a524130a057f894ff632376a before 34f2a2f32af570dfcc532ad70c080629ee1c32b0; from 22e8bd51bb0469d1a524130a057f894ff632376a before b1a61366933224b3ad80975c4d01ac2cc6931ecf; from 22e8bd51bb0469d1a524130a057f894ff632376a before a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4; 5.3 (not affected: before 5.3; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-68131](https://www.cve.org/CVERecord?id=CVE-2026-68131), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-68131](https://nvd.nist.gov/vuln/detail/CVE-2026-68131), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-68131 · Whole record: https://cve.day/CVE-2026-68131.json · Rebuilt by cve.day 2026-11-30T16:17:20.858Z
