CVE-2022-49244
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49244 affects the Linux kernel's ASoC (ALSA System on Chip) MediaTek MT8192-MT6359 audio driver. The vulnerability stems from improper error handling in the mt8192mt6359devprobe function, where devicenode pointers returned by ofparsephandle() with incremented refcount were not properly released in error paths (Kernel Git).

Technical details

The vulnerability occurs in the sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c file. The issue arises because the function only calls ofnodeput() in the regular path but fails to do so in error paths, leading to a reference count leak. This is a fix for a previous patch (4e28491a7a19) that addressed device_node leaks (Kernel Git).

Impact

The vulnerability results in a memory leak due to improper reference counting of device nodes in the Linux kernel's audio subsystem. While this doesn't lead to immediate system compromise, it could potentially cause resource exhaustion over time if the affected code path is repeatedly triggered (NVD).

Mitigation and workarounds

The issue has been fixed by adding proper error handling paths that ensure ofnodeput() is called in all error conditions. The fix has been implemented in the Linux kernel through a patch that adds appropriate cleanup code in the error handling paths (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management