GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-40344 (GCVE-0-2025-40344)

Vulnerability from cvelistv5 – Published: 2025-12-09 04:10 – Updated: 2026-08-05 12:09
VLAI
Title
ASoC: Intel: avs: Disable periods-elapsed work when closing PCM
Summary
In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: avs: Disable periods-elapsed work when closing PCM avs_dai_fe_shutdown() handles the shutdown procedure for HOST HDAudio stream while period-elapsed work services its IRQs. As the former frees the DAI's private context, these two operations shall be synchronized to avoid slab-use-after-free or worse errors.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0dbb186c3510cad4e9f443e801bf2e6ab5770c00 , < ca6d2b7aca778afbf8c0c4b330d10cb228c14052 (git)
Affected: 0dbb186c3510cad4e9f443e801bf2e6ab5770c00 , < b41fca4aa60be896ba8a81b57aac5dcc6eee66c0 (git)
Affected: 0dbb186c3510cad4e9f443e801bf2e6ab5770c00 , < 845f716dc5f354c719f6fda35048b6c2eca99331 (git)
Affected: 31087af37d6b1586b76d4acf3e0c1634a4617ba6 (git)
Affected: 6.11.9 , < 6.12 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.12
Unaffected: 0 , < 6.12 (semver)
Unaffected: 6.12.58 , ≤ 6.12.* (semver)
Unaffected: 6.17.8 , ≤ 6.17.* (semver)
Unaffected: 6.18 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/intel/avs/pcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ca6d2b7aca778afbf8c0c4b330d10cb228c14052",
              "status": "affected",
              "version": "0dbb186c3510cad4e9f443e801bf2e6ab5770c00",
              "versionType": "git"
            },
            {
              "lessThan": "b41fca4aa60be896ba8a81b57aac5dcc6eee66c0",
              "status": "affected",
              "version": "0dbb186c3510cad4e9f443e801bf2e6ab5770c00",
              "versionType": "git"
            },
            {
              "lessThan": "845f716dc5f354c719f6fda35048b6c2eca99331",
              "status": "affected",
              "version": "0dbb186c3510cad4e9f443e801bf2e6ab5770c00",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "31087af37d6b1586b76d4acf3e0c1634a4617ba6",
              "versionType": "git"
            },
            {
              "lessThan": "6.12",
              "status": "affected",
              "version": "6.11.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/intel/avs/pcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.58",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.58",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.8",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.11.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: avs: Disable periods-elapsed work when closing PCM\n\navs_dai_fe_shutdown() handles the shutdown procedure for HOST HDAudio\nstream while period-elapsed work services its IRQs. As the former\nfrees the DAI\u0027s private context, these two operations shall be\nsynchronized to avoid slab-use-after-free or worse errors."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reached only through ALSA PCM device nodes (`/dev/snd/pcmC*D*`) via open/ioctl/close syscalls on a machine with an Intel cAVS DSP audio controller. There is no remote or adjacent-network path to the FE DAI shutdown code.\nAC:L - The attacker controls both sides of the race \u2014 the period size (and thus the IRQ rate) via `hw_params`, the exact moment of `close()`, and the `system_wq` backlog that delays the pending `period_elapsed_work` \u2014 and the open/start/close sequence can be retried in an unbounded loop until the window is hit.\nPR:L - Only an unprivileged local account with access to the sound device is needed, which is the default for any desktop/seat user, `audio`-group member, or Android media process; no capability or root check exists along `snd_pcm_open` \u2192 `avs_dai_fe_startup` \u2192 `avs_dai_fe_shutdown`.\nUI:N - The attacking process performs the entire open/hw_params/prepare/start/close sequence itself; no action by another user or victim is required.\nS:U - The use-after-free corrupts kernel slab memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The freed `avs_dma_data` can be reclaimed by an attacker-sprayed object, after which `avs_period_elapsed_work()` reads `data-\u003esubstream` and `snd_pcm_period_elapsed()` follows it into `runtime` \u2014 giving attacker-directed kernel reads and disclosure of arbitrary kernel memory.\nI:H - The `work_struct` itself lives in the freed allocation, so the workqueue writes list/`work-\u003edata` fields into reclaimed memory and dispatches through a freed `work-\u003efunc`, and the handler writes through the attacker-controlled `substream`/`runtime` pointers \u2014 a control-flow-hijack-capable write primitive.\nA:H - Even unweaponized, the slab use-after-free dereferences freed memory from workqueue context, reliably producing a KASAN splat, oops, or kernel panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:09:47.053Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ca6d2b7aca778afbf8c0c4b330d10cb228c14052"
        },
        {
          "url": "https://git.kernel.org/stable/c/b41fca4aa60be896ba8a81b57aac5dcc6eee66c0"
        },
        {
          "url": "https://git.kernel.org/stable/c/845f716dc5f354c719f6fda35048b6c2eca99331"
        }
      ],
      "title": "ASoC: Intel: avs: Disable periods-elapsed work when closing PCM",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-40344",
    "datePublished": "2025-12-09T04:10:03.253Z",
    "dateReserved": "2025-04-16T07:20:57.187Z",
    "dateUpdated": "2026-08-05T12:09:47.053Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-40344",
      "date": "2026-09-16",
      "epss": "0.00174",
      "percentile": "0.07114"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-40344\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-09T16:17:44.777\",\"lastModified\":\"2026-07-30T06:24:30.537\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nASoC: Intel: avs: Disable periods-elapsed work when closing PCM\\n\\navs_dai_fe_shutdown() handles the shutdown procedure for HOST HDAudio\\nstream while period-elapsed work services its IRQs. As the former\\nfrees the DAI\u0027s private context, these two operations shall be\\nsynchronized to avoid slab-use-after-free or worse errors.\"}],\"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\":\"0dbb186c3510cad4e9f443e801bf2e6ab5770c00\",\"lessThan\":\"ca6d2b7aca778afbf8c0c4b330d10cb228c14052\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0dbb186c3510cad4e9f443e801bf2e6ab5770c00\",\"lessThan\":\"b41fca4aa60be896ba8a81b57aac5dcc6eee66c0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0dbb186c3510cad4e9f443e801bf2e6ab5770c00\",\"lessThan\":\"845f716dc5f354c719f6fda35048b6c2eca99331\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"31087af37d6b1586b76d4acf3e0c1634a4617ba6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.11.9\",\"lessThan\":\"6.12\",\"versionType\":\"semver\",\"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\":\"6.12\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.12\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.58\",\"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\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/845f716dc5f354c719f6fda35048b6c2eca99331\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b41fca4aa60be896ba8a81b57aac5dcc6eee66c0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ca6d2b7aca778afbf8c0c4b330d10cb228c14052\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-07-30T08:37:54+00:00",
      "cve": "CVE-2025-40344",
      "id": "CVE-2025-40344",
      "initial_release_date": "2025-12-09T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ASoC: Intel: avs: Disable periods-elapsed work when closing PCM",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-40344.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-01T13:42:34Z",
      "cve": "CVE-2025-40344",
      "id": "CVE-2025-40344",
      "initial_release_date": "2025-12-10T00:26:19Z",
      "product_status:first_fixed": "2",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "512",
      "product_status:recommended": "172",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-40344",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-40344.json",
      "version": "18"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…