Memory Leak in soundwire: stream Configuration Error Path

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback