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 DF6ED1C700B for ; Thu, 27 Mar 2025 16:37:48 +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=1743093469; cv=none; b=Ps4gE6Z1wRF5tjpgyv66WuBFs+M9PNLmH1C7voDnb82wIJ6akM/z/B/mZONc7rv+CCaSTTA0DACI7bYdBpkg/YbkGxFoUjjpix1vzE1lurMbmiLwcaJHkfetZu94J7vKCrh+4EWp9xP7+CUkuWyvwYUEiXHvoE4Yr71odHB9PNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743093469; c=relaxed/simple; bh=GUpQMmWwxmPq+9uSKgOFcSdfDcFvCke/RRhIWDOE4HA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TB+C56XCMPlDhgC+jRUHskOHtdDgc32eD/5dS8fi8jdDV+trAPaCofuGBige/ZfCdLb1VupUnXa3F7aykf6SErSVDhuGY2IDU/cEsnwm3kBHk+2K2YtDXtj/T2acT+ENWKJe36LEnuO24gh+4X2pAk5LP5vbjIYZCZc1b/Y2nW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Gru4kGos; 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="Gru4kGos" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E40DDC4CEEA; Thu, 27 Mar 2025 16:37:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743093468; bh=GUpQMmWwxmPq+9uSKgOFcSdfDcFvCke/RRhIWDOE4HA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Gru4kGosuHClpqVEQhSA1oJn8htOs16b/GGenWixGMSHjoSldkmdKHppuZx82iZVl OFuvKxEgsVz34KAeTd8QINHCJPWHYMjO4MHgnVppQaUl8+y/rYJ6A1UiXRd0hKN8lh mAVAzEe3vC4VESDUa7bW/pFYD2pGTzHS1lRYbde8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52941: can: isotp: split tx timer into transmission and timeout Date: Thu, 27 Mar 2025 17:37:31 +0100 Message-ID: <2025032722-CVE-2023-52941-7c12@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2458; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GUpQMmWwxmPq+9uSKgOFcSdfDcFvCke/RRhIWDOE4HA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlP6w5t1wvTnnGqQ+iOIfOLFiNHRrOls37G2aa370h4w JAt6HK5I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy24xhfsZkhZmlE6fPn/qW 41rRJ67nJQ6XshjmKVTOUDs16XW91/uD+zX1H9pzzHcqBwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: can: isotp: split tx timer into transmission and timeout The timer for the transmission of isotp PDUs formerly had two functions: 1. send two consecutive frames with a given time gap 2. monitor the timeouts for flow control frames and the echo frames This led to larger txstate checks and potentially to a problem discovered by syzbot which enabled the panic_on_warn feature while testing. The former 'txtimer' function is split into 'txfrtimer' and 'txtimer' to handle the two above functionalities with separate timer callbacks. The two simplified timers now run in one-shot mode and make the state transitions (especially with isotp_rcv_echo) better understandable. The Linux kernel CVE team has assigned CVE-2023-52941 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit 866337865f3747c68a3e7bb837611e39cec1ecd6 and fixed in 6.1.11 with commit cae4c9bc35f72af5d4a079bb9d9fd62c4088a411 Issue introduced in 6.1 with commit 866337865f3747c68a3e7bb837611e39cec1ecd6 and fixed in 6.2 with commit 4f027cba8216f42a18b544842efab134f8b1f9f4 Issue introduced in 6.0.9 with commit 3cb476cf834edca47f4470c276feb0f519401fb7 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-2023-52941 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: net/can/isotp.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/cae4c9bc35f72af5d4a079bb9d9fd62c4088a411 https://git.kernel.org/stable/c/4f027cba8216f42a18b544842efab134f8b1f9f4