In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173rt5650dev_probe
ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Fix refcount leak in some error paths.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50122.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50122.json"
[
{
"signature_type": "Line",
"target": {
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@994f2edeeb2114bb22b62741cb8fb030fc7e5441",
"signature_version": "v1",
"id": "CVE-2022-50122-01482747",
"digest": {
"line_hashes": [
"90560966014479010435890751235245810471",
"185790702154513904560524901274997832714",
"120469743574933100063238017457578461082",
"124546310271554871879239692179652810622",
"150462518118847804075528551043062214732",
"240848157875041480000845910150814286708",
"12822910609647101254605188752206888898",
"6117483959138023537500215112167076361",
"246472610384599510596707447342294359096",
"185790702154513904560524901274997832714",
"251889297243334997356606041769891742462",
"303038528423116881403493865197118053668",
"154299758102923541671721770948309342162",
"114940299653178725658776399820549744055",
"141321062698070735425280227102598727263"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_type": "Function",
"target": {
"function": "mt8173_rt5650_dev_probe",
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38e4952ac7a316c9002af30980d6aa850214474",
"signature_version": "v1",
"id": "CVE-2022-50122-0a9fa35a",
"digest": {
"function_hash": "223028872488493511114179992319821619074",
"length": 1890.0
},
"deprecated": false
},
{
"signature_type": "Function",
"target": {
"function": "mt8173_rt5650_dev_probe",
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@994f2edeeb2114bb22b62741cb8fb030fc7e5441",
"signature_version": "v1",
"id": "CVE-2022-50122-184ad32b",
"digest": {
"function_hash": "253516483788855077284092310826957058293",
"length": 1987.0
},
"deprecated": false
},
{
"signature_type": "Line",
"target": {
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e38e4952ac7a316c9002af30980d6aa850214474",
"signature_version": "v1",
"id": "CVE-2022-50122-1c650370",
"digest": {
"line_hashes": [
"90560966014479010435890751235245810471",
"185790702154513904560524901274997832714",
"120469743574933100063238017457578461082",
"124546310271554871879239692179652810622",
"150462518118847804075528551043062214732",
"240848157875041480000845910150814286708",
"12822910609647101254605188752206888898",
"6117483959138023537500215112167076361",
"246472610384599510596707447342294359096",
"185790702154513904560524901274997832714",
"251889297243334997356606041769891742462",
"303038528423116881403493865197118053668",
"65667203520519326266277014094785136885",
"203426590025459503320416168712681458808",
"15201769722516204987716926415426337522"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_type": "Line",
"target": {
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e024a24fb264523149658c10c76bb363b3d0004d",
"signature_version": "v1",
"id": "CVE-2022-50122-26699f45",
"digest": {
"line_hashes": [
"236849275486630885669533472938476268901",
"185790702154513904560524901274997832714",
"254789425470593145313579264296097880385",
"180111071070376382418113762505364102942",
"150462518118847804075528551043062214732",
"240848157875041480000845910150814286708",
"149332988763894730240152183150739923921",
"1236240615905887418329410381028311767",
"21073318575076158282147269871148180548",
"185790702154513904560524901274997832714",
"251889297243334997356606041769891742462",
"303038528423116881403493865197118053668",
"154299758102923541671721770948309342162",
"114940299653178725658776399820549744055",
"141321062698070735425280227102598727263"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_type": "Line",
"target": {
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@403d46971936f9f704b91cecffe66e44aa39e915",
"signature_version": "v1",
"id": "CVE-2022-50122-28a19025",
"digest": {
"line_hashes": [
"90560966014479010435890751235245810471",
"185790702154513904560524901274997832714",
"120469743574933100063238017457578461082",
"124546310271554871879239692179652810622",
"150462518118847804075528551043062214732",
"240848157875041480000845910150814286708",
"12822910609647101254605188752206888898",
"6117483959138023537500215112167076361",
"246472610384599510596707447342294359096",
"185790702154513904560524901274997832714",
"251889297243334997356606041769891742462",
"303038528423116881403493865197118053668",
"154299758102923541671721770948309342162",
"114940299653178725658776399820549744055",
"141321062698070735425280227102598727263"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_type": "Function",
"target": {
"function": "mt8173_rt5650_dev_probe",
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@06ace427953f5036b64aed658f0055f65d76fd27",
"signature_version": "v1",
"id": "CVE-2022-50122-38d1933b",
"digest": {
"function_hash": "121579417766890045737874496950982432679",
"length": 1989.0
},
"deprecated": false
},
{
"signature_type": "Line",
"target": {
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@06ace427953f5036b64aed658f0055f65d76fd27",
"signature_version": "v1",
"id": "CVE-2022-50122-508081b2",
"digest": {
"line_hashes": [
"236849275486630885669533472938476268901",
"185790702154513904560524901274997832714",
"254789425470593145313579264296097880385",
"33446442605856026425979096715283873917",
"150462518118847804075528551043062214732",
"240848157875041480000845910150814286708",
"149332988763894730240152183150739923921",
"1236240615905887418329410381028311767",
"21073318575076158282147269871148180548",
"185790702154513904560524901274997832714",
"251889297243334997356606041769891742462",
"303038528423116881403493865197118053668",
"154299758102923541671721770948309342162",
"114940299653178725658776399820549744055",
"141321062698070735425280227102598727263"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_type": "Function",
"target": {
"function": "mt8173_rt5650_dev_probe",
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@403d46971936f9f704b91cecffe66e44aa39e915",
"signature_version": "v1",
"id": "CVE-2022-50122-59024aea",
"digest": {
"function_hash": "253516483788855077284092310826957058293",
"length": 1987.0
},
"deprecated": false
},
{
"signature_type": "Function",
"target": {
"function": "mt8173_rt5650_dev_probe",
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e024a24fb264523149658c10c76bb363b3d0004d",
"signature_version": "v1",
"id": "CVE-2022-50122-994fdcb2",
"digest": {
"function_hash": "160342173947220628419552879394558650717",
"length": 1858.0
},
"deprecated": false
},
{
"signature_type": "Function",
"target": {
"function": "mt8173_rt5650_dev_probe",
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efe2178d1a32492f99e7f1f2568eea5c88a85729",
"signature_version": "v1",
"id": "CVE-2022-50122-d0ab3f90",
"digest": {
"function_hash": "223028872488493511114179992319821619074",
"length": 1890.0
},
"deprecated": false
},
{
"signature_type": "Line",
"target": {
"file": "sound/soc/mediatek/mt8173/mt8173-rt5650.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efe2178d1a32492f99e7f1f2568eea5c88a85729",
"signature_version": "v1",
"id": "CVE-2022-50122-f115c4a4",
"digest": {
"line_hashes": [
"90560966014479010435890751235245810471",
"185790702154513904560524901274997832714",
"120469743574933100063238017457578461082",
"124546310271554871879239692179652810622",
"150462518118847804075528551043062214732",
"240848157875041480000845910150814286708",
"12822910609647101254605188752206888898",
"6117483959138023537500215112167076361",
"246472610384599510596707447342294359096",
"185790702154513904560524901274997832714",
"251889297243334997356606041769891742462",
"303038528423116881403493865197118053668",
"65667203520519326266277014094785136885",
"203426590025459503320416168712681458808",
"15201769722516204987716926415426337522"
],
"threshold": 0.9
},
"deprecated": false
}
]