ASoC: fsl_xcvr: Revert fix missing lock in fsl_xcvr_mode_put()
CVE-2026-46262
What is CVE-2026-46262?
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 Version(s)
Linux 612ffe1f4f0499b3011f16d06e354a76dae2e2d1
Linux 38354c82abe7bcbcd1182a06af89d3cc16d3e2c7 < 30ffcad5edb56947dccc26f6816ab7a55b21a711
Linux 61e007657bf7740d54ca2aadce0fb5997839818e < 29b2fbe3498da3681a01b34e4a2259f8a1b89448