mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10.git
synced 2026-09-09 00:07:04 +08:00
Revert "ALSA: timer: Fix UAF at snd_timer_user_params()"
JIRA: https://issues.redhat.com/browse/RHEL-183295 commit dde75ff0f651182b671da700441406b8f9de3984 Author: Takashi Iwai <tiwai@suse.de> Date: Tue Jun 9 13:50:54 2026 +0200 Revert "ALSA: timer: Fix UAF at snd_timer_user_params()" This reverts commit 053a401b592be424fea9d57c789f66cd5d8cec11. With the change of the timer object lifecycle with kref, this temporary workaround is no longer needed. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260609115100.806869-3-tiwai@suse.de Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
This commit is contained in:
@@ -1811,7 +1811,6 @@ static int snd_timer_user_params(struct file *file,
|
||||
struct snd_timer *t;
|
||||
int err;
|
||||
|
||||
guard(mutex)(®ister_mutex);
|
||||
tu = file->private_data;
|
||||
if (!tu->timeri)
|
||||
return -EBADFD;
|
||||
|
||||
Reference in New Issue
Block a user