CVE-2022-49244

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49244
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49244.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49244
Downstream
Related
Published
2025-02-26T01:56:04Z
Modified
2025-10-13T15:55:10.757016Z
Summary
ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
Details

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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
286c6f7b28fab19d649c2e1f3bc18fdecdbadfe5
Fixed
87e04a89c31e792eef62bcba6ebb77fd323d28a1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d1be8577f0b2f679095d237aaf281dca344f06c4
Fixed
d5a38629f1aaf397fd471b27e49d55289ddc0656
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4e28491a7a198c668437f2be8a91a76aa52f20eb
Fixed
1765787ec02e824f4f5e672cf269280a5da09d2f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4e28491a7a198c668437f2be8a91a76aa52f20eb
Fixed
e45ac7831ff3e2934d58cce319c17c8ec763c95c

Affected versions

v5.*

v5.15.17
v5.15.18
v5.15.19
v5.15.20
v5.15.21
v5.15.22
v5.15.23
v5.15.24
v5.15.25
v5.15.26
v5.15.27
v5.15.28
v5.15.29
v5.15.30
v5.15.31
v5.15.32
v5.16
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.16.10
v5.16.11
v5.16.12
v5.16.13
v5.16.14
v5.16.15
v5.16.16
v5.16.17
v5.16.18
v5.16.3
v5.16.4
v5.16.5
v5.16.6
v5.16.7
v5.16.8
v5.16.9
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.17.1

Database specific

{
    "vanir_signatures": [
        {
            "signature_type": "Function",
            "id": "CVE-2022-49244-335a8ecc",
            "deprecated": false,
            "digest": {
                "length": 1815.0,
                "function_hash": "32220801158896300755135430601522436585"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1765787ec02e824f4f5e672cf269280a5da09d2f",
            "signature_version": "v1",
            "target": {
                "function": "mt8192_mt6359_dev_probe",
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        },
        {
            "signature_type": "Function",
            "id": "CVE-2022-49244-58d41f11",
            "deprecated": false,
            "digest": {
                "length": 1815.0,
                "function_hash": "32220801158896300755135430601522436585"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87e04a89c31e792eef62bcba6ebb77fd323d28a1",
            "signature_version": "v1",
            "target": {
                "function": "mt8192_mt6359_dev_probe",
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        },
        {
            "signature_type": "Function",
            "id": "CVE-2022-49244-5deab2ef",
            "deprecated": false,
            "digest": {
                "length": 1815.0,
                "function_hash": "32220801158896300755135430601522436585"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5a38629f1aaf397fd471b27e49d55289ddc0656",
            "signature_version": "v1",
            "target": {
                "function": "mt8192_mt6359_dev_probe",
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        },
        {
            "signature_type": "Function",
            "id": "CVE-2022-49244-83ac0023",
            "deprecated": false,
            "digest": {
                "length": 1815.0,
                "function_hash": "32220801158896300755135430601522436585"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e45ac7831ff3e2934d58cce319c17c8ec763c95c",
            "signature_version": "v1",
            "target": {
                "function": "mt8192_mt6359_dev_probe",
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        },
        {
            "signature_type": "Line",
            "id": "CVE-2022-49244-b8137312",
            "deprecated": false,
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "65501527775131619571149429230154104162",
                    "260367647435168145076870225721619214262",
                    "110093779006421015896018915173938325982",
                    "8663944668668077003905903983302919664",
                    "85895470920805532871902838765014383083",
                    "323584230486380689998320756212301534714",
                    "317151329878629975461073699843033533285",
                    "271140995648079660433375111497134196528",
                    "119741620213043735155238764112704379068",
                    "7719567039659288794643697549894099278",
                    "41500184609413113816758839235446059911",
                    "119974683923114468930812829025061135241",
                    "59240687249570038076997187033149195110",
                    "28906100133963771583393361009103655287",
                    "226200668822064829910609007136807375964",
                    "138899899394785348858615394185461430682",
                    "221036798834567188201339151854640427671",
                    "279028495556983717236242380679144670907",
                    "183137785105854192837559906785360916080"
                ]
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e45ac7831ff3e2934d58cce319c17c8ec763c95c",
            "signature_version": "v1",
            "target": {
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        },
        {
            "signature_type": "Line",
            "id": "CVE-2022-49244-d0d420f1",
            "deprecated": false,
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "65501527775131619571149429230154104162",
                    "260367647435168145076870225721619214262",
                    "110093779006421015896018915173938325982",
                    "8663944668668077003905903983302919664",
                    "85895470920805532871902838765014383083",
                    "323584230486380689998320756212301534714",
                    "317151329878629975461073699843033533285",
                    "271140995648079660433375111497134196528",
                    "119741620213043735155238764112704379068",
                    "7719567039659288794643697549894099278",
                    "41500184609413113816758839235446059911",
                    "119974683923114468930812829025061135241",
                    "59240687249570038076997187033149195110",
                    "28906100133963771583393361009103655287",
                    "226200668822064829910609007136807375964",
                    "138899899394785348858615394185461430682",
                    "221036798834567188201339151854640427671",
                    "279028495556983717236242380679144670907",
                    "183137785105854192837559906785360916080"
                ]
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5a38629f1aaf397fd471b27e49d55289ddc0656",
            "signature_version": "v1",
            "target": {
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        },
        {
            "signature_type": "Line",
            "id": "CVE-2022-49244-d4c8183d",
            "deprecated": false,
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "65501527775131619571149429230154104162",
                    "260367647435168145076870225721619214262",
                    "110093779006421015896018915173938325982",
                    "8663944668668077003905903983302919664",
                    "85895470920805532871902838765014383083",
                    "323584230486380689998320756212301534714",
                    "317151329878629975461073699843033533285",
                    "271140995648079660433375111497134196528",
                    "119741620213043735155238764112704379068",
                    "7719567039659288794643697549894099278",
                    "41500184609413113816758839235446059911",
                    "119974683923114468930812829025061135241",
                    "59240687249570038076997187033149195110",
                    "28906100133963771583393361009103655287",
                    "226200668822064829910609007136807375964",
                    "138899899394785348858615394185461430682",
                    "221036798834567188201339151854640427671",
                    "279028495556983717236242380679144670907",
                    "183137785105854192837559906785360916080"
                ]
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87e04a89c31e792eef62bcba6ebb77fd323d28a1",
            "signature_version": "v1",
            "target": {
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        },
        {
            "signature_type": "Line",
            "id": "CVE-2022-49244-fbc5514b",
            "deprecated": false,
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "65501527775131619571149429230154104162",
                    "260367647435168145076870225721619214262",
                    "110093779006421015896018915173938325982",
                    "8663944668668077003905903983302919664",
                    "85895470920805532871902838765014383083",
                    "323584230486380689998320756212301534714",
                    "317151329878629975461073699843033533285",
                    "271140995648079660433375111497134196528",
                    "119741620213043735155238764112704379068",
                    "7719567039659288794643697549894099278",
                    "41500184609413113816758839235446059911",
                    "119974683923114468930812829025061135241",
                    "59240687249570038076997187033149195110",
                    "28906100133963771583393361009103655287",
                    "226200668822064829910609007136807375964",
                    "138899899394785348858615394185461430682",
                    "221036798834567188201339151854640427671",
                    "279028495556983717236242380679144670907",
                    "183137785105854192837559906785360916080"
                ]
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1765787ec02e824f4f5e672cf269280a5da09d2f",
            "signature_version": "v1",
            "target": {
                "file": "sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c"
            }
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.33
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.16.19
Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
5.17.2