[alsa-devel] [PATCH 0/4] Yet another fixes for ALSA timer info leaks

Takashi Iwai tiwai at suse.de
Tue Jun 6 17:00:39 CEST 2017


Hi,

this is a patchset to paper over a bug in ALSA timer core code about
the race between read and ioctl.  As a side-effect of the race, it may
allow to read some uninitialized kmalloced memory.  The first two
patches cover the issue, so marked as stable, while the rest two
patches are rather cleanups and more hardening. 

I'm going to queue the first to for-linus for 4.12-rc, and the latter
two to for-next, for 4.13.


thanks,

Takashi

===

Takashi Iwai (4):
  ALSA: timer: Fix race between read and ioctl
  ALSA: timer: Fix missing queue indices reset at
    SNDRV_TIMER_IOCTL_SELECT
  ALSA: timer: Improve user queue reallocation
  ALSA: timer: Wrap with spinlock for queue access

 sound/core/timer.c | 103 ++++++++++++++++++++++++++---------------------------
 1 file changed, 51 insertions(+), 52 deletions(-)

-- 
2.13.0



More information about the Alsa-devel mailing list