CVE-2023-0266
Description
A use after free vulnerability exists in the ALSA PCM package in the Linux Kernel. SNDRV_CTL_IOCTL_ELEM_{READ|WRITE}32 is missing locks that can be used in a use-after-free that can result in a priviledge escalation to gain ring0 access from the system user. We recommend upgrading past commit 56b88b50565cd8b946a2d00b0c83927b7ebb055e
Summary dbcve.org
A use-after-free vulnerability exists in the ALSA PCM (Pulse Code Modulation) sound driver in the Linux Kernel. The SNDRV_CTL_IOCTL_ELEM_READ and SNDRV_CTL_IOCTL_ELEM_WRITE IOCTL handlers lack proper locking mechanisms, allowing a local attacker to exploit a race condition and achieve use-after-free. This can lead to privilege escalation from a standard user to ring0 (kernel) execution.
Mitigation
Upgrade the Linux kernel to a version containing commit 56b88b50565cd8b946a2d00b0c83927b7ebb055e, which adds the missing locks to prevent the use-after-free condition.