---
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
  - url: 'https://git.kernel.org/stable/c/0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1'
  - url: 'https://git.kernel.org/stable/c/a80a82f567f7c6276d96409377d4691ea30d18a2'
tags:
  - nvd
  - cve.org
epss: 0.00242
epssPercentile: 0.15286
ingestedAt: '2026-10-14T23:00:02.032Z'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= f1b3b320bd6519b16e3480f74f2926d106e3bcba <
    0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1
  - >-
    Linux >= f1b3b320bd6519b16e3480f74f2926d106e3bcba <
    a80a82f567f7c6276d96409377d4691ea30d18a2
  - >-
    Linux >= f1b3b320bd6519b16e3480f74f2926d106e3bcba <
    128bf29c992988f8b4f3829227339908fde5ec86
  - >-
    Linux >= f1b3b320bd6519b16e3480f74f2926d106e3bcba <
    4dee5c1cc439b0d5ef87f741518268ad6a95b23d
  - Linux 5.19
---

## 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.
