CVE-2026-142855: ASoC: sdw_utils: clear stale RT711 device reference on exit

Published Dec 3, 2026
·
Updated

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

ASoC: sdwutils: clear stale RT711 device reference on exit

asocsdwrt711exit() drops the reference held in ctx->headsetcodecdev 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 putdevice() 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 putdevice() 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: sdwutils: fix double putdevice() on aggregated amps") did for the aggregated amp references.

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.0.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4

Event History

Dec 3, 2026
CVE Published
via MITRE·03:21 AM
Data Sourced
via MITRE·03:21 AM
Description
Data Sourced
via OSV·03:21 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Frequently Asked Questions

1

What conditions are needed to trigger the failure?

The card cleanup path must invoke the RT711 exit hook more than once, such as after a failed or deferred probe. The subsequent invocation uses the stale device pointer and performs another put_device(), underflowing the reference count.

2

Which systems are most likely to be exposed?

Systems using the affected SoundWire ASoC RT711 headset-codec cleanup path are exposed when repeated cleanup can occur. The issue was observed on an arm64 platform with an RT712 headset codec during repeated machine-driver probe cycling while codec drivers were unloaded.

3

What can happen after the reference count is underflowed?

Later probe, driver-bind, or suspend operations that walk the SoundWire bus can encounter a released device reference and cause kernel oopses. Reported symptoms include boot-time and suspend-time oopses.

4

How does the fix prevent repeated cleanup from causing a second release?

After dropping the reference held in ctx->headset_codec_dev, the fix clears that pointer. A later exit-hook call then sees a NULL pointer and becomes a no-op.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203