← Back to CVE Explorer

CVE-2025-40338

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Deferred
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-12-09 16:17:44.043000
Last modified
2026-10-30 13:18:16.697000
View original CVE JSON
{
  "id": "CVE-2025-40338",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-12-09T16:17:44.043",
  "lastModified": "2026-10-30T13:18:16.697",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: avs: Do not share the name pointer between components\n\nBy sharing 'name' directly, tearing down components may lead to\nuse-after-free errors. Duplicate the name to avoid that.\n\nAt the same time, update the order of operations - since commit\ncee28113db17 (\"ASoC: dmaengine_pcm: Allow passing component name via\nconfig\") the framework does not override component->name if set before\ninvoking the initializer."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nASoC: Intel: avs: No compartir el puntero de nombre entre componentes\n\nAl compartir 'name' directamente, la desmantelación de componentes puede llevar a errores de uso después de liberación. Duplicar el nombre para evitar eso.\n\nAl mismo tiempo, actualizar el orden de las operaciones - desde el commit cee28113db17 ('ASoC: dmaengine_pcm: Permitir pasar el nombre del componente a través de la configuración') el framework no sobrescribe component -> name si se establece antes de invocar el inicializador."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "sound/soc/intel/avs/pcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
              "lessThan": "0e1440e0d8b2394adfc3f1ac0710e6419600d5c1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
              "lessThan": "0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
              "lessThan": "a80a82f567f7c6276d96409377d4691ea30d18a2",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
              "lessThan": "128bf29c992988f8b4f3829227339908fde5ec86",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
              "lessThan": "4dee5c1cc439b0d5ef87f741518268ad6a95b23d",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "sound/soc/intel/avs/pcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.19",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.19",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.114",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.17.8",
              "lessThanOrEqual": "6.17.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/0e1440e0d8b2394adfc3f1ac0710e6419600d5c1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/128bf29c992988f8b4f3829227339908fde5ec86",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4dee5c1cc439b0d5ef87f741518268ad6a95b23d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a80a82f567f7c6276d96409377d4691ea30d18a2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}