In the Linux kernel, the following vulnerability has been resolved:
usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq
Can not set the @sharedhcd to NULL before decrease the usage count by usbput_hcd(), this will cause the shared hcd not released.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50247.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/usb/host/xhci-mtk.c",
"function": "xhci_mtk_probe"
},
"id": "CVE-2022-50247-19639bb5",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@03a88b0bafbe3f548729d970d8366f48718c9b19",
"digest": {
"function_hash": "330944076221296486876659378406087920817",
"length": 3664.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/usb/host/xhci-mtk.c"
},
"id": "CVE-2022-50247-b3c6a759",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05680a91ae60ddd0319e6618456f0883b5dd765d",
"digest": {
"line_hashes": [
"37470563692435529018560897930415411971",
"279641609668544671570072294771731354884",
"106157965266423419836288652798929961349",
"234735923051477797910756882475405943186"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/usb/host/xhci-mtk.c"
},
"id": "CVE-2022-50247-bb7ecfac",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@03a88b0bafbe3f548729d970d8366f48718c9b19",
"digest": {
"line_hashes": [
"37470563692435529018560897930415411971",
"238790822026178404250039325639367141552",
"304705862915856783900387162781487109575",
"165005036399020240233462397860120079733"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/usb/host/xhci-mtk.c",
"function": "xhci_mtk_probe"
},
"id": "CVE-2022-50247-d8e72247",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05680a91ae60ddd0319e6618456f0883b5dd765d",
"digest": {
"function_hash": "152587652225604263302232324408863104282",
"length": 3539.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50247.json"