diff options
author | John Stultz <john.stultz@linaro.org> | 2011-08-10 19:26:09 +0200 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-08-10 19:26:09 +0200 |
commit | 6af7e471e5a7746b8024d70b4363d3dfe41d36b8 (patch) | |
tree | 33b1af81dfadefcc367307939acbb0d28c07c7c1 /kernel/rcupdate.c | |
parent | alarmtimers: Memset itimerspec passed into alarm_timer_get (diff) | |
download | linux-6af7e471e5a7746b8024d70b4363d3dfe41d36b8.tar.xz linux-6af7e471e5a7746b8024d70b4363d3dfe41d36b8.zip |
alarmtimers: Avoid possible denial of service with high freq periodic timers
Its possible to jam up the alarm timers by setting very small interval
timers, which will cause the alarmtimer subsystem to spend all of its time
firing and restarting timers. This can effectivly lock up a box.
A deeper fix is needed, closely mimicking the hrtimer code, but for now
just cap the interval to 100us to avoid userland hanging the system.
CC: Thomas Gleixner <tglx@linutronix.de>
CC: stable@kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/rcupdate.c')
0 files changed, 0 insertions, 0 deletions