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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52984.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52984.json"
[
{
"id": "CVE-2023-52984-0930dd5d",
"target": {
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cd1e9c013ec56421c58921b1ddf1d2d53bd47fa",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94056131264204355784085934034883167022",
"246937697666159289519772535195876311611",
"246771205284821463237773520434688443734",
"283365967057722592483236138987150418407",
"111678745918559506302863085748751802760",
"26764413074703316523790211831464403665",
"135547642460113374365788077763477417385",
"181812409109215102909609214278995411505"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52984-2f645491",
"target": {
"function": "dp83822_config_intr",
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@422ae7d9c7221e8d4c8526d0f54106307d69d2dc",
"digest": {
"function_hash": "98062641520379893352402271130141079711",
"length": 1394.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52984-3ee32f5f",
"target": {
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362a2f5531dc0e5b0b5b3e3a541000dbffa75461",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94056131264204355784085934034883167022",
"246937697666159289519772535195876311611",
"246771205284821463237773520434688443734",
"283365967057722592483236138987150418407",
"111678745918559506302863085748751802760",
"26764413074703316523790211831464403665",
"135547642460113374365788077763477417385",
"181812409109215102909609214278995411505"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52984-7b70d73e",
"target": {
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78901b10522cdf6badf24acf65a892637596bccc",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94056131264204355784085934034883167022",
"246937697666159289519772535195876311611",
"246771205284821463237773520434688443734",
"283365967057722592483236138987150418407",
"111678745918559506302863085748751802760",
"26764413074703316523790211831464403665",
"135547642460113374365788077763477417385",
"181812409109215102909609214278995411505"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52984-9b2e90ac",
"target": {
"function": "dp83822_config_intr",
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cd1e9c013ec56421c58921b1ddf1d2d53bd47fa",
"digest": {
"function_hash": "98062641520379893352402271130141079711",
"length": 1394.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52984-b2f0dadd",
"target": {
"function": "dp83822_config_intr",
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78901b10522cdf6badf24acf65a892637596bccc",
"digest": {
"function_hash": "98062641520379893352402271130141079711",
"length": 1394.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52984-bb864200",
"target": {
"function": "dp83822_config_intr",
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@362a2f5531dc0e5b0b5b3e3a541000dbffa75461",
"digest": {
"function_hash": "98062641520379893352402271130141079711",
"length": 1394.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52984-f840fa2c",
"target": {
"file": "drivers/net/phy/dp83822.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@422ae7d9c7221e8d4c8526d0f54106307d69d2dc",
"digest": {
"threshold": 0.9,
"line_hashes": [
"94056131264204355784085934034883167022",
"246937697666159289519772535195876311611",
"246771205284821463237773520434688443734",
"283365967057722592483236138987150418407",
"111678745918559506302863085748751802760",
"26764413074703316523790211831464403665",
"135547642460113374365788077763477417385",
"181812409109215102909609214278995411505"
]
},
"signature_type": "Line"
}
]