In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: core: fix some leaks in probe
The dwc3getproperties() function calls:
dwc->usb_psy = power_supply_get_by_name(usb_psy_name);
so there is some additional clean up required on these error paths.
{ "vanir_signatures": [ { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/core.c", "function": "dwc3_probe" }, "deprecated": false, "digest": { "length": 4057.0, "function_hash": "307197448274253787220562335928606028468" }, "id": "CVE-2022-50357-18f0acca", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a735e4b5580a2a6bbd6572109b4c4f163c57462" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/core.c", "function": "dwc3_probe" }, "deprecated": false, "digest": { "length": 3941.0, "function_hash": "301384942669117826756182880044084523337" }, "id": "CVE-2022-50357-413a2aaf", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a213503f483173e7eea76f2e7e3bdd6df7fd6f8" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/usb/dwc3/core.c", "function": "dwc3_probe" }, "deprecated": false, "digest": { "length": 3941.0, "function_hash": "301384942669117826756182880044084523337" }, "id": "CVE-2022-50357-7469fc47", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@79c3afb55942368921237d7b5355d48c52bdde20" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/core.c" }, "deprecated": false, "digest": { "line_hashes": [ "216027425298568312131778358753204595710", "216478965779901323383616673911490727023", "12867064536833557864189069009845391016", "211627037488386775877832576235282860056", "2207029275005054533953322699187065906", "160802924712918860221001783325036617851", "267147838946545646691557681615695315804", "335095856560510685526388681754253763970", "112163377727162504392277965029528131469", "31944734993476067501901315014994456780", "210310780127089642005638370296890229017", "40030918445011488154222422849260195719", "253509669134460602882698605002325306906", "90170567995484381683201611285010246738", "144279752120611010388943692520389334225", "81210909210269432414779410024927971242", "261323204573572349100038103508728064251", "127126553821680568388316725046135579133", "96612336172644384502886119304270412409", "88387978517184854952897141110770342847", "2523497751723968027042255946970590366", "141975720497527776313585734713130179334", "191852763748778253092832108184743046562", "224079566140977118327254077570894561154", "119061961313455757211082203040622567378", "32873992302571432543733187614080156103", "332062634971624318118544650706698927203", "84610870081318511001223013900661560082", "134484056394827636977307856676587375104", "131503049532950781774691342253211592261", "251071769370660120756204201535643965397", "151249109868637191102728475178434059752", "314410733239864041631792701790583141684", "90218261362014705796618405345718216997", "108277006513070411078773107215373296342", "120180644386436103671349792730775066143", "160463337709910534961572757947537237692", "22475492451807567465921333328868722338", "17130318693514748397316389445439962113", "39924673960854654661035063428044003540", "301825506953037275577801494711145676785", "220479002034987568373700873961864281111", "216138981702124424593185000763826929480" ], "threshold": 0.9 }, "id": "CVE-2022-50357-a712c4e7", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@79c3afb55942368921237d7b5355d48c52bdde20" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/core.c" }, "deprecated": false, "digest": { "line_hashes": [ "216027425298568312131778358753204595710", "216478965779901323383616673911490727023", "12867064536833557864189069009845391016", "211627037488386775877832576235282860056", "2207029275005054533953322699187065906", "160802924712918860221001783325036617851", "267147838946545646691557681615695315804", "335095856560510685526388681754253763970", "112163377727162504392277965029528131469", "31944734993476067501901315014994456780", "210310780127089642005638370296890229017", "40030918445011488154222422849260195719", "253509669134460602882698605002325306906", "90170567995484381683201611285010246738", "144279752120611010388943692520389334225", "81210909210269432414779410024927971242", "261323204573572349100038103508728064251", "127126553821680568388316725046135579133", "96612336172644384502886119304270412409", "88387978517184854952897141110770342847", "2523497751723968027042255946970590366", "141975720497527776313585734713130179334", "191852763748778253092832108184743046562", "224079566140977118327254077570894561154", "119061961313455757211082203040622567378", "32873992302571432543733187614080156103", "332062634971624318118544650706698927203", "84610870081318511001223013900661560082", "134484056394827636977307856676587375104", "131503049532950781774691342253211592261", "251071769370660120756204201535643965397", "151249109868637191102728475178434059752", "314410733239864041631792701790583141684", "90218261362014705796618405345718216997", "108277006513070411078773107215373296342", "120180644386436103671349792730775066143", "160463337709910534961572757947537237692", "22475492451807567465921333328868722338", "17130318693514748397316389445439962113", "39924673960854654661035063428044003540", "301825506953037275577801494711145676785", "220479002034987568373700873961864281111", "216138981702124424593185000763826929480" ], "threshold": 0.9 }, "id": "CVE-2022-50357-b177cf4e", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a213503f483173e7eea76f2e7e3bdd6df7fd6f8" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/usb/dwc3/core.c" }, "deprecated": false, "digest": { "line_hashes": [ "316884340672488878975757206293713985814", "187110831644114010806969333714010600665", "12867064536833557864189069009845391016", "211627037488386775877832576235282860056", "2207029275005054533953322699187065906", "160802924712918860221001783325036617851", "267147838946545646691557681615695315804", "335095856560510685526388681754253763970", "112163377727162504392277965029528131469", "31944734993476067501901315014994456780", "210310780127089642005638370296890229017", "40030918445011488154222422849260195719", "253509669134460602882698605002325306906", "90170567995484381683201611285010246738", "144279752120611010388943692520389334225", "81210909210269432414779410024927971242", "261323204573572349100038103508728064251", "127126553821680568388316725046135579133", "96612336172644384502886119304270412409", "88387978517184854952897141110770342847", "2523497751723968027042255946970590366", "141975720497527776313585734713130179334", "191852763748778253092832108184743046562", "224079566140977118327254077570894561154", "119061961313455757211082203040622567378", "32873992302571432543733187614080156103", "332062634971624318118544650706698927203", "84610870081318511001223013900661560082", "134484056394827636977307856676587375104", "131503049532950781774691342253211592261", "251071769370660120756204201535643965397", "151249109868637191102728475178434059752", "314410733239864041631792701790583141684", "90218261362014705796618405345718216997", "108277006513070411078773107215373296342", "120180644386436103671349792730775066143", "160463337709910534961572757947537237692", "22475492451807567465921333328868722338", "17130318693514748397316389445439962113", "39924673960854654661035063428044003540", "301825506953037275577801494711145676785", "220479002034987568373700873961864281111", "216138981702124424593185000763826929480" ], "threshold": 0.9 }, "id": "CVE-2022-50357-df2eeb53", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a735e4b5580a2a6bbd6572109b4c4f163c57462" } ] }