diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-06-09 13:50:54 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-06-10 09:36:28 +0200 |
| commit | dde75ff0f651182b671da700441406b8f9de3984 (patch) | |
| tree | 4a5f08571571600bc80716ffe1e6b89f76604ae9 | |
| parent | ccd0db6671d2cae986b2daa1c538b6d541a9d62c (diff) | |
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
| -rw-r--r-- | sound/core/timer.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |
