---
title: "CVE-2025-40338"
canonical_url: "https://pkgseek.com/security/CVE-2025-40338"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2025-40338

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-&gt;name if set before invoking the initializer.

CVE-2025-40338 is rated MEDIUM, with 13 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 13
- **Affected distros**: 1
- **Distros with fixed_in**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | linux-headers-6.12.107+deb13-amd64 | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-headers-6.12.107+deb13-cloud-amd64 | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-headers-6.12.107+deb13-common | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-headers-6.12.107+deb13-common-rt | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-headers-6.12.107+deb13-rt-amd64 | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-dbg | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-unsigned | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-dbg | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-unsigned | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-dbg | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-unsigned | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-kbuild-6.12.107+deb13 | 6.12.107-1 | 6.12.115-2 |
| Debian | trixie | linux-support-6.12.107+deb13 | 6.12.107-1 | 6.12.115-2 |
