soundwire: stream: fix memory leak in stream config error path (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-33668
- GCVE · GCVE-0-2021-47020
CERT-FR advisories
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0363 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.18 < 4.19.191cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.119cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.37cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.11.21cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.12 < 5.12.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 342260fe821047c3d515e3d28085d73fbdce3e80 ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 870533403ffa28ff63e173045fc5369365642002 ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 7c468deae306d0cbbd539408c26cfec04c66159a ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 2f17ac005b320c85d686088cfd4c2e7017912b88 ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < effd2bd62b416f6629e18e3ce077c60de14cfdea ; affected 89e590535f32d4bc548bcf266f3b046e50942f6d < 48f17f96a81763c7c8bf5500460a359b9939359f |
| Linux · Linux | affected 4.18 ; unaffected 0 < 4.18 ; unaffected 4.19.191 ≤ 4.19.* ; unaffected 5.4.119 ≤ 5.4.* ; unaffected 5.10.37 ≤ 5.10.* ; unaffected 5.11.21 ≤ 5.11.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |