CVE-2022-49240

Source
https://cve.org/CVERecord?id=CVE-2022-49240
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49240.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49240
Downstream
Published
2025-02-26T01:56:02.795Z
Modified
2026-04-02T08:27:25.726193Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe
Details

In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: mt8195: Fix error handling in mt8195mt6359rt1019rt5682dev_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 path.

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

Database specific

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