ASoC: rt5682-sdw: always cancel jack work on remove
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt5682-sdw: always cancel jack work on remove
rt5682_sdw_remove() cancels jack_detect_work only when hw_init is true. rt5682_update_status() clears hw_init when the SoundWire slave becomes unattached, but jack_detect_work may already have been queued by rt5682_interrupt_callback() or the jack initialization path.
A remove after that status update can therefore skip the cancellation and leave delayed work pending after the codec private data has been freed.
The work object is initialized during probe, so cancel it unconditionally instead of relying on the mutable hw_init state.
| Product | Versions |
|---|---|
| Linux Linux | 4e81b38d942666558fb5bdbfca3856abc60a152d to before 1287f2283453c87f7ef9ee8412e1e605207a3d8e Affectedac63716da3070f8cb6baaba3a058a0c7f22aeb5b to before e265227b67804c4369a14482b8bd9d8d39c4017c Affectedac63716da3070f8cb6baaba3a058a0c7f22aeb5b to before c075668d8b8ffc4e993ff248253824cf5a0f4bf2 Affectedac63716da3070f8cb6baaba3a058a0c7f22aeb5b to before 142c8fb3071e680eb65e588558c80cabbace1bef Affectedac63716da3070f8cb6baaba3a058a0c7f22aeb5b to before 173498a15712114b586f57c74e89fbb07a849389 Affectedac63716da3070f8cb6baaba3a058a0c7f22aeb5b to before 3c0312610320ffd452532673cef0fa20f03ea6fc Affectedac63716da3070f8cb6baaba3a058a0c7f22aeb5b to before 9a98f7e955d35e0831fb179e88e98cf9bc0e001e Affectedf3a2c0631302613f41fd8f7ce9882c633d66b9a5 Affected5.15.56 to before 5.15.226 Affected5.18.13 to before 5.19 Affected |
| Linux Linux | 5.19 Affectedbefore 5.19 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/1287f2283453c87f7ef9ee8412e1e605207a3d8e
- https://git.kernel.org/stable/c/e265227b67804c4369a14482b8bd9d8d39c4017c
- https://git.kernel.org/stable/c/c075668d8b8ffc4e993ff248253824cf5a0f4bf2
- https://git.kernel.org/stable/c/142c8fb3071e680eb65e588558c80cabbace1bef
- https://git.kernel.org/stable/c/173498a15712114b586f57c74e89fbb07a849389
- https://git.kernel.org/stable/c/3c0312610320ffd452532673cef0fa20f03ea6fc
- https://git.kernel.org/stable/c/9a98f7e955d35e0831fb179e88e98cf9bc0e001e
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.