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.
[
{
"id": "CVE-2023-53379-09da05dc",
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"length": 2507.0,
"function_hash": "72839247683312738460334175491716851353"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4da9edeccf77d7b4c6dbcb34d5908acdaa5bd7e3",
"signature_type": "Function"
},
{
"id": "CVE-2023-53379-302a9a6a",
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e5a7bebf832b1482efe27bcc15a88c5b28a30d0",
"signature_type": "Line"
},
{
"id": "CVE-2023-53379-364067ba",
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"length": 2289.0,
"function_hash": "266044417729021969555107021850453410997"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@342161c11403ea00e9febc16baab1d883d589d04",
"signature_type": "Function"
},
{
"id": "CVE-2023-53379-38dc322a",
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"length": 2507.0,
"function_hash": "72839247683312738460334175491716851353"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e5a7bebf832b1482efe27bcc15a88c5b28a30d0",
"signature_type": "Function"
},
{
"id": "CVE-2023-53379-3975ee9e",
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@342161c11403ea00e9febc16baab1d883d589d04",
"signature_type": "Line"
},
{
"id": "CVE-2023-53379-3bb5a494",
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"length": 2289.0,
"function_hash": "266044417729021969555107021850453410997"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@56901de563359de20513e16a9ae008ae2c22e9a9",
"signature_type": "Function"
},
{
"id": "CVE-2023-53379-6d298da9",
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe9cdc19861950582f077f254a12026e169eaee5",
"signature_type": "Line"
},
{
"id": "CVE-2023-53379-79441732",
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38dbd6f72bfbeba009efe0e9ec1f3ff09f9e23fa",
"signature_type": "Line"
},
{
"id": "CVE-2023-53379-7b92fa84",
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"length": 2289.0,
"function_hash": "266044417729021969555107021850453410997"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe9cdc19861950582f077f254a12026e169eaee5",
"signature_type": "Function"
},
{
"id": "CVE-2023-53379-7bf7cb74",
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@56901de563359de20513e16a9ae008ae2c22e9a9",
"signature_type": "Line"
},
{
"id": "CVE-2023-53379-83782425",
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"length": 2289.0,
"function_hash": "266044417729021969555107021850453410997"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd9b7c89a80428cc5f4ae0d2e1311fdedb2a1aac",
"signature_type": "Function"
},
{
"id": "CVE-2023-53379-b73bc055",
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4da9edeccf77d7b4c6dbcb34d5908acdaa5bd7e3",
"signature_type": "Line"
},
{
"id": "CVE-2023-53379-bd285351",
"target": {
"function": "tahvo_usb_probe",
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"length": 2289.0,
"function_hash": "266044417729021969555107021850453410997"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38dbd6f72bfbeba009efe0e9ec1f3ff09f9e23fa",
"signature_type": "Function"
},
{
"id": "CVE-2023-53379-e886c9ac",
"target": {
"file": "drivers/usb/phy/phy-tahvo.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"27300910563483890647229704798168189328",
"265228417687743592139465313689678926766",
"172283000676723315174619582448371629800",
"126232439258133864938875126194228747990"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd9b7c89a80428cc5f4ae0d2e1311fdedb2a1aac",
"signature_type": "Line"
}
]