From mboxrd@z Thu Jan 1 00:00:00 1970 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 0D56C38F9A for ; Sun, 19 May 2024 10:12: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=1716113568; cv=none; b=r42ptUl4SRpPSlxOqwpep/tDolhjn/9P/KLPZrN29OeRrvxaOvHlKFH1NGCf9H+me2GWmgrkxCQ3IvxCpN3YhaZfYWMmoUy0n/0ZbipIe1O6mQsr3g0vPb0HG59/fXEda+7PMrOjZStOFCaXhjoigXpPUsPRvBJN9OBdraZ/D74= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716113568; c=relaxed/simple; bh=1nJ5HWhncUmkbP38nT0L6OXDSqDNvYdGTB6KhSSOYHk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dHsSB7QlEe0YJBBPD1foxQZakfGzwRiKMp0Uz+gsE9X+bR9e0uOfSDak0d0u7KcLg3tqYJNKQDp0HKcfqFxEnF7qXIUu0vFDD/xUCAmFw3zSzzVpqS6O+wP1H+EaojIYGdZpS49XPPHVpWrkDrt1hxEr+gVUQwW1pA6NN7HIPIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vxenxgZa; 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="vxenxgZa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85BFEC32781; Sun, 19 May 2024 10:12:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716113567; bh=1nJ5HWhncUmkbP38nT0L6OXDSqDNvYdGTB6KhSSOYHk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vxenxgZaGmhOl+CqXQw7ZiGgYwstabLWRXJXwhcfYNFvOPfZYKpLe3IhXsLG7NPM6 /cLzrfJQrvR4wmoBRYpmySz9E5Ci9E2N/YAHPGgOZTVx/VFrDJzgKXFqfRi1fejEIa ddcTIcc+skFGZ2j9yFuNa4djhcW/9PGo66AylSNg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35945: net: phy: phy_device: Prevent nullptr exceptions on ISR Date: Sun, 19 May 2024 12:11:39 +0200 Message-ID: <2024051920-CVE-2024-35945-c005@gregkh> X-Mailer: git-send-email 2.45.1 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=1826; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1nJ5HWhncUmkbP38nT0L6OXDSqDNvYdGTB6KhSSOYHk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmeFzziNjB9znwcwxV2d85Ct6Oijbky6d8zvn7de8Yvc J9/9FG7jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIv28MC+YVzEz9f0Ch1Pgk R1NJYO35CAnuKIYF0wKeTN7scWhfWpXI37u17/6x3wstAwA= 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: phy: phy_device: Prevent nullptr exceptions on ISR If phydev->irq is set unconditionally, check for valid interrupt handler or fall back to polling mode to prevent nullptr exceptions in interrupt service routine. The Linux kernel CVE team has assigned CVE-2024-35945 to this issue. Affected and fixed versions =========================== Fixed in 6.6.27 with commit 7a71f61ebf95 Fixed in 6.8.6 with commit 3419ee39e3d3 Fixed in 6.9 with commit 61c81872815f 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-35945 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/phy_device.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/7a71f61ebf95cedd3f245db6da397822971d8db5 https://git.kernel.org/stable/c/3419ee39e3d3162ab2ec9942bb537613ed5b6311 https://git.kernel.org/stable/c/61c81872815f46006982bb80460c0c80a949b35b