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:
Takashi Iwai
2026-06-09 13:50:54 +02:00
parent ccd0db6671
commit dde75ff0f6

View File

@@ -1861,7 +1861,6 @@ static int snd_timer_user_params(struct file *file,
struct snd_timer_params params;
int err;
guard(mutex)(&register_mutex);
tu = file->private_data;
if (!tu->timeri)
return -EBADFD;