Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EF899399006 for ; Wed, 25 Mar 2026 10:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434485; cv=none; b=PmQi7djf+IN/6TkDRjVsBx8KCfngUc++IMZNgVXqzfGEYsCBG0FOg72VbjXIO+S52VQmHQ4LWgCdpE4sPSDYZ3m2O8ZUB3SUDWlmJsQ6NOvo1M5PQGAf6V8VrRp++5uluNGb3S45eMzhjacQlgnY9ZBE0QtfI9+2aMfZ4zj+LeA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434485; c=relaxed/simple; bh=vssCtHpHQ4bmoibdpViqyuph1eF2nmoRaYWlUnJ4sxU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hLM9auAFqG6Xoo5VoQb45o14kg8KeSbpvewkatPpX/VkmBQ8OX8lYX0gIFDpT54l/O+KMQgImNppww0Iq/ZgOOo+HXieuFGIOl5LXKuk8ibZ7nvJQEWp50ybhxoYm6ufosNIgPiIBb81KPjaphjdz3IyTC8+iW2jhB2oqlE8n/k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h8+n1/az; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="h8+n1/az" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DFF4C4CEF7; Wed, 25 Mar 2026 10:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434484; bh=vssCtHpHQ4bmoibdpViqyuph1eF2nmoRaYWlUnJ4sxU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=h8+n1/azfVUKFPdkkKyEI7V084E/5+Dg9UHnTUe3gea6ZR8+iUr/AZmKTq/jBQDSG 9ahCIWZ0su1VJjEmH+m9tsa5Z1V3wEh3d7LxIowj7jz9od6LCpbodB0mgqtmkImOlI VAAmmeFdIuxQgjyclFR3+Du7Jtu1t4XUYxMR0QqY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23285: drbd: fix null-pointer dereference on local read error Date: Wed, 25 Mar 2026 11:26:29 +0100 Message-ID: <2026032524-CVE-2026-23285-ad41@gregkh> X-Mailer: git-send-email 2.53.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=2497; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AczKWDjq7oxsjiyWaeWSNIKpn/nRo4/rMAuBq0iP/tE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdwQcf8USqfl16t0cbV9nc53aWZYRm3Sf7P63ynXbp F/Xny1b1RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATsVrKsGB135ebP96JVb9T vpQc/erT0pr9VrMYFsxZ/GGD3mIR01stjeEOSw0634XL7wMA 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: drbd: fix null-pointer dereference on local read error In drbd_request_endio(), READ_COMPLETED_WITH_ERROR is passed to __req_mod() with a NULL peer_device: __req_mod(req, what, NULL, &m); The READ_COMPLETED_WITH_ERROR handler then unconditionally passes this NULL peer_device to drbd_set_out_of_sync(), which dereferences it, causing a null-pointer dereference. Fix this by obtaining the peer_device via first_peer_device(device), matching how drbd_req_destroy() handles the same situation. The Linux kernel CVE team has assigned CVE-2026-23285 to this issue. Affected and fixed versions =========================== Fixed in 6.6.130 with commit 6f1d1614f841d91a4169db65812ffd1271735b42 Fixed in 6.12.77 with commit 1e906c08594c8f9a6a524f38ede2c4e051196106 Fixed in 6.18.17 with commit 4e8935053ba389ae8d6685c10854d8021931bd89 Fixed in 6.19.7 with commit 91df51d2df0ca4fd3281f73626341563d64a98a5 Fixed in 7.0-rc2 with commit 0d195d3b205ca90db30d70d09d7bb6909aac178f 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-23285 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/drbd/drbd_req.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/6f1d1614f841d91a4169db65812ffd1271735b42 https://git.kernel.org/stable/c/1e906c08594c8f9a6a524f38ede2c4e051196106 https://git.kernel.org/stable/c/4e8935053ba389ae8d6685c10854d8021931bd89 https://git.kernel.org/stable/c/91df51d2df0ca4fd3281f73626341563d64a98a5 https://git.kernel.org/stable/c/0d195d3b205ca90db30d70d09d7bb6909aac178f