
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49241 affects the Linux kernel and involves a vulnerability in the ASoC (ALSA System on Chip) Atmel driver. The issue was discovered in the sam9x5wm8731driverprobe function where there was improper handling of devicenode pointer reference counting. Specifically, the devicenode pointer returned by ofparsephandle() had its refcount incremented, but the function only called ofnode_put() in the regular path, causing a reference count leak in the error path (Kernel Git).
The vulnerability exists in the error handling path of the sam9x5wm8731driverprobe function. When ofparsephandle() returns a devicenode pointer, it increments the reference count. The original code only decremented this count (via ofnodeput()) in the successful execution path, but failed to do so in error conditions. This resulted in a memory leak due to the reference count not being properly decremented in error scenarios (Kernel Git).
The vulnerability results in a reference count leak in the Linux kernel's memory management system when error conditions occur in the Atmel ASoC driver. While this may not lead to immediate system compromise, it could potentially cause memory resource exhaustion over time if the error condition is triggered repeatedly (NVD).
The issue has been fixed by properly handling the reference counting in all execution paths. The fix involves adding appropriate ofnodeput() calls in the error handling paths to ensure proper cleanup of resources. The patch has been merged into the Linux kernel (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."