[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025032707-CVE-2023-52984-19ad@gregkh>
Date: Thu, 27 Mar 2025 17:43:31 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2023-52984: net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
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
Powered by blists - more mailing lists