CVE-2021-47020
soundwire: stream: fix memory leak in stream config error path
- State
- Published
- Severity
- Not scored
- Published
- Feb 29, 2024
- Updated
- May 11, 2026
- Reserved
- Feb 27, 2024
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/342260fe821047c3d515e3d28085d73fbdce3e80
- https://git.kernel.org/stable/c/870533403ffa28ff63e173045fc5369365642002
- https://git.kernel.org/stable/c/7c468deae306d0cbbd539408c26cfec04c66159a
- https://git.kernel.org/stable/c/2f17ac005b320c85d686088cfd4c2e7017912b88
- https://git.kernel.org/stable/c/effd2bd62b416f6629e18e3ce077c60de14cfdea
- https://git.kernel.org/stable/c/48f17f96a81763c7c8bf5500460a359b9939359f
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.