mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 04:37:32 -04:00
Revert "ALSA: timer: Fix UAF at snd_timer_user_params()"
This reverts commit 053a401b59.
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
This commit is contained in:
@@ -1861,7 +1861,6 @@ static int snd_timer_user_params(struct file *file,
|
||||
struct snd_timer_params params;
|
||||
int err;
|
||||
|
||||
guard(mutex)(®ister_mutex);
|
||||
tu = file->private_data;
|
||||
if (!tu->timeri)
|
||||
return -EBADFD;
|
||||
|
||||
Reference in New Issue
Block a user