ASoC: codecs: rt5682s: disable jack detection work on shutdown
- 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: codecs: rt5682s: disable jack detection work on shutdown
The jack detection and button check works can queue each other. The shutdown path cancels jack_detect_work first, but jd_check_work can queue it again after that cancellation returns. Canceling jd_check_work then leaves jack_detect_work pending or running while the device is reset and, on removal, its managed resources are released.
Disable and drain both delayed works so neither callback can revive the other after its cancellation. The I2C remove callback uses the same shutdown path.
This issue was identified during our ongoing static-analysis research while reviewing kernel code.
| Product | Versions |
|---|---|
| Linux Linux | c07ac3ee76e5e5506bca9c03fbbb15e40ab28430 to before 9e374b805d4baa843d4fddf7fb638da1149b9bbe Affectedc07ac3ee76e5e5506bca9c03fbbb15e40ab28430 to before 097a336a2dcd0a93842b7a80bbe2fc0745b78941 Affectedc07ac3ee76e5e5506bca9c03fbbb15e40ab28430 to before 4771f7d61e0691861aba4ae85b9dc2b5c0f6f449 Affectedc07ac3ee76e5e5506bca9c03fbbb15e40ab28430 to before ca552e3140e736ed6704fe5d47439d8f2d40b42e Affected6865b5a7c5c033fa78ff6c0ac3b32a2108505000 Affectedbb0446cbe0ee812d557b743b6193d1cd33e9b80d Affected5.16.19 to before 5.17 Affected5.17.2 to before 5.18 Affected |
| Linux Linux | 5.18 Affectedbefore 5.18 Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
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.