ASoC: fsl_xcvr: Revert fix missing lock in fsl_xcvr_mode_put()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_xcvr: Revert fix missing lock in fsl_xcvr_mode_put() This reverts commit f51424872760 ("ASoC: fsl_xcvr: fix missing lock in fsl_xcvr_mode_put()"). The original patch attempted to acquire the card->controls_rwsem lock in fsl_xcvr_mode_put(). However, this function is called from the upper ALSA core function snd_ctl_elem_write(), which already holds the write lock on controls_rwsem for the whole put operation. So there is no need to simply hold the lock for fsl_xcvr_activate_ctl() again. Acquiring the read lock while holding the write lock in the same thread results in a deadlock and a hung task, as reported by Alexander Stein.
Timeline
- CVE published
Affected versions
- Linux Linux
From 5.15.201 · fixed in 5.15.202; From 6.1.164 · fixed in 6.1.165; From 6.6.127 · fixed in 6.6.128; From 6.12.74 · fixed in 6.12.75; From 6.18.13 · fixed in 6.18.14
- Linux Linux
6.19
References 7
git.kernel.org
- stable/c/ae5a70e3e87c28edbaf9939cfef1bcbd9615420f
- stable/c/30ffcad5edb56947dccc26f6816ab7a55b21a711
- stable/c/29b2fbe3498da3681a01b34e4a2259f8a1b89448
- stable/c/b0f74f5d24fe3c73ef1369a811891198b54c1e8e
- stable/c/9a2a5da002775376498e8814df4a87cd629a3a0c
- stable/c/0886dc6326c3cc596799c4340d342898301cf52a
- stable/c/9f16d96e1222391a6b996a1b676bec14fb91e3b2