In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192mt6359dev_probe
The devicenode pointer is returned by ofparsephandle() with refcount incremented. We should use ofnode_put() on it when done.
This function only calls ofnodeput() in the regular path. And it will cause refcount leak in error paths. Fix this by calling ofnodeput() in error handling too.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49244.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49244.json"
[
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c",
"function": "mt8192_mt6359_dev_probe"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1765787ec02e824f4f5e672cf269280a5da09d2f",
"deprecated": false,
"digest": {
"function_hash": "32220801158896300755135430601522436585",
"length": 1815.0
},
"id": "CVE-2022-49244-335a8ecc",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c",
"function": "mt8192_mt6359_dev_probe"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87e04a89c31e792eef62bcba6ebb77fd323d28a1",
"deprecated": false,
"digest": {
"function_hash": "32220801158896300755135430601522436585",
"length": 1815.0
},
"id": "CVE-2022-49244-58d41f11",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c",
"function": "mt8192_mt6359_dev_probe"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5a38629f1aaf397fd471b27e49d55289ddc0656",
"deprecated": false,
"digest": {
"function_hash": "32220801158896300755135430601522436585",
"length": 1815.0
},
"id": "CVE-2022-49244-5deab2ef",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c",
"function": "mt8192_mt6359_dev_probe"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e45ac7831ff3e2934d58cce319c17c8ec763c95c",
"deprecated": false,
"digest": {
"function_hash": "32220801158896300755135430601522436585",
"length": 1815.0
},
"id": "CVE-2022-49244-83ac0023",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e45ac7831ff3e2934d58cce319c17c8ec763c95c",
"deprecated": false,
"digest": {
"line_hashes": [
"65501527775131619571149429230154104162",
"260367647435168145076870225721619214262",
"110093779006421015896018915173938325982",
"8663944668668077003905903983302919664",
"85895470920805532871902838765014383083",
"323584230486380689998320756212301534714",
"317151329878629975461073699843033533285",
"271140995648079660433375111497134196528",
"119741620213043735155238764112704379068",
"7719567039659288794643697549894099278",
"41500184609413113816758839235446059911",
"119974683923114468930812829025061135241",
"59240687249570038076997187033149195110",
"28906100133963771583393361009103655287",
"226200668822064829910609007136807375964",
"138899899394785348858615394185461430682",
"221036798834567188201339151854640427671",
"279028495556983717236242380679144670907",
"183137785105854192837559906785360916080"
],
"threshold": 0.9
},
"id": "CVE-2022-49244-b8137312",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5a38629f1aaf397fd471b27e49d55289ddc0656",
"deprecated": false,
"digest": {
"line_hashes": [
"65501527775131619571149429230154104162",
"260367647435168145076870225721619214262",
"110093779006421015896018915173938325982",
"8663944668668077003905903983302919664",
"85895470920805532871902838765014383083",
"323584230486380689998320756212301534714",
"317151329878629975461073699843033533285",
"271140995648079660433375111497134196528",
"119741620213043735155238764112704379068",
"7719567039659288794643697549894099278",
"41500184609413113816758839235446059911",
"119974683923114468930812829025061135241",
"59240687249570038076997187033149195110",
"28906100133963771583393361009103655287",
"226200668822064829910609007136807375964",
"138899899394785348858615394185461430682",
"221036798834567188201339151854640427671",
"279028495556983717236242380679144670907",
"183137785105854192837559906785360916080"
],
"threshold": 0.9
},
"id": "CVE-2022-49244-d0d420f1",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87e04a89c31e792eef62bcba6ebb77fd323d28a1",
"deprecated": false,
"digest": {
"line_hashes": [
"65501527775131619571149429230154104162",
"260367647435168145076870225721619214262",
"110093779006421015896018915173938325982",
"8663944668668077003905903983302919664",
"85895470920805532871902838765014383083",
"323584230486380689998320756212301534714",
"317151329878629975461073699843033533285",
"271140995648079660433375111497134196528",
"119741620213043735155238764112704379068",
"7719567039659288794643697549894099278",
"41500184609413113816758839235446059911",
"119974683923114468930812829025061135241",
"59240687249570038076997187033149195110",
"28906100133963771583393361009103655287",
"226200668822064829910609007136807375964",
"138899899394785348858615394185461430682",
"221036798834567188201339151854640427671",
"279028495556983717236242380679144670907",
"183137785105854192837559906785360916080"
],
"threshold": 0.9
},
"id": "CVE-2022-49244-d4c8183d",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1765787ec02e824f4f5e672cf269280a5da09d2f",
"deprecated": false,
"digest": {
"line_hashes": [
"65501527775131619571149429230154104162",
"260367647435168145076870225721619214262",
"110093779006421015896018915173938325982",
"8663944668668077003905903983302919664",
"85895470920805532871902838765014383083",
"323584230486380689998320756212301534714",
"317151329878629975461073699843033533285",
"271140995648079660433375111497134196528",
"119741620213043735155238764112704379068",
"7719567039659288794643697549894099278",
"41500184609413113816758839235446059911",
"119974683923114468930812829025061135241",
"59240687249570038076997187033149195110",
"28906100133963771583393361009103655287",
"226200668822064829910609007136807375964",
"138899899394785348858615394185461430682",
"221036798834567188201339151854640427671",
"279028495556983717236242380679144670907",
"183137785105854192837559906785360916080"
],
"threshold": 0.9
},
"id": "CVE-2022-49244-fbc5514b",
"signature_type": "Line"
}
]