CVE-2025-40338

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxf1b3b320bd6519b16e3480f74f2926d106e3bcba < 128bf29c992988f8b4f3829227339908fde5ec86affected
LinuxLinuxf1b3b320bd6519b16e3480f74f2926d106e3bcba < 4dee5c1cc439b0d5ef87f741518268ad6a95b23daffected
LinuxLinux5.19affected
LinuxLinux0 < 5.19unaffected
LinuxLinux6.17.8 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References