In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8183: fix refcount leak in mt8183mt6358ts3a227max98357dev_probe()
The node returned by ofparsephandle() with refcount incremented, ofnodeput() needs be called when finish using it. So add it in the error path in mt8183mt6358ts3a227max98357dev_probe().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50392.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50392.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "282329543137136760358511884764533972817",
"length": 4354.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82f7c814edda353b4781f356d3ab90e943d5eac4",
"signature_type": "Function",
"id": "CVE-2022-50392-1627892e",
"target": {
"file": "sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c",
"function": "mt8183_mt6358_ts3a227_max98357_dev_probe"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "282329543137136760358511884764533972817",
"length": 4354.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38eef3be38ab895959c442702864212cc3beb96c",
"signature_type": "Function",
"id": "CVE-2022-50392-364b9261",
"target": {
"file": "sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c",
"function": "mt8183_mt6358_ts3a227_max98357_dev_probe"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65501527775131619571149429230154104162",
"260367647435168145076870225721619214262",
"110093779006421015896018915173938325982",
"312996209560598644329392411211576932876",
"270534279086719481462935973686259665969",
"18391267743442185845930755779338632985",
"317151329878629975461073699843033533285",
"271140995648079660433375111497134196528",
"118696298150847765194415644227515840312",
"290916694643638182029886079473901472690",
"99620035040928932291486400510247237994",
"269592607173899712860942555863468531558",
"251872820868167983012427931957087570399",
"109850157856096662397359979895651379572",
"281860901492427323274480169706391642929",
"134366380403701747324199516508502480779",
"330796247771073539964539021034367801812"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@156b0c19c1a44153e34cfdfa5937546a93dcb288",
"signature_type": "Line",
"id": "CVE-2022-50392-a42e16e1",
"target": {
"file": "sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "282329543137136760358511884764533972817",
"length": 4354.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@156b0c19c1a44153e34cfdfa5937546a93dcb288",
"signature_type": "Function",
"id": "CVE-2022-50392-ac4f75c1",
"target": {
"file": "sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c",
"function": "mt8183_mt6358_ts3a227_max98357_dev_probe"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65501527775131619571149429230154104162",
"260367647435168145076870225721619214262",
"110093779006421015896018915173938325982",
"312996209560598644329392411211576932876",
"270534279086719481462935973686259665969",
"18391267743442185845930755779338632985",
"317151329878629975461073699843033533285",
"271140995648079660433375111497134196528",
"118696298150847765194415644227515840312",
"290916694643638182029886079473901472690",
"99620035040928932291486400510247237994",
"269592607173899712860942555863468531558",
"251872820868167983012427931957087570399",
"109850157856096662397359979895651379572",
"281860901492427323274480169706391642929",
"134366380403701747324199516508502480779",
"330796247771073539964539021034367801812"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82f7c814edda353b4781f356d3ab90e943d5eac4",
"signature_type": "Line",
"id": "CVE-2022-50392-e01674fa",
"target": {
"file": "sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65501527775131619571149429230154104162",
"260367647435168145076870225721619214262",
"110093779006421015896018915173938325982",
"312996209560598644329392411211576932876",
"270534279086719481462935973686259665969",
"18391267743442185845930755779338632985",
"317151329878629975461073699843033533285",
"271140995648079660433375111497134196528",
"118696298150847765194415644227515840312",
"290916694643638182029886079473901472690",
"99620035040928932291486400510247237994",
"269592607173899712860942555863468531558",
"251872820868167983012427931957087570399",
"109850157856096662397359979895651379572",
"281860901492427323274480169706391642929",
"134366380403701747324199516508502480779",
"330796247771073539964539021034367801812"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38eef3be38ab895959c442702864212cc3beb96c",
"signature_type": "Line",
"id": "CVE-2022-50392-fe97e9a6",
"target": {
"file": "sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c"
}
}
]