In the Linux kernel before 5.16.3, drivers/usb/dwc3/dwc3-qcom.c misinterprets the dwc3qcomcreateursusb_platdev return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22999.json"
[
{
"id": "CVE-2023-22999-158c193e",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"329070301623013148916134664409001784547",
"313691043326745893523332649350268489279",
"105972965863238606510485885685962012685",
"31094316826871250893621292140902435414",
"190520745226939478337383030680207198929",
"20254608072920581142130139053697884458"
]
},
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/b52fe2dbb3e655eb1483000adfab68a219549e13",
"target": {
"file": "drivers/usb/dwc3/dwc3-qcom.c"
},
"deprecated": false
},
{
"id": "CVE-2023-22999-99850e49",
"signature_type": "Function",
"digest": {
"function_hash": "218577190454148434295053219682681719225",
"length": 2867.0
},
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/b52fe2dbb3e655eb1483000adfab68a219549e13",
"target": {
"function": "dwc3_qcom_probe",
"file": "drivers/usb/dwc3/dwc3-qcom.c"
},
"deprecated": false
}
]