Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
612ffe1f4f0499b3011f16d06e354a76dae2e2d1 to < ae5a70e3e87c28edbaf9939cfef1bcbd9615420faffected38354c82abe7bcbcd1182a06af89d3cc16d3e2c7 to < 30ffcad5edb56947dccc26f6816ab7a55b21a711affected61e007657bf7740d54ca2aadce0fb5997839818e to < 29b2fbe3498da3681a01b34e4a2259f8a1b89448affecteddaaf4fe333e0d48b2037cd2270bf1ff8f70d5068 to < b0f74f5d24fe3c73ef1369a811891198b54c1e8eaffectedcab928242853a832ffa7efda270ecfb9efeebb6e to < 9a2a5da002775376498e8814df4a87cd629a3a0caffectedf514248727606b9087bc38a284ff686e0093abf1 to < 0886dc6326c3cc596799c4340d342898301cf52aaffectedf514248727606b9087bc38a284ff686e0093abf1 to < 9f16d96e1222391a6b996a1b676bec14fb91e3b2affected5.15.201 to < 5.15.202affected6.1.164 to < 6.1.165affected6.6.127 to < 6.6.128affected6.12.74 to < 6.12.75affected6.18.13 to < 6.18.14affected
Linux Linux
Default version status: affected
6.19affected0 to < 6.19unaffected5.15.202 to ≤ 5.15.*unaffected6.1.165 to ≤ 6.1.*unaffected6.6.128 to ≤ 6.6.*unaffected6.12.75 to ≤ 6.12.*unaffected6.18.14 to ≤ 6.18.*unaffected6.19.4 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ae5a70e3e87c28edbaf9939cfef1bcbd9615420f ↗
- https://git.kernel.org/stable/c/30ffcad5edb56947dccc26f6816ab7a55b21a711 ↗
- https://git.kernel.org/stable/c/29b2fbe3498da3681a01b34e4a2259f8a1b89448 ↗
- https://git.kernel.org/stable/c/b0f74f5d24fe3c73ef1369a811891198b54c1e8e ↗
- https://git.kernel.org/stable/c/9a2a5da002775376498e8814df4a87cd629a3a0c ↗
- https://git.kernel.org/stable/c/0886dc6326c3cc596799c4340d342898301cf52a ↗
- https://git.kernel.org/stable/c/9f16d96e1222391a6b996a1b676bec14fb91e3b2 ↗