5.5medium
soundwire: stream: fix memory leak in stream config error path
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 89e590535f32d4bc548bcf266f3b046e50942f6d before 342260fe821047c3d515e3d28085d73fbdce3e80, from 89e590535f32d4bc548bcf266f3b046e50942f6d before 870533403ffa28ff63e173045fc5369365642002, from 89e590535f32d4bc548bcf266f3b046e50942f6d before 7c468deae306d0cbbd539408c26cfec04c66159a, from 89e590535f32d4bc548bcf266f3b046e50942f6d before 2f17ac005b320c85d686088cfd4c2e7017912b88, from 89e590535f32d4bc548bcf266f3b046e50942f6d before effd2bd62b416f6629e18e3ce077c60de14cfdea, from 89e590535f32d4bc548bcf266f3b046e50942f6d before 48f17f96a81763c7c8bf5500460a359b9939359f, 4.18 Not affected: before 4.18, from 4.19.191 up to 4.19.*, from 5.4.119 up to 5.4.*, from 5.10.37 up to 5.10.*, from 5.11.21 up to 5.11.*, from 5.12.4 up to 5.12.* | CVE List |
| linux linux_kernel | from 4.18 before 4.19.191, from 4.20 before 5.4.119, from 5.5 before 5.10.37, from 5.11 before 5.11.21, from 5.12 before 5.12.4 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: soundwire: stream: corrige la pérdida de memoria en la ruta de error de configuración de stream Cuando falla la configuración de stream, el tiempo de ejecución maestro liberará todo el tiempo de ejecución esclavo en Slave_rt_list, pero el tiempo de ejecución esclavo no se agrega a la lista. en este momento. Este parche libera el tiempo de ejecución esclavo en la ruta del error de configuración para corregir la pérdida de memoria.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47020 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47020 changed 2026-06-17 | Public domain |