ASoC: rt700-sdw: always drain jack work on remove

Summary

CVECVE-2026-93185
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:18:14 UTC
Updated2026-09-17 17:18:14 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: ASoC: rt700-sdw: always drain jack work on remove rt700_sdw_remove() drains jack_detect_work and jack_btn_check_work only when rt700->hw_init is true. That state bit is cleared by rt700_update_status() when the SoundWire slave becomes UNATTACHED, but a jack work item can already have been queued by rt700_interrupt_callback() or rt700_jack_init() while the device was initialized. Do not use hw_init as the remove-time guard for draining these work objects. The delayed works are initialized during rt700_init(), so remove can cancel them unconditionally and pair the object lifetime with the codec-private data lifetime instead of a mutable hardware state bit. This issue was found by our static analysis tool and then confirmed by manual review of the SoundWire status, interrupt and remove paths. The remove path should drain work based on whether the work object exists, not on a runtime hardware state bit that can change after the work was queued. A QEMU PoC queued jack_detect_work, simulated SDW_SLAVE_UNATTACHED, and then entered remove. DEBUG_OBJECTS reported an active timer/work object associated with the rt700 jack work path after remove skipped the cancel. This is sent as an RFC because the practical trigger depends on SoundWire core remove ordering after an UNATTACHED status update. If remove cannot run after hw_init has been cleared while jack work is still pending, this is a defensive lifecycle cleanup rather than a reachable race on current systems.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 737ee8bdf682cedb3c42b713d20ffa5c899591fb f1e21b7b977f5ae2955ecf3ab144da2578a4fe00 git Not specified
CNA Linux Linux affected 737ee8bdf682cedb3c42b713d20ffa5c899591fb b81c2131dbb6fe04e27841bc719977c106177c61 git Not specified
CNA Linux Linux affected 737ee8bdf682cedb3c42b713d20ffa5c899591fb 1bb23c9d68312e77cec81bdfb2cc385e2d2960f7 git Not specified
CNA Linux Linux affected 737ee8bdf682cedb3c42b713d20ffa5c899591fb 45fcf435ffcc5f61a43bd9b19094dc52de6cbc05 git Not specified
CNA Linux Linux affected 737ee8bdf682cedb3c42b713d20ffa5c899591fb 1e8fddab6cbe536dd02e61205e4b9bf97df6479b git Not specified
CNA Linux Linux affected 737ee8bdf682cedb3c42b713d20ffa5c899591fb a47f087877bb2bc57c3ccb714fc49abf45d28e12 git Not specified
CNA Linux Linux affected 737ee8bdf682cedb3c42b713d20ffa5c899591fb 612ccf42acd14bb2685fa60c3495ca13e63e8989 git Not specified
CNA Linux Linux affected 5.12 Not specified
CNA Linux Linux unaffected 5.12 semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/612ccf42acd14bb2685fa60c3495ca13e63e8989 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1bb23c9d68312e77cec81bdfb2cc385e2d2960f7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1e8fddab6cbe536dd02e61205e4b9bf97df6479b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f1e21b7b977f5ae2955ecf3ab144da2578a4fe00 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b81c2131dbb6fe04e27841bc719977c106177c61 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a47f087877bb2bc57c3ccb714fc49abf45d28e12 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/45fcf435ffcc5f61a43bd9b19094dc52de6cbc05 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