Skip to main content

Linux Kernel CVE-2025-40344

HIGH
2025-12-09 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access with audio-device permissions
  2. Delivery
    Open Intel AVS HOST PCM stream
  3. Exploit
    Start stream to trigger period-elapsed IRQ work
  4. Execution
    Rapidly close PCM to race shutdown vs work
  5. Persist
    Trigger use-after-free on freed DAI context
  6. Impact
    Corrupt kernel memory for escalation or crash

Vulnerability Assessment

Exploitation Conditions

Requires local access to a system that has loaded the Intel AVS (Smart Sound Technology) ASoC driver and exposes a HOST HDAudio PCM stream the attacker can open - i.e., the attacker must be able to open, run, and close a PCM device (typically membership in the audio group or equivalent /dev/snd access). Exploitation is limited by: (1) hardware/driver dependency - only machines using the snd-soc-avs driver are affected, not all Linux systems; (2) the need to win a race between avs_dai_fe_shutdown() freeing the DAI context and the period-elapsed IRQ work, which requires precise timing and repeated attempts; and (3) the local attack vector (AV:L, PR:L) - no remote or fully unauthenticated exploitation is possible.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 High) indicates a local, low-privilege attacker with high impact, consistent with kernel memory corruption. However, two signals temper real-world urgency: EPSS is very low (0.20%, 10th percentile) and the CVE is not in CISA KEV, so there is no evidence of active exploitation or broad automated attack interest. The bug is a race condition - reliable exploitation requires winning a narrow timing window between PCM shutdown and IRQ work, which in practice raises attack complexity above the AC:L rating the vector assigns; this is a point of tension worth noting when prioritizing. Realistic worst case is local privilege escalation or denial of service on machines that actually load the Intel AVS driver, not remote or mass exploitation. The Information Disclosure tag aligns with the C:H impact (freed-object memory could leak), but no dedicated info-leak primitive is documented.

Exploit ScenarioDerived

A local unprivileged (but audio-capable) user opens an Intel AVS HOST HDAudio PCM stream, starts playback/capture to generate period-elapsed IRQ work, then rapidly closes the PCM to race the shutdown path against the still-running work item. Winning the race causes the work to dereference the just-freed DAI context, giving a use-after-free the attacker can attempt to shape into privilege escalation or a kernel crash. No public proof-of-concept is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

A slab use-after-free in the Linux kernel's Intel AVS (Audio Voice Speech / Smart Sound Technology) ASoC driver lets a local user with access to a HOST HDAudio PCM stream corrupt kernel memory by racing PCM close against period-elapsed IRQ work. When avs_dai_fe_shutdown() frees the DAI's private context while the period-elapsed work is still servicing interrupts, the freed structure can be accessed concurrently, yielding a use-after-free with high confidentiality, integrity and availability impact (CVSS 7.8, AV:L). There is no public exploit identified at time of analysis, it is not in CISA KEV, and EPSS is low (0.20%, 10th percentile), reflecting the local-only, hardware-specific nature of the flaw.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the kernel stable-tree commits that disable the periods-elapsed work when closing the PCM (git.kernel.org/stable/c/845f716dc5f354c719f6fda35048b6c2eca99331, .../b41fca4aa60be896ba8a81b57aac5dcc6eee66c0, .../ca6d2b7aca778afbf8c0c4b330d10cb228c14052) by updating to the corresponding stable kernel release from your distribution once it ships them. As a compensating control where patching is delayed, restrict local access to the audio PCM devices (for example remove untrusted users from the 'audio' group and tighten /dev/snd permissions), or blacklist/unload the Intel AVS driver (snd-soc-avs) on systems that do not require it - the trade-off is loss of audio functionality on affected hardware. Because exploitation is strictly local, limiting untrusted local logins and constraining container/VM guest access to sound devices also reduces exposure without disabling audio for trusted users.

Affected ProductsAI

The Linux kernel is affected specifically in its ASoC Intel AVS (Smart Sound Technology audio DSP) driver, on systems where that driver is loaded to drive HDAudio HOST streams. No exact vulnerable/fixed version numbers are provided in the input; the fix is delivered via three stable-tree commits (git.kernel.org/stable/c/845f716dc5f354c719f6fda35048b6c2eca99331, .../b41fca4aa60be896ba8a81b57aac5dcc6eee66c0, and .../ca6d2b7aca778afbf8c0c4b330d10cb228c14052), indicating backports across multiple stable series. No CPE strings were supplied, and no separate vendor advisory URL beyond the kernel.org commits was provided.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the Intel AVS (Audio DSP) driver within the Linux kernel sound subsystem (ASoC/ALSA), which manages HDAudio HOST DMA streams on platforms using Intel Smart Sound Technology. The root cause is a missing synchronization between two code paths that touch the same DAI private context: avs_dai_fe_shutdown(), which tears down and frees the front-end DAI context when a PCM device is closed, and the period-elapsed work item, which fires from the audio stream's IRQ handler to signal buffer progress. Because the free and the work item are not serialized, the work can dereference the DAI context after it has been freed - a classic use-after-free (CWE-416); NVD lists the CWE as N/A. The fix disables/synchronizes the periods-elapsed work when closing the PCM so the free cannot race the IRQ-serviced work.

Know when Intel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local audio-device access sets AV:L/PR:L; exploiting the shutdown-vs-IRQ-work race requires winning a timing window so AC:H; kernel UAF yields full C/I/A impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.2 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's Intel AVS audio driver (CVE-2025-40344, CVSS 7.8) permits local users with audio hardware access to corrupt kernel memory, creating risk of data breach or system compromise on affected infrastructure. The lack of available vendor patch and moderate hardware specificity mean affected organizations must act immediately on asset inventory and interim controls while awaiting remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict local user/process access to HDAudio PCM interface via SELinux or AppArmor mandatory access control policies; (2) disable Intel AVS driver via kernel module blacklist (echo 'blacklist snd_sof_intel_hda_common' >> /etc/modprobe.d/blacklist.conf) on systems without audio requirements; (3) implement kernel memory protections (CONFIG_SMACK, CONFIG_CFI if enabled in distribution kernel); (4) audit and minimize number of user accounts with direct audio hardware access.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
Linux kernel is ubiquitous but Intel AVS audio driver runs only on specific Intel SST hardware
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Intel

View all
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2017-5689 CRITICAL POC
9.8 May 02

An unprivileged network attacker could gain system privileges to provisioned Intel manageability SKUs: Intel Active Mana

CVE-2012-5958 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2012-5959 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5964 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5963 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5961 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2017-5753 MEDIUM POC
5.6 Jan 04

Systems with microprocessors utilizing speculative execution and branch prediction may allow unauthorized disclosure of

CVE-2012-5965 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5962 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

CVE-2012-5960 CRITICAL POC
10.0 Jan 31

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Image SL-Micro Affected
Container suse/sl-micro/6.0/toolbox:latest Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
SUSE Linux Enterprise High Availability Extension 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy