ALSA: more fixes for timer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ALSA: timer: Manage timer object with krefinclude/ sound/ sound/ +1 more | +95 | 0 replies | |
| 2/3 | Revert "ALSA: timer: Fix UAF at snd_timer_user_params()"sound/ | +0 | 0 replies | |
| 3/3 | ALSA: timer: Disable work at freeing timer objectsound/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] ALSA: more fixes for timer
Hi,
as there are still open holes in ALSA timer code that may lead to UAFs, here is a patch to address more drastically, by introducing the refcounting for the timer object's lifecycle. With this change, the previous workaround is no longer needed, hence it's reverted in the second patch. And, the third one is to assure the pending work being finished at freeing. I don't think we've received a report about it, but just to be sure.
This is targeted for 7.2.
Takashi
===
Takashi Iwai (3):
ALSA: timer: Manage timer object with kref Revert "ALSA: timer: Fix UAF at snd_timer_user_params()"
ALSA: timer: Disable work at freeing timer object
include/sound/timer.h | 6 +++ sound/core/seq/seq_timer.c | 11 ++-- sound/core/timer.c | 107 +++++++++++++++++++++++++++---------- sound/core/timer_compat.c | 5 +- 4 files changed, 97 insertions(+), 32 deletions(-)
Signature · 1 line
2.54.0