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 DA8B02139CD for ; Wed, 19 Jun 2024 13:46:27 +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=1718804787; cv=none; b=YQuDQWJD8B11KQMrrnFVmYbaAiG5E4Af41f2KkvG0eF4UVSnG6KC+rY6FWXlM46Y1PhRR0FfbGpyqDVcEhgOU0n6OErDprRRC4cjZNR0nsUmIFuUkZoI0r/hDkwB+ThxBDHO//7FBC2QJjE3MJlz1oejBdL4lNVoPdw0xeXlLRQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718804787; c=relaxed/simple; bh=8b/OlBuy/zBKySfMB4S1hsc85tmINHr5gFqCCE9IuSY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XmDBYm2N5G0RRe9j/vPp9UZxaVfPd8yp4eXhOpSIVcBOMiHstdDyDHDSsUapZ0po//goojVmuCf5l0ZByYu+Vkk78//oE7rknDM/CtKuafOajTNVhDlGZaFzjYq88676IfaylQQ8H8g9Ei/UoQApzVKYbDQ5VnDY4HoZ3rsqzBg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1UIunrOj; 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="1UIunrOj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23C4CC2BBFC; Wed, 19 Jun 2024 13:46:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718804787; bh=8b/OlBuy/zBKySfMB4S1hsc85tmINHr5gFqCCE9IuSY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1UIunrOjgwmOtAs1Ly7HXAwvtYZCvx4lNMtpI6tqQqced1Hy9kojkqKBXTvQ4SXLQ AAcYsrZo9hZtnr7dJr9G9aJkuWSSHvQ4Or8jUqvUcpFXyhGd+E2/JDRiAP1exJtHC8 /jfIhLdWxwMVtW3W04WSN3vIh88Tz+nwy0Uuhg/E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38593: net: micrel: Fix receiving the timestamp in the frame for lan8841 Date: Wed, 19 Jun 2024 15:45:59 +0200 Message-ID: <2024061955-CVE-2024-38593-8b0e@gregkh> X-Mailer: git-send-email 2.45.2 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=2511; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8b/OlBuy/zBKySfMB4S1hsc85tmINHr5gFqCCE9IuSY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlFD4VZFu0o7b2zgcH+zINjV89vuSB9qCTjup14Zd8Wj S//wze/6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJLC9jWLDT+kT4odQD2Uk7 q5e+YpptULf2WA/DHD6xg8f/T2D2mmcitewPzzxjr+UKLwE= 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: net: micrel: Fix receiving the timestamp in the frame for lan8841 The blamed commit started to use the ptp workqueue to get the second part of the timestamp. And when the port was set down, then this workqueue is stopped. But if the config option NETWORK_PHY_TIMESTAMPING is not enabled, then the ptp_clock is not initialized so then it would crash when it would try to access the delayed work. So then basically by setting up and then down the port, it would crash. The fix consists in checking if the ptp_clock is initialized and only then cancel the delayed work. The Linux kernel CVE team has assigned CVE-2024-38593 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit cc7554954848 and fixed in 6.6.33 with commit 3ddf170e4a60 Issue introduced in 6.5 with commit cc7554954848 and fixed in 6.8.12 with commit 3fd4282d5f25 Issue introduced in 6.5 with commit cc7554954848 and fixed in 6.9.3 with commit 64a47cf634ae Issue introduced in 6.5 with commit cc7554954848 and fixed in 6.10-rc1 with commit aea27a92a41d 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-38593 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/net/phy/micrel.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/3ddf170e4a604f5d4d9459a36993f5e92b53e8b0 https://git.kernel.org/stable/c/3fd4282d5f25c3c97fef3ef0b89b82ef4e2bc975 https://git.kernel.org/stable/c/64a47cf634ae44e92be24ebc982410841093bd7b https://git.kernel.org/stable/c/aea27a92a41dae14843f92c79e9e42d8f570105c