CVE-2026-142855
Received Received - Intake

Double Put Device Reference in Linux Kernel ASoC SDW Utils

Vulnerability report for CVE-2026-142855, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: sdw_utils: clear stale RT711 device reference on exit asoc_sdw_rt711_exit() drops the reference held in ctx->headset_codec_dev but leaves the pointer populated. If the card cleanup path reaches the exit hook more than once after a failed or deferred probe, a later invocation reuses the stale pointer and calls put_device() again, underflowing the refcount and leading to oopses when later probe, driver bind, or suspend paths walk the SoundWire bus after the device reference was released. Observed as boot- and suspend-time oopses on an arm64 platform with an RT712 headset codec, reproducible deterministically by repeated machine-driver probe cycling with the codec drivers unloaded. Clear the pointer after put_device() so repeated cleanup becomes a no-op, which also makes the existing NULL check at the top of the exit hook effective. This matches what commit 046173b98de3 ("ASoC: sdw_utils: fix double put_device() on aggregated amps") did for the aggregated amp references.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the Linux kernel's ASoC subsystem, specifically in the SoundWire utility functions for RT711 devices. It occurs when the cleanup function fails to clear a device reference pointer after releasing it, causing a double-free issue if the cleanup path runs multiple times. This leads to refcount underflow and system crashes (oopses) during boot or suspend operations.

Detection Guidance

This vulnerability is specific to the Linux kernel's SoundWire subsystem and affects ASoC (ALSA System on Chip) components. Detection requires checking kernel logs for oopses or crashes during boot or suspend, particularly involving RT711/RT712 codecs. Monitor dmesg for SoundWire-related errors or use commands like 'dmesg | grep -i soundwire' or 'journalctl -k | grep -i soundwire'.

Impact Analysis

This vulnerability can cause system instability, including boot failures or crashes during suspend/resume cycles on affected Linux systems using RT711 or RT712 audio codecs. Repeated crashes may corrupt system state or require manual recovery.

Mitigation Strategies

Apply the kernel patch that clears the stale device reference pointer in asoc_sdw_rt711_exit(). Update to a kernel version containing the fix (CVE-2026-142855). If immediate patching is not possible, avoid repeated machine-driver probe cycling with unloaded codec drivers to prevent triggering the issue.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142855. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...