Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 29FBD3C8732 for ; Mon, 10 Aug 2026 12:02:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363358; cv=none; b=fDgb17Bj8+CkTfcm0HObTx/jCeayGKT830gHfFUin2cZDFoTVmyLSDNTI8at3lflMV1R4w5En/dND/FhjiTgso37zQowP+iM+3XUjHNMtkn2Y7cToDtCIUQqP4rxl3iIOTj9nLOf2Sa5kihmFkaB9bYu/jkSRaU/QIQlcLB9FkA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363358; c=relaxed/simple; bh=iFYVW0Ylo6pO+RyPyAhnaKL++xg06Ay67URRwMKhehQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hhrW74h3JwFyqWuauC6+OHFzIDjgHcAuXfllEd7EapeRdhUkIcuCv0HSdaemBhMRLRsD7Aefy30Yhorlmjp2LmT0uMZmgTUDj26shAef3EE+L+Gb8TGd4tSCpVUJHNwuVVcSlF9aWjrfNN7cipCBskxChP++uu0cvg4zT+if2c0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FqGJSAw6; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FqGJSAw6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0B531F00A3D; Mon, 10 Aug 2026 12:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363357; bh=pT/faa4YUve6eqK3N88Yj8AlWI/tpGF9u0SvbeTRWxw=; h=From:To:Cc:Subject:Date:Reply-To; b=FqGJSAw6U8XMPRyhwTXO5DTbDD2NDCODXDn3qU4j80REEtadfZfAPM5kZgXXlK/8z zyu0LtOQC9GS2Pjc94bOLu/mMpqwBqa5nsLrxFU1Qw/byAenw5SYPbM8Schpu24fGf H8jUflvMyF7sbfKJnJvXlaiAPZA5Uv1flC/K3KAs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68131: rbd: Reset positive result codes to zero in object map update path Date: Mon, 10 Aug 2026 13:57:28 +0200 Message-ID: <2026081058-CVE-2026-68131-3ac1@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3586; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=os6GZ6/MYO9eVP1XHMv8N7WUGxmj/7aWaLeFfA9SBUs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe7qWrby7lP3jgeuLp7Quuiv2b7l6rO8ixr6Gu5b5i WtzHbyvdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEGJYyLOhZdlBrwet2wynb vHm9rxjdbWEtNWVYML/kelxnz88Vc58un+eq4Lo5brOLKgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-68131 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 22e8bd51bb0469d1a524130a057f894ff632376a and fixed in 6.6.148 with commit 14995c4250f04b58bf6fc00e0e973a2e1b3cfb9b Issue introduced in 5.3 with commit 22e8bd51bb0469d1a524130a057f894ff632376a and fixed in 6.12.101 with commit 2419aa74081007dc4d14ff5640659052dfdfd69a Issue introduced in 5.3 with commit 22e8bd51bb0469d1a524130a057f894ff632376a and fixed in 6.18.42 with commit 34f2a2f32af570dfcc532ad70c080629ee1c32b0 Issue introduced in 5.3 with commit 22e8bd51bb0469d1a524130a057f894ff632376a and fixed in 7.1.6 with commit b1a61366933224b3ad80975c4d01ac2cc6931ecf Issue introduced in 5.3 with commit 22e8bd51bb0469d1a524130a057f894ff632376a and fixed in 7.2-rc5 with commit a6c4250b81bd30beae94e1b7a4b26fa1193ad2e4 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-68131 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/block/rbd.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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