CVE-2026-68131

Source
https://cve.org/CVERecord?id=CVE-2026-68131
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68131.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68131
Downstream
Published
2026-08-10T11:58:54.155Z
Modified
2026-08-12T04:18:46.034076102Z
Summary
rbd: Reset positive result codes to zero in object map update path
Details

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 rbdosdreqcallback() already resets a positive result code for writes to zero, rbdobjectmapcallback() does not. This allows a corrupted reply to an object map update to trigger the rbd_assert(*result < 0) in __rbdobjhandlerequest(). This happens, because rbdobjectmapcallback() calls rbdobjhandle_request() -> __rbdobjhandle_request() and passes this positive result code. From __rbdobjhandlerequest(), rbdobjadvancewrite() is called, which leaves the positive result code unchanged and returns true. Therefore, the if(done && *result) branch is executed in _rbdobjhandlerequest() and the assertion triggers.

This patch fixes the issue by adjusting the logic in the rbdobjectmapcallback() path. A positive result code for an object map update is now reset to zero (similar to rbdosdreqcallback()), and the message is subsequently handled the same way as if the result code was zero from the beginning. Additionally, a WARNONONCE() is added for this case.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68131.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
22e8bd51bb0469d1a524130a057f894ff632376a
Fixed
14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b
Fixed
2419aa74081007dc4d14ff5640659052dfdfd69a
Fixed
34f2a2f32af570dfcc532ad70c080629ee1c32b0
Fixed
b1a61366933224b3ad80975c4d01ac2cc6931ecf
Fixed
a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68131.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.3.0
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68131.json"