summaryrefslogtreecommitdiffstats
path: root/kernel/rcupdate.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2011-08-10 19:26:09 +0200
committerJohn Stultz <john.stultz@linaro.org>2011-08-10 19:26:09 +0200
commit6af7e471e5a7746b8024d70b4363d3dfe41d36b8 (patch)
tree33b1af81dfadefcc367307939acbb0d28c07c7c1 /kernel/rcupdate.c
parentalarmtimers: Memset itimerspec passed into alarm_timer_get (diff)
downloadlinux-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