All reports
Medium

kernel: ASoC: Intel: avs: Do not share the name pointer between components

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40338

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-19

Description

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.

A use-after-free flaw was found in the Linux kernel's Intel Audio Voice Speech (AVS) driver in the ASoC subsystem. When multiple audio components share the same name pointer directly, tearing down one component frees the memory while other components still reference it. Subsequent access to the freed name pointer leads to use-after-free, potentially causing system crashes, memory corruption, or privilege escalation.