← CVE Intelligence

CVE-2021-47020

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 89e590535f32d4bc548bcf266f3b046e50942f6d before 342260fe821047c3d515e3d28085d73fbdce3e80; affected 89e590535f32d4bc548bcf266f3b046e50942f6d before 870533403ffa28ff63e173045fc5369365642002; affected 89e590535f32d4bc548bcf266f3b046e50942f6d before 7c468deae306d0cbbd539408c26cfec04c66159a; affected 89e590535f32d4bc548bcf266f3b046e50942f6d before 2f17ac005b320c85d686088cfd4c2e7017912b88; affected 89e590535f32d4bc548bcf266f3b046e50942f6d before effd2bd62b416f6629e18e3ce077c60de14cfdea; affected 89e590535f32d4bc548bcf266f3b046e50942f6d before 48f17f96a81763c7c8bf5500460a359b9939359f
Linux / Linuxaffected 4.18; unaffected 0 before 4.18; unaffected 4.19.191 through 4.19.*; unaffected 5.4.119 through 5.4.*; unaffected 5.10.37 through 5.10.*; unaffected 5.11.21 through 5.11.*; unaffected 5.12.4 through 5.12.*; unaffected 5.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.