Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.17, < 5.17.2 |
References
- https://git.kernel.org/stable/c/c4b7174fe5bb875a09a78674a14a1589d1a672f3Patch
- https://git.kernel.org/stable/c/c652f8f0875b569f8afa80b8cf9762828fd6187bPatch
FAQ
What is CVE-2022-49240?
CVE-2022-49240 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe The device_node pointer is returned by of_pars...
How severe is CVE-2022-49240?
CVE-2022-49240 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49240?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.