In the Linux kernel, the following vulnerability has been resolved:
net: ti: icssgprueth: Fix NULL pointer dereference in pruethprobe()
In the pruethprobe() function, if one of the calls to emacphyconnect() fails due to ofphyconnect() returning NULL, then the subsequent call to phyattached_info() will dereference a NULL pointer.
Check the return code of emacphyconnect and fail cleanly if there is an error.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38584.json"
}[
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-38584-db1731aa",
"target": {
"file": "drivers/net/ethernet/ti/icssg/icssg_prueth.c",
"function": "prueth_probe"
},
"digest": {
"length": 5765.0,
"function_hash": "260891178497244558905254800953117012392"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5cd17f0e74cb99d209945b9f1f06d411aa667eb1"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-38584-e7cb02d4",
"target": {
"file": "drivers/net/ethernet/ti/icssg/icssg_prueth.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"25651690256915330216037968103545572812",
"33497347467448184686885730624261946306",
"282163701034438993361784678923841261048",
"288398209248849867967014591124068981653",
"39068894487736148858477396404980202091",
"162083438671450153237938603260679135764",
"98052764332018367039819275172673189037",
"42311283213599073825703614032480606707"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5cd17f0e74cb99d209945b9f1f06d411aa667eb1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38584.json"