CVE-2026-68131 PUBLISHED

rbd: Reset positive result codes to zero in object map update path

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 22e8bd51bb0469d1a524130a057f894ff632376a to 14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b (excl.)
  • affected from 22e8bd51bb0469d1a524130a057f894ff632376a to 2419aa74081007dc4d14ff5640659052dfdfd69a (excl.)
  • affected from 22e8bd51bb0469d1a524130a057f894ff632376a to 34f2a2f32af570dfcc532ad70c080629ee1c32b0 (excl.)
  • affected from 22e8bd51bb0469d1a524130a057f894ff632376a to b1a61366933224b3ad80975c4d01ac2cc6931ecf (excl.)
  • affected from 22e8bd51bb0469d1a524130a057f894ff632376a to a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.3 is affected
  • unaffected from 0 to 5.3 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc5 to * (incl.)

References