From dde75ff0f651182b671da700441406b8f9de3984 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 9 Jun 2026 13:50:54 +0200 Subject: [PATCH] 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 --- sound/core/timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/core/timer.c b/sound/core/timer.c index 6d8fc1ee29f58..6baa63a3bad0c 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; -- 2.47.3