Skip to main content

Linux Kernel CVE-2026-31581

| EUVDEUVD-2026-25474 HIGH
Use After Free (CWE-416)
2026-04-24 Linux GHSA-8wc2-723q-hf3g
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local authenticated access
  2. Delivery
    Attach/bind 6fire USB driver
  3. Exploit
    Trigger device disconnect race
  4. Execution
    Reallocate freed chip slab
  5. Persist
    Stray write corrupts kernel memory
  6. Impact
    Escalate privileges or leak data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access with a logged-in/authenticated account (PR:L) and the vulnerable snd-usb-6fire driver bound to a TerraTec DMX 6Fire USB audio interface; the use-after-free is triggered specifically on device disconnect (usb_unbind_interface path), so the attacker needs the ability to attach and physically or programmatically disconnect the device, and to win a race so the freed struct sfire_chip slab is reallocated before the chip->card = NULL write occurs. Limiting factors: no remote vector (AV:L), the niche hardware/driver dependency (the module must be present and bound), and the timing-sensitive UAF race all narrow real-world exploitability well below what the 7.8 base score alone implies. No user interaction beyond the attacker's own actions is required (UI:N).

Impact

The signals are internally consistent but point to a low-urgency, high-severity-on-paper issue. The CVSS 7.8 reflects AV:L/AC:L/PR:L/UI:N with full C/I/A impact - meaning a locally-authenticated user, not a remote attacker, and the high score is driven by potential kernel memory corruption rather than reach. EPSS is 0.02% (5th percentile), and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; do not treat the publicly available PoC as active exploitation, as they are distinct signals. A critical real-world limiter absent from the CVSS metrics is the hardware dependency: the vulnerable code path is in a niche USB audio driver and is triggered by device disconnect, so practical exploitation typically requires the presence (or attacker-controlled attach/detach) of a 6fire USB device or the ability to load and bind that specific driver. No SSVC decision data was provided in the input. Net: patch in normal maintenance cadence rather than as an emergency, unless 6fire hardware or untrusted USB access is part of the threat model.

Exploit ScenarioDerived

A local user with the ability to attach and remove a 6fire USB audio device (or otherwise trigger unbind of the snd-usb-6fire driver) forces a disconnect while carefully racing card teardown so the freed chip slab is reallocated with attacker-controlled data before the chip->card = NULL write lands. Successful heap grooming turns the stray write into kernel memory corruption, potentially enabling privilege escalation or information disclosure. Public proof-of-concept material is referenced (a GitHub gist), but no active exploitation has been reported.

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

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

Alert me

AnalysisAIv1 – Jul 24, 2026

Local privilege escalation via a use-after-free in the Linux kernel's ALSA driver for the TerraTec DMX 6Fire USB audio interface (sound/usb/6fire) lets a local attacker corrupt freed slab memory when the device is disconnected. The flaw is a CVSS 7.8 (CVSS:3.1 AV:L/PR:L) memory-corruption bug with publicly available proof-of-concept code, though EPSS is negligible (0.02%) and it is not on CISA KEV. usb6fire_chip_abort() writes chip->card = NULL after snd_card_free_when_closed() may have already freed the card-owned chip struct, giving an attacker a window to hijack freed kernel memory.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 6.12.83, 6.18.24, 6.19.14, or 7.0.1 or later - which relocates the card lifecycle from usb6fire_chip_abort() into usb6fire_chip_disconnect(), saving the card pointer locally, calling snd_card_disconnect() first, aborting URBs while the chip is still valid, and calling snd_card_free_when_closed() last. Distribution users should apply their vendor kernel update, e.g. Ubuntu per USN-8488-1 (https://ubuntu.com/security/notices/USN-8488-1); the upstream fix commits are at https://git.kernel.org/stable/c/af75b486f7e883e3422ece23c8d727e6815144a0 and related hashes. Where immediate patching is not possible, a targeted compensating control is to blacklist the snd-usb-6fire kernel module (e.g. modprobe blacklist) so the vulnerable driver never binds - the trade-off is loss of support for TerraTec 6Fire audio hardware, which is acceptable in the overwhelming majority of systems that do not use that device. Restricting physical/USB access to untrusted users also reduces the attack surface for the disconnect-triggered path.

Affected VersionsENISA

Linux patch: 7.0.1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d21e8a2af4869b5890b34e081d5aeadc93e9cd5c
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3dc20d1981d6a67d8184498a5da272942dde1e65
Linux patch: 6.18.24
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <af75b486f7e883e3422ece23c8d727e6815144a0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <51f6532790b74ffdd6970bc848358a2838c1c185
Linux patch: 6.19.14
Linux patch: 6.12.83

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 USB sound driver for the TerraTec 6fire (DMX 6Fire) audio interface under sound/usb/6fire/chip.c in the Linux kernel's ALSA (Advanced Linux Sound Architecture) subsystem. The chip struct (struct sfire_chip) is embedded in the ALSA card's private data, allocated by snd_card_new() with sizeof(struct sfire_chip), so its lifetime is bound to the card object. This is a classic CWE-416 Use-After-Free: on disconnect, snd_card_free_when_closed() frees the card (and the embedded chip) synchronously when no file handles are open, but usb6fire_chip_abort() then dereferences and writes chip->card = NULL into that now-freed slab allocation. The CPE data identifies the affected product only as cpe:2.3:a:linux:linux, i.e. the mainline kernel, with the driver reachable whenever the 6fire USB device is (or can be) attached.

Know when the next one hits your stack

  • 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

NVD 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 authenticated user (AV:L/PR:L); the UAF is a disconnect-timing race requiring heap grooming, so AC:H; successful kernel memory corruption yields full C/I/A.

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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 6.3 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
CVSS changed
Apr 27, 2026 - 20:37 NVD
7.8 (HIGH)
PoC Detected
Apr 27, 2026 - 20:28 vuln.today
Public exploit code
Patch released
Apr 27, 2026 - 20:28 nvd
Patch available
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:42 nvd
HIGH 7.8

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

ALSA: 6fire: fix use-after-free on disconnect

In usb6fire_chip_abort(), the chip struct is allocated as the card's private data (via snd_card_new with sizeof(struct sfire_chip)). When snd_card_free_when_closed() is called and no file handles are open, the card and embedded chip are freed synchronously. The subsequent chip->card = NULL write then hits freed slab memory.

Call trace: usb6fire_chip_abort sound/usb/6fire/chip.c:59 [inline] usb6fire_chip_disconnect+0x348/0x358 sound/usb/6fire/chip.c:182 usb_unbind_interface+0x1a8/0x88c drivers/usb/core/driver.c:458 ... hub_event+0x1a04/0x4518 drivers/usb/core/hub.c:5953

Fix by moving the card lifecycle out of usb6fire_chip_abort() and into usb6fire_chip_disconnect(). The card pointer is saved in a local before any teardown, snd_card_disconnect() is called first to prevent new opens, URBs are aborted while chip is still valid, and snd_card_free_when_closed() is called last so chip is never accessed after the card may be freed.

Executive ViewAI

Why It Matters

CVE-2026-31581 affects the Linux kernel's ALSA driver for TerraTec DMX 6Fire USB audio interfaces, enabling local privilege escalation through memory corruption. Publicly available exploit code exists. An authenticated attacker with low system privileges who has access to this specific USB device can exploit the flaw to escalate privileges, potentially compromising system security on affected Linux deployments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel runs across a huge fraction of production environments
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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 Yes
EPSS 0.0%
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
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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