ASoC: Intel: avs: Do not share the name pointer between components
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: Intel: avs: Do not share the name pointer between components
By sharing 'name' directly, tearing down components may lead to use-after-free errors. Duplicate the name to avoid that.
At the same time, update the order of operations - since commit cee28113db17 ("ASoC: dmaengine_pcm: Allow passing component name via config") the framework does not override component->name if set before invoking the initializer.
From the CVE record · Linux
The Linux kernel's Intel avs audio component shares a name pointer between components, which can lead to a use-after-free during teardown. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux systems with the Intel avs audio component should check their kernel versions; affected versions are not specified.