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 620BD3B5832 for ; Wed, 25 Mar 2026 10:30:43 +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=1774434643; cv=none; b=VgDn0NFpBWzA4P2KLX7TYfi9nUbm+vNreSkCmszpUQjct8qxmDTBoQBQJSKQxESiwVm1nJjIZQhPlyuh4bp5hhjl1fNJ/SORIKFM6XsMKq+SiyNGtAWAhRhYBHxzt3AUhaR2Kwfd8KSDOSRBU4swfHRYl0dMAGx1pbNuqkZ5UYg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434643; c=relaxed/simple; bh=UpdmLhCpu+CmoHLh7kAF81OVBU+GcEYEdKMznr54+Fc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KHwrGYUNcBgU6AM5f25f27fnHt7R87FBH9k+X86DQb6BZnoCQ/KDEUcvm4X/XB5pd6sYQaRmPPzRsLHH8zIRms2/p0IwFuZqBoKM78atewQQX/Fl0U4JVwUUioerGf/mYjLmNge5VEsL7g8gW1Cd/Zt6779DJo5Aon61PretQdE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Yc7+3lnG; 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="Yc7+3lnG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BEEBC4CEF7; Wed, 25 Mar 2026 10:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434643; bh=UpdmLhCpu+CmoHLh7kAF81OVBU+GcEYEdKMznr54+Fc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Yc7+3lnGLU89X/P4rQ1tGzahxH4sMycTd48OtPGtX9M6y/OPl6vZ+Y3KUOTBNXHrX xofX4WJaDb3Cv/qSk7flDOm6Ba3+zU/yV7vf8CrlZSFqSrym66CYgWDebI1wE7Vp25 lpj5rxXDDCsTxqwFrUjDDuROyQG83txMuFzbsNVU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23305: accel/rocket: fix unwinding in error path in rocket_probe Date: Wed, 25 Mar 2026 11:26:49 +0100 Message-ID: <2026032527-CVE-2026-23305-5fa4@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=2376; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GLZNFNzmxnSYSc7h5wZDdhs0+QnJrvidjJuk1WYSiRI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd4TwrmQ0e3P9aNGH56+mrj0bkWO5K++L0025yAWT9 m8yuHPnS0csC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMpOE2w4KWSu1lj/dsOCr7 rubkzqXK6yeVb5nOsOCqkkiFjvGEJc4SwQ8k9G8X5ZdeyQYA 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: accel/rocket: fix unwinding in error path in rocket_probe When rocket_core_init() fails (as could be the case with EPROBE_DEFER), we need to properly unwind by decrementing the counter we just incremented and if this is the first core we failed to probe, remove the rocket DRM device with rocket_device_fini() as well. This matches the logic in rocket_remove(). Failing to properly unwind results in out-of-bounds accesses. The Linux kernel CVE team has assigned CVE-2026-23305 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 0810d5ad88a18f1e6d549853a388ad0316f74e36 and fixed in 6.18.17 with commit 7fc4b49474c836cee7d9801abf05e0198fcbfa74 Issue introduced in 6.18 with commit 0810d5ad88a18f1e6d549853a388ad0316f74e36 and fixed in 6.19.7 with commit eeaf28c8f4defe371a008a5ddefaf18abf534f81 Issue introduced in 6.18 with commit 0810d5ad88a18f1e6d549853a388ad0316f74e36 and fixed in 7.0-rc1 with commit 34f4495a7f72895776b81969639f527c99eb12b9 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-23305 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/accel/rocket/rocket_drv.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/7fc4b49474c836cee7d9801abf05e0198fcbfa74 https://git.kernel.org/stable/c/eeaf28c8f4defe371a008a5ddefaf18abf534f81 https://git.kernel.org/stable/c/34f4495a7f72895776b81969639f527c99eb12b9