CVEvulnerability
CVE-2021-47020
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-02-29
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• linux linux kernel (>= 4.18 < 4.19.191)
• linux linux kernel (>= 4.20 < 5.4.119)
• linux linux kernel (>= 5.5 < 5.10.37)
• linux linux kernel (>= 5.11 < 5.11.21)
• linux linux kernel (>= 5.12 < 5.12.4)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/2f17ac005b320c85d686088cfd4c2e7017912b88 Patch
- https://git.kernel.org/stable/c/342260fe821047c3d515e3d28085d73fbdce3e80 Patch
- https://git.kernel.org/stable/c/48f17f96a81763c7c8bf5500460a359b9939359f Patch
- https://git.kernel.org/stable/c/7c468deae306d0cbbd539408c26cfec04c66159a Patch
- https://git.kernel.org/stable/c/870533403ffa28ff63e173045fc5369365642002 Patch
- https://git.kernel.org/stable/c/effd2bd62b416f6629e18e3ce077c60de14cfdea Patch
- https://git.kernel.org/stable/c/2f17ac005b320c85d686088cfd4c2e7017912b88 Patch
- https://git.kernel.org/stable/c/342260fe821047c3d515e3d28085d73fbdce3e80 Patch
- https://git.kernel.org/stable/c/48f17f96a81763c7c8bf5500460a359b9939359f Patch
- https://git.kernel.org/stable/c/7c468deae306d0cbbd539408c26cfec04c66159a Patch
- https://git.kernel.org/stable/c/870533403ffa28ff63e173045fc5369365642002 Patch
- https://git.kernel.org/stable/c/effd2bd62b416f6629e18e3ce077c60de14cfdea Patch