In the Linux kernel before 5.17, drivers/phy/tegra/xusb.c mishandles the tegraxusbfindportnode return value. Callers expect NULL in the error case, but an error pointer is used.
[
{
"digest": {
"length": 415.0,
"function_hash": "92433429788819778428264552344702187640"
},
"source": "https://github.com/torvalds/linux/commit/045a31b95509c8f25f5f04ec5e0dec5cd09f2c5f",
"deprecated": false,
"id": "CVE-2023-23000-a320e321",
"signature_type": "Function",
"target": {
"function": "tegra_xusb_find_port_node",
"file": "drivers/phy/tegra/xusb.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"85476444821271103395506783397338541885",
"178326301054669078733767741553601398027",
"244179227267822640229251335416991370022",
"205967475088757868235219455061017390658"
]
},
"source": "https://github.com/torvalds/linux/commit/045a31b95509c8f25f5f04ec5e0dec5cd09f2c5f",
"deprecated": false,
"id": "CVE-2023-23000-fcb3c50c",
"signature_type": "Line",
"target": {
"file": "drivers/phy/tegra/xusb.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23000.json"