-

CVE-2026-93185

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

In 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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 737ee8bdf682cedb3c42b713d20ffa5c899591fb
Version < f1e21b7b977f5ae2955ecf3ab144da2578a4fe00
Status affected
Version 737ee8bdf682cedb3c42b713d20ffa5c899591fb
Version < b81c2131dbb6fe04e27841bc719977c106177c61
Status affected
Version 737ee8bdf682cedb3c42b713d20ffa5c899591fb
Version < 1bb23c9d68312e77cec81bdfb2cc385e2d2960f7
Status affected
Version 737ee8bdf682cedb3c42b713d20ffa5c899591fb
Version < 45fcf435ffcc5f61a43bd9b19094dc52de6cbc05
Status affected
Version 737ee8bdf682cedb3c42b713d20ffa5c899591fb
Version < 1e8fddab6cbe536dd02e61205e4b9bf97df6479b
Status affected
Version 737ee8bdf682cedb3c42b713d20ffa5c899591fb
Version < a47f087877bb2bc57c3ccb714fc49abf45d28e12
Status affected
Version 737ee8bdf682cedb3c42b713d20ffa5c899591fb
Version < 612ccf42acd14bb2685fa60c3495ca13e63e8989
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.12
Status affected
Version 0
Version < 5.12
Status unaffected
Version <= 5.15.*
Version 5.15.221
Status unaffected
Version <= 6.1.*
Version 6.1.188
Status unaffected
Version <= 6.6.*
Version 6.6.157
Status unaffected
Version <= 6.12.*
Version 6.12.110
Status unaffected
Version <= 6.18.*
Version 6.18.52
Status unaffected
Version <= 7.2.*
Version 7.2.6
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.21% 0.11
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/f1e21b7b977f5ae2955ecf3ab144da2578a4fe00
https://git.kernel.org/stable/c/b81c2131dbb6fe04e27841bc719977c106177c61
https://git.kernel.org/stable/c/1bb23c9d68312e77cec81bdfb2cc385e2d2960f7
https://git.kernel.org/stable/c/45fcf435ffcc5f61a43bd9b19094dc52de6cbc05
https://git.kernel.org/stable/c/1e8fddab6cbe536dd02e61205e4b9bf97df6479b
https://git.kernel.org/stable/c/a47f087877bb2bc57c3ccb714fc49abf45d28e12
https://git.kernel.org/stable/c/612ccf42acd14bb2685fa60c3495ca13e63e8989