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 8D6241CBEAD for ; Tue, 19 Nov 2024 17:24:08 +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=1732037048; cv=none; b=Ds5CiE45eUtauLUms1bBkLiBPjRIjTRLKU/vMILYBR4uxLLs8mjCLZYaMLvlB11cyRIDPu3nD19mjElnX/kDs7Dor4Zmk1Fc4g7I+x+tLoBLF9omaLsMhbYNIVq09S21w7734LxJVbpC0zhLzB8xv//94vu2m+XJ7Ed0NbBpcwU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732037048; c=relaxed/simple; bh=OLRKeoufD0V/YS+V5N8HfHW4YD7XebN8ry8W8DdMkag=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XlaUR5gVy15HV78tebPnkD4enD7NYVCvRkIZlYa1CP6Ir6l5sexI3DEBgRPkmyFW2GbC6sDxbKUmAzMCPvRiokLi9GFnNgQu4K8/+7VhPG5hqzpSOoIVYVjxeWPexx2/5JW/+0/IZ/mH3iUFj93LWScMUw14iWfxb9QIhUkZhFI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hoHJRML9; 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="hoHJRML9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAE67C4CED0; Tue, 19 Nov 2024 17:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732037048; bh=OLRKeoufD0V/YS+V5N8HfHW4YD7XebN8ry8W8DdMkag=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hoHJRML9RhnZpOrkBCbwi7HLwNlmpc+nAlxxuHiAqAWFk/6eOUbtJZkI+taPCovea yhtb1twG3nOhdWOc27gzt9OulMio+TGEYCUMC4mhVD2cAGy/j8qxTD+Qr58Tj5yOJa aqpu6t2FQyPpuGkkojcEty6Xk51kPZRaz+V2b0Iw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53070: usb: dwc3: fix fault at system suspend if device was already runtime suspended Date: Tue, 19 Nov 2024 18:22:41 +0100 Message-ID: <2024111933-CVE-2024-53070-6eea@gregkh> X-Mailer: git-send-email 2.47.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=2368; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OLRKeoufD0V/YS+V5N8HfHW4YD7XebN8ry8W8DdMkag=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk2JyO/PqxoEzx+d1Pvcs2QK3NiH59e0LmzbFnC7o6zI jnplW43O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiotsZFsy4aCMf9H9J1bRb yeZ5bR4qj3u6ZzAs2JvRys9udIQjVUqqegvTySqmZOkjAA== 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: usb: dwc3: fix fault at system suspend if device was already runtime suspended If the device was already runtime suspended then during system suspend we cannot access the device registers else it will crash. Also we cannot access any registers after dwc3_core_exit() on some platforms so move the dwc3_enable_susphy() call to the top. The Linux kernel CVE team has assigned CVE-2024-53070 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.170 with commit 073530898ebf and fixed in 5.15.172 with commit d9e65d461a9d Issue introduced in 6.1.115 with commit 85ca88f93162 and fixed in 6.1.117 with commit 562804b1561c Issue introduced in 6.6.59 with commit 4fad73700867 and fixed in 6.6.61 with commit 4abc5ee334fe Issue introduced in 6.11.5 with commit a690a9e38e6b and fixed in 6.11.8 with commit 06b98197b69e 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-2024-53070 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/usb/dwc3/core.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/d9e65d461a9de037e7c9d584776d025cfce6d86d https://git.kernel.org/stable/c/562804b1561cc248cc37746a1c96c83cab1d7209 https://git.kernel.org/stable/c/4abc5ee334fe4aba50461c45fdaaa4c5e5c57789 https://git.kernel.org/stable/c/06b98197b69e2f2af9cb1991ee0b1c876edf7b86 https://git.kernel.org/stable/c/9cfb31e4c89d200d8ab7cb1e0bb9e6e8d621ca0b