In the Linux kernel, the following vulnerability has been resolved:
usb: phy: phy-tahvo: fix memory leak in tahvousbprobe()
Smatch reports: drivers/usb/phy/phy-tahvo.c: tahvousbprobe() warn: missing unwind goto?
After geting irq, if ret < 0, it will return without error handling to free memory. Just add error handling to fix this problem.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53379.json"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53379.json"
[
{
"id": "CVE-2023-53379-09da05dc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4da9edeccf77d7b4c6dbcb34d5908acdaa5bd7e3",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "72839247683312738460334175491716851353",
"length": 2507.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-302a9a6a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e5a7bebf832b1482efe27bcc15a88c5b28a30d0",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-364067ba",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@342161c11403ea00e9febc16baab1d883d589d04",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "266044417729021969555107021850453410997",
"length": 2289.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-38dc322a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e5a7bebf832b1482efe27bcc15a88c5b28a30d0",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "72839247683312738460334175491716851353",
"length": 2507.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-3975ee9e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@342161c11403ea00e9febc16baab1d883d589d04",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-3bb5a494",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@56901de563359de20513e16a9ae008ae2c22e9a9",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "266044417729021969555107021850453410997",
"length": 2289.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-5608f70c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ecf26d6e1b5450620c214feea537bb6ce05c6741",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "266044417729021969555107021850453410997",
"length": 2289.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-6d298da9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe9cdc19861950582f077f254a12026e169eaee5",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-79441732",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38dbd6f72bfbeba009efe0e9ec1f3ff09f9e23fa",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-7b92fa84",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe9cdc19861950582f077f254a12026e169eaee5",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "266044417729021969555107021850453410997",
"length": 2289.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-7bf7cb74",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@56901de563359de20513e16a9ae008ae2c22e9a9",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-83782425",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd9b7c89a80428cc5f4ae0d2e1311fdedb2a1aac",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "266044417729021969555107021850453410997",
"length": 2289.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-b73bc055",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4da9edeccf77d7b4c6dbcb34d5908acdaa5bd7e3",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-bd285351",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38dbd6f72bfbeba009efe0e9ec1f3ff09f9e23fa",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "266044417729021969555107021850453410997",
"length": 2289.0
},
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-db9aac8f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ecf26d6e1b5450620c214feea537bb6ce05c6741",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
},
{
"id": "CVE-2023-53379-e886c9ac",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd9b7c89a80428cc5f4ae0d2e1311fdedb2a1aac",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
]
},
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
}
}
]