CVE-2021-47020

soundwire: stream: fix memory leak in stream config error path

MEDIUM
5.5
CVSS Score
Published: February 29, 2024 at 10:31 PM UTC
Updated: June 17, 2026 at 04:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: soundwire: stream: fix memory leak in stream config error path When stream config is failed, master runtime will release all slave runtime in the slave_rt_list, but slave runtime is not added to the list at this time. This patch frees slave runtime in the config error path to fix the memory leak.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.18 ≤ v < 4.19.1914.18 ≤ v < 5.10.374.18 ≤ v < 5.11.214.18 ≤ v < 5.12.44.18 ≤ v < 5.134.18 ≤ v < 5.4.1194.20 ≤ v < 5.4.1195.11 ≤ v < 5.11.215.12 ≤ v < 5.12.45.5 ≤ v < 5.10.374.1889e590535f32d4bc548bcf266f3b046e50942f6d
Vendor states this is fixed in 2f17ac005b320c85d686088cfd4c2e7017912b88 (fixed)
Vendor states this is fixed in 342260fe821047c3d515e3d28085d73fbdce3e80 (fixed)
Vendor states this is fixed in 48f17f96a81763c7c8bf5500460a359b9939359f (fixed)
Vendor states this is fixed in 7c468deae306d0cbbd539408c26cfec04c66159a (fixed)
Vendor states this is fixed in 870533403ffa28ff63e173045fc5369365642002 (fixed)
Vendor states this is fixed in effd2bd62b416f6629e18e3ce077c60de14cfdea (fixed)
Vendor states this is fixed in 4.18 (unaffected)
Vendor states this is fixed in 4.19.191 (unaffected)
Vendor states this is fixed in 5.10.37 (unaffected)
Vendor states this is fixed in 5.11.21 (unaffected)
Vendor states this is fixed in 5.12.4 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.119 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2f17ac005b320c85d686088cfd4c2e7017912b88
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/342260fe821047c3d515e3d28085d73fbdce3e80
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/48f17f96a81763c7c8bf5500460a359b9939359f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7c468deae306d0cbbd539408c26cfec04c66159a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/870533403ffa28ff63e173045fc5369365642002
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/effd2bd62b416f6629e18e3ce077c60de14cfdea

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card