Takashi Iwai
f68d9c56ca
ALSA: timer: Limit max amount of slave instances
...
[ Upstream commit fdea53fe5de532969a332d6e5e727f2ad8bf084d ]
The fuzzer tries to open the timer instances as much as possible, and
this may cause a system hiccup easily. We've already introduced the
cap for the max number of available instances for the h/w timers, and
we should put such a limit also to the slave timers, too.
This patch introduces the limit to the multiple opened slave timers.
The upper limit is hard-coded to 1000 for now, which should suffice
for any practical usages up to now.
Link: https://lore.kernel.org/r/20191106154257.5853-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 13:39:34 +01:00
..
oss
ALSA: pcm: oss: Avoid potential buffer overflows
2019-12-21 10:41:31 +01:00
seq
ALSA: seq: Do error checks at creating system ports
2019-11-25 09:52:01 +01:00
compress_offload.c
ASoC: compress: fix unsigned integer overflow check
2019-12-05 15:34:06 +01:00
control.c
ALSA: control: Fix race between adding and removing a user element
2018-12-05 19:42:40 +01:00
control_compat.c
ALSA: control: fix a redundant-copy issue
2018-05-22 16:57:56 +02:00
ctljack.c
ALSA: jack: Fix endless loop at unique index detection
2015-06-26 06:59:57 +02:00
device.c
Merge branch 'topic/hda-unbind' into for-next
2015-03-16 14:48:20 +01:00
hrtimer.c
ALSA: timer: Limit max instances per timer
2019-11-06 12:18:28 +01:00
hwdep.c
ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS
2015-05-27 21:25:19 +02:00
hwdep_compat.c
info.c
ALSA: info: Fix racy addition/deletion of nodes
2019-04-27 09:34:47 +02:00
info_oss.c
ALSA: core: Clean up OSS proc file management
2015-04-24 17:31:08 +02:00
init.c
ALSA: core: Fix card races between register and disconnect
2019-04-27 09:34:42 +02:00
isadma.c
ALSA: core: Use standard printk helpers
2014-02-14 08:14:15 +01:00
jack.c
ALSA: jack: Allow building the jack layer without input device
2016-02-23 09:03:07 +01:00
Kconfig
ALSA: timer: remove legacy rtctimer
2016-04-25 10:41:46 +02:00
Makefile
ALSA: timer: remove legacy rtctimer
2016-04-25 10:41:46 +02:00
memalloc.c
ALSA: memalloc: Don't exceed over the requested size
2018-08-22 07:47:14 +02:00
memory.c
ALSA: Include linux/uaccess.h and linux/bitopts.h instead of asm/*
2015-01-28 17:25:07 +01:00
misc.c
ALSA: Allow pass NULL dev for snd_pci_quirk_lookup()
2014-10-08 12:08:38 +02:00
pcm.c
ALSA: pcm: Fix potential Spectre v1 vulnerability
2019-01-09 16:16:42 +01:00
pcm_compat.c
ALSA: pcm: Check PCM state at xfern compat ioctl
2018-05-09 09:50:19 +02:00
pcm_dmaengine.c
ASoC: dmaengine_pcm: Add support for packed transfers
2016-04-27 17:34:11 +01:00
pcm_drm_eld.c
ALSA: pcm: add DRM ELD helper
2015-05-22 16:01:44 +02:00
pcm_iec958.c
ALSA: pcm: Allow 32 bit sample format in IEC958 channel status helper
2016-04-06 14:33:38 -07:00
pcm_lib.c
ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
2019-12-21 10:40:49 +01:00
pcm_memory.c
ALSA: Include linux/io.h instead of asm/io.h
2015-01-28 16:49:33 +01:00
pcm_misc.c
ALSA: pcm: Add snd_pcm_rate_range_to_bits()
2016-02-05 18:49:00 +00:00
pcm_native.c
ALSA: pcm: Avoid possible info leaks from PCM stream buffers
2020-01-04 13:38:58 +01:00
pcm_timer.c
ALSA: pcm: Use standard printk helpers
2014-02-14 08:14:15 +01:00
pcm_trace.h
ALSA: pcm: Replace PCM hwptr tracking with tracepoints
2014-11-04 14:09:14 +01:00
rawmidi.c
ALSA: rawmidi: Fix potential Spectre v1 vulnerability
2019-04-03 06:24:16 +02:00
rawmidi_compat.c
ALSA: rawmidi: Fix missing input substream checks in compat ioctls
2018-04-24 09:34:16 +02:00
sgbuf.c
ALSA: core: Deletion of unnecessary checks before two function calls
2014-11-21 20:06:57 +01:00
sound.c
ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS
2015-05-27 21:25:19 +02:00
sound_oss.c
ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS
2015-05-27 21:25:19 +02:00
timer.c
ALSA: timer: Limit max amount of slave instances
2020-01-04 13:39:34 +01:00
timer_compat.c
ALSA: timer: Remove kernel warning at compat ioctl error paths
2017-11-30 08:39:05 +00:00
vmaster.c
ALSA: vmaster: Propagate slave error
2018-05-30 07:50:48 +02:00