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 936EE1A707A for ; Thu, 27 Mar 2025 16:44:49 +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=1743093889; cv=none; b=D+h8dkD/UNt08yjC7kpz8Qu/kEMXOeHnPwac/jHtKoSFBUvoLSiHZwwKiR+VC8lCC98b3TLbgUZ+BwELO75walizDQ4a/n4jLPpkpbWUwLd049fzZWa6imvX04Kn9RxB3dICeBqUwxvrCKghbUQGO7+CkH6At5qiTYVS0JdWPfc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743093889; c=relaxed/simple; bh=dyjr4eCX61gLlPqg0zvHzqqx5fgccOrCCzwVhqR6l6s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kOLSOoAxpwndPFLp44rYF3sPogghmt7SfhiMuvmT+z7ntLuO6/gKfH2enq/QN8ip553581+1kPvAFItCv4hDBzz3cKPJdayD9QjJglUpU2exoxLOyuY49HSrCaCj0DpWZrYt+CVcln5oAK3s4uxN/+6mTjl5Ssb/3/wLucSoevE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IjO+DBKJ; 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="IjO+DBKJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C402FC4CEDD; Thu, 27 Mar 2025 16:44:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743093889; bh=dyjr4eCX61gLlPqg0zvHzqqx5fgccOrCCzwVhqR6l6s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IjO+DBKJivr5wTjWeMkT3R+Z88RmreDGZi6m/HwR5boF7qSgoVS/dQxw0M7xYKOOQ ezov4JC6bmFvpsVY+y1Oqvq37bgqPoRQatK/sy5XwgR92b3zC6xLi8+lrFW9dxtnkn d2jb0FQPqUzPNgOvApR90gRAxO7C3uXW3QNQoE5Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52984: net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices Date: Thu, 27 Mar 2025 17:43:31 +0100 Message-ID: <2025032707-CVE-2023-52984-19ad@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=2654; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dyjr4eCX61gLlPqg0zvHzqqx5fgccOrCCzwVhqR6l6s=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlPG6Tz2jr3yzxl5w5dHerkcfq4ZI3SWz3+1MB9C+/7f Qow76jsiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImEPGKYpziv1XR20PnOPJl1 dV2G5htU53MeYliwpZYpvSzn9NEKtmOcc9dpnClPk4sDAA== 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: dp83822: Fix null pointer access on DP83825/DP83826 devices The probe() function is only used for the DP83822 PHY, leaving the private data pointer uninitialized for the smaller DP83825/26 models. While all uses of the private data structure are hidden in 82822 specific callbacks, configuring the interrupt is shared across all models. This causes a NULL pointer dereference on the smaller PHYs as it accesses the private data unchecked. Verifying the pointer avoids that. The Linux kernel CVE team has assigned CVE-2023-52984 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 5dc39fd5ef35bc6919759fa99246581b1adc6b82 and fixed in 5.10.168 with commit 362a2f5531dc0e5b0b5b3e3a541000dbffa75461 Issue introduced in 5.10 with commit 5dc39fd5ef35bc6919759fa99246581b1adc6b82 and fixed in 5.15.93 with commit 2cd1e9c013ec56421c58921b1ddf1d2d53bd47fa Issue introduced in 5.10 with commit 5dc39fd5ef35bc6919759fa99246581b1adc6b82 and fixed in 6.1.11 with commit 78901b10522cdf6badf24acf65a892637596bccc Issue introduced in 5.10 with commit 5dc39fd5ef35bc6919759fa99246581b1adc6b82 and fixed in 6.2 with commit 422ae7d9c7221e8d4c8526d0f54106307d69d2dc 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-52984 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/dp83822.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/362a2f5531dc0e5b0b5b3e3a541000dbffa75461 https://git.kernel.org/stable/c/2cd1e9c013ec56421c58921b1ddf1d2d53bd47fa https://git.kernel.org/stable/c/78901b10522cdf6badf24acf65a892637596bccc https://git.kernel.org/stable/c/422ae7d9c7221e8d4c8526d0f54106307d69d2dc