From: Takashi Iwai Date: Tue, 9 Jun 2026 11:50:54 +0000 (+0200) Subject: Revert "ALSA: timer: Fix UAF at snd_timer_user_params()" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dde75ff0f651182b671da700441406b8f9de3984;p=thirdparty%2Flinux.git 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 Link: https://patch.msgid.link/20260609115100.806869-3-tiwai@suse.de --- diff --git a/sound/core/timer.c b/sound/core/timer.c index 6d8fc1ee29f5..6baa63a3bad0 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c @@ -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;