ASoC: sdw_utils: clear stale RT711 device reference on exit

Summary

CVECVE-2026-142855
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 04:18:22 UTC
Updated2026-12-03 04:18:22 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 8116483407076b81af0efb14f6d69aefaecbf3d8 66d77d1f87e7a7945abcc7a6bd6cd8538f7c5c3c git Not specified
CNA Linux Linux affected 8116483407076b81af0efb14f6d69aefaecbf3d8 baf82cbdf90cef59525de67339d6e5474db5e845 git Not specified
CNA Linux Linux affected 8116483407076b81af0efb14f6d69aefaecbf3d8 8aeec50673467d278a3e5c6f1552d0304da9df6f git Not specified
CNA Linux Linux affected 8116483407076b81af0efb14f6d69aefaecbf3d8 e2f717de9bf3673306a4a4ec36c3856bbf1ffbb1 git Not specified
CNA Linux Linux affected 8116483407076b81af0efb14f6d69aefaecbf3d8 1a75ff14062d015305de5c2e85ccc01afe0adb49 git Not specified
CNA Linux Linux affected 8116483407076b81af0efb14f6d69aefaecbf3d8 7c7df141dcabaa5370b5e52a9d64e2c1ea13a338 git Not specified
CNA Linux Linux affected 6.0 Not specified
CNA Linux Linux unaffected 6.0 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/e2f717de9bf3673306a4a4ec36c3856bbf1ffbb1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1a75ff14062d015305de5c2e85ccc01afe0adb49 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8aeec50673467d278a3e5c6f1552d0304da9df6f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/66d77d1f87e7a7945abcc7a6bd6cd8538f7c5c3c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/baf82cbdf90cef59525de67339d6e5474db5e845 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7c7df141dcabaa5370b5e52a9d64e2c1ea13a338 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report