---
id: CVE-2025-40338
title: |-
  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
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…
severity: none
published: '2025-12-09'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:10:00.210'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-40338'
references:
  - url: 'https://git.kernel.org/stable/c/128bf29c992988f8b4f3829227339908fde5ec86'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4dee5c1cc439b0d5ef87f741518268ad6a95b23d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00215
epssPercentile: 0.11125
ingestedAt: '2026-10-14T23:00:02.032Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
