In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: qcom: Fix potential memory leak
Function dwc3qcomprobe() allocates memory for resource structure which is pointed by parent_res pointer. This memory is not freed. This leads to memory leak. Use stack memory to prevent memory leak.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
{ "vanir_signatures": [ { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c", "function": "dwc3_qcom_probe" }, "signature_version": "v1", "digest": { "length": 3048.0, "function_hash": "293130683247927588261243044973063636130" }, "id": "CVE-2023-53196-1c1519e9", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@097fb3ee710d4de83b8d4f5589e8ee13e0f0541e" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c", "function": "dwc3_qcom_probe" }, "signature_version": "v1", "digest": { "length": 2938.0, "function_hash": "24032903307761217142196789898637818988" }, "id": "CVE-2023-53196-69a218cb", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b626cd5e4a87a281629e0c2b07519990077c0fbe" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c", "function": "dwc3_qcom_probe" }, "signature_version": "v1", "digest": { "length": 3048.0, "function_hash": "293130683247927588261243044973063636130" }, "id": "CVE-2023-53196-767f2465", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3b322b84ab5dda7eaca9ded763628b7467734f4" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "4258102313042700550433230501546918606", "145157253327612303717763508168415863551", "30382336832129517174737363911406722545", "105783825060783976732290906048068060281", "138740133365066495175762367131380012837", "217895477946663192267942062200161961461", "184724349931609568417871819796803650681", "48409047507093048167865415341062635595", "323982752708505733032452099566872353187", "92604857147264698784339458980550930880" ], "threshold": 0.9 }, "id": "CVE-2023-53196-7ae37d9b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@097fb3ee710d4de83b8d4f5589e8ee13e0f0541e" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "4258102313042700550433230501546918606", "145157253327612303717763508168415863551", "30382336832129517174737363911406722545", "197826974886848461021608737011583786709", "138740133365066495175762367131380012837", "217895477946663192267942062200161961461", "184724349931609568417871819796803650681", "48409047507093048167865415341062635595", "323982752708505733032452099566872353187", "92604857147264698784339458980550930880" ], "threshold": 0.9 }, "id": "CVE-2023-53196-a49911bc", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74f8606ddfa450d2255b4e61472a7632def1e8c4" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c", "function": "dwc3_qcom_probe" }, "signature_version": "v1", "digest": { "length": 2644.0, "function_hash": "88818212915732051912944432883924678197" }, "id": "CVE-2023-53196-b0a49c64", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@648a163cff21ea355c8765e882ba8bf66a870a3e" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c", "function": "dwc3_qcom_probe" }, "signature_version": "v1", "digest": { "length": 3000.0, "function_hash": "124031431284159632726501483021970527818" }, "id": "CVE-2023-53196-b9dc008b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74f8606ddfa450d2255b4e61472a7632def1e8c4" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "4258102313042700550433230501546918606", "145157253327612303717763508168415863551", "30382336832129517174737363911406722545", "197826974886848461021608737011583786709", "138740133365066495175762367131380012837", "217895477946663192267942062200161961461", "184724349931609568417871819796803650681", "48409047507093048167865415341062635595", "323982752708505733032452099566872353187", "92604857147264698784339458980550930880" ], "threshold": 0.9 }, "id": "CVE-2023-53196-bd7fd20e", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b626cd5e4a87a281629e0c2b07519990077c0fbe" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "4258102313042700550433230501546918606", "145157253327612303717763508168415863551", "30382336832129517174737363911406722545", "105783825060783976732290906048068060281", "138740133365066495175762367131380012837", "217895477946663192267942062200161961461", "184724349931609568417871819796803650681", "48409047507093048167865415341062635595", "323982752708505733032452099566872353187", "92604857147264698784339458980550930880" ], "threshold": 0.9 }, "id": "CVE-2023-53196-d2b20b69", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3b322b84ab5dda7eaca9ded763628b7467734f4" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/dwc3-qcom.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "4258102313042700550433230501546918606", "145157253327612303717763508168415863551", "30382336832129517174737363911406722545", "197826974886848461021608737011583786709", "138740133365066495175762367131380012837", "217895477946663192267942062200161961461", "184724349931609568417871819796803650681", "48409047507093048167865415341062635595", "323982752708505733032452099566872353187", "92604857147264698784339458980550930880" ], "threshold": 0.9 }, "id": "CVE-2023-53196-e2e901d7", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@648a163cff21ea355c8765e882ba8bf66a870a3e" } ] }