Memory Leak in soundwire: stream Configuration Error Path
Summary
GSD-2021-1000434: soundwire: stream: fix memory leak in stream config error path. Affects Kernel versions >= 89e590535f32d4bc548bcf266f3b046e50942f6d, < 870533403ffa28ff63e173045fc5369365642002. 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 component of the Linux Kernel that provides support for SoundWire audio interfaces. SoundWire is a low-power, two-wire, multi-stream audio bus that enables audio communication between various devices. It is commonly used in mobile devices, IoT devices, and automotive systems. This vulnerability specifically affects the stream configuration error path in the soundwire package.
Vulnerability Detail
The vulnerability identified in the soundwire: stream configuration error path can lead to a memory leak. When encountering an error during the stream configuration process, the code fails to release allocated memory, resulting in a memory leak. An attacker could potentially exploit this vulnerability to exhaust system memory resources, leading to a denial of service (DoS) condition or other unexpected behavior. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.4.119.
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 provided for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section by updating the Linux Kernel to the latest version.
Conclusion
In conclusion, the soundwire: stream configuration error path vulnerability in the Linux Kernel can result in a memory leak, potentially leading to a denial of service (DoS) condition. It is crucial to update the Linux Kernel to version v5.4.119 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
SoundWire is a low-power, two-wire, multi-stream audio bus that enables audio communication between various devices. It is commonly used in mobile devices, IoT devices, and automotive systems.
The vulnerability can lead to a memory leak, potentially causing a denial of service (DoS) condition or other unexpected behavior due to the exhaustion of system memory resources.
The vulnerability was introduced in version v4.18 of the Linux Kernel. All versions between v4.18 and v5.4.119 are affected.
Yes, the vulnerability has been fixed in version v5.4.119 of the Linux Kernel.
Users can obtain the updated Linux Kernel from the official repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.