soundwire: stream: fix memory leak in stream config error path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 89e590535f32d4bc548bcf266f3b046e50942f6d · < 48f17f96a81763c7c8bf5500460a359b9939359f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s SoundWire stream configuration error path can leak slave runtime memory when configuration fails. The input does not specify how an attacker could trigger the failure, or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with SoundWire support should check whether their kernel includes the fix; affected versions are not specified.