Memory Leak in soundwire: stream Configuration Error Path
Summary
GSD-2021-1000386: soundwire: stream: fix memory leak in stream config error path. Affects Kernel versions >= 89e590535f32d4bc548bcf266f3b046e50942f6d, < 7c468deae306d0cbbd539408c26cfec04c66159a. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The soundwire package is a part of the Linux Kernel ecosystem and is responsible for managing audio streams between devices. It provides a framework for configuring and controlling audio streams in a system. This vulnerability specifically affects the stream configuration error path in the soundwire package.
Vulnerability Detail
The vulnerability in the soundwire: stream configuration error path leads to a memory leak. When an error occurs during the configuration of a stream, memory allocated for the stream is not properly freed, resulting in a memory leak. This can lead to resource exhaustion and potential system instability. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.10.37.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, the soundwire: stream configuration error path vulnerability in the Linux Kernel can lead to memory leaks and potential system instability. It is recommended to update to version v5.10.37 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to memory leaks, resource exhaustion, and potential system instability.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will alert you in real-time if the vulnerability is present.
There is no known exploit for this vulnerability at the moment. However, it is recommended to apply the fix as soon as possible to prevent any potential exploitation.
There may be other vulnerabilities in the soundwire package, but this specific vulnerability is related to the memory leak in the stream configuration error path.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry GSD-2021-1000386 at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000386.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.