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

Read the record on cve.org

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

ProductVersions
LinuxLinux
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to before 342260fe821047c3d515e3d28085d73fbdce3e80Affected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to before 870533403ffa28ff63e173045fc5369365642002Affected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to before 7c468deae306d0cbbd539408c26cfec04c66159aAffected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to before 2f17ac005b320c85d686088cfd4c2e7017912b88Affected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to before effd2bd62b416f6629e18e3ce077c60de14cfdeaAffected
  • 89e590535f32d4bc548bcf266f3b046e50942f6d to before 48f17f96a81763c7c8bf5500460a359b9939359fAffected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 4.19.191 through 4.19.*Not affected
  • 5.4.119 through 5.4.*Not affected
  • 5.10.37 through 5.10.*Not affected
  • 5.11.21 through 5.11.*Not affected
  • 5.12.4 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

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.