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 4C6501CF7C1 for ; Tue, 19 Nov 2024 17:24:14 +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=1732037054; cv=none; b=hv0IBC2s1sg2AI8KumkpaGqxtHnVS+8Ljx/ykgiHhLZVbqHrzDkGJtUWaY0jFgkpe+PHTbOl9HhQhyADxIW4iK4oN9VdZBo8dM+aGCGstn7AQm+w1RrJSn5PN3C4VMsBAbMJG2yFgmhRd2inJcoor8z2Mf/re67NsmajbGiW7Vo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732037054; c=relaxed/simple; bh=0bNMs26H4NPplqjv/isbkD19BwPzfGXrFlRc5veMGvk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=L/85WhhRmkP4SuEufYQNx2m/XLcCo4EJAh0Q2drs8q1noKgDrjiLce+bvjLWMswTltf1TWPT1GCqX8TN8Aq8IIBwQevQv7sF3UYgb6mJHNy3nhwS1E7gUF3Kx7cnaInMO6fdR65IE1FY1DDuj0jysKrgbsr98btD7v1RTwjHULA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Lysnlfdf; 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="Lysnlfdf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1627FC4CECF; Tue, 19 Nov 2024 17:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732037054; bh=0bNMs26H4NPplqjv/isbkD19BwPzfGXrFlRc5veMGvk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LysnlfdfXZCGnRG/fwxmw7rSY4u11fF/J2lphkMVqb/Bav05JKLA1Jk41WCwGtoJC gNX1zJA1DLWdfcoyJTgvjvGazeziyoiA081h8xl3tUhptHHT9BT9H4vXO4Nnf4bLVG 1qMyULzWPBCckzDTqi7G1/KFEz2nnh0L9+5jmv5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53067: scsi: ufs: core: Start the RTC update work later Date: Tue, 19 Nov 2024 18:22:38 +0100 Message-ID: <2024111933-CVE-2024-53067-0c9e@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=2232; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0bNMs26H4NPplqjv/isbkD19BwPzfGXrFlRc5veMGvk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk2JyNFndYqCbcmfbux/9+rhWkMNYf0b19w4rM+uS+wa 77ydME7HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR6z4M8z19TNIrBLY3X90V U7PWJb/KzLz3O8OCMw9WLXtZJFjY8PjZnOlzLi7L9NzeCAA= 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: scsi: ufs: core: Start the RTC update work later The RTC update work involves runtime resuming the UFS controller. Hence, only start the RTC update work after runtime power management in the UFS driver has been fully initialized. This patch fixes the following kernel crash: Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Workqueue: events ufshcd_rtc_work Call trace: _raw_spin_lock_irqsave+0x34/0x8c (P) pm_runtime_get_if_active+0x24/0x9c (L) pm_runtime_get_if_active+0x24/0x9c ufshcd_rtc_work+0x138/0x1b4 process_one_work+0x148/0x288 worker_thread+0x2cc/0x3d4 kthread+0x110/0x114 ret_from_fork+0x10/0x20 The Linux kernel CVE team has assigned CVE-2024-53067 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 6bf999e0eb41 and fixed in 6.11.8 with commit 4c25f784fba8 Issue introduced in 6.8 with commit 6bf999e0eb41 and fixed in 6.12 with commit 54c814c8b23b 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-53067 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/ufs/core/ufshcd.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/4c25f784fba81227e0437337f962d34380d1c250 https://git.kernel.org/stable/c/54c814c8b23bc7617be3d46abdb896937695dbfa