CVE-2022-49244

Source
https://cve.org/CVERecord?id=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:04.783Z
Modified
2026-03-12T03:24:53.383699Z
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49244.json"
}
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
Fixed
e45ac7831ff3e2934d58cce319c17c8ec763c95c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49244.json"