hrtimer: prevent overrun DoS in hrtimer_forward()
Thomas Gleixner authored
hrtimer_forward() does not check for the possible overflow of
timer->expires. This can happen on 64 bit machines with large interval
values and results currently in an endless loop in the softirq because
the expiry value becomes negative and therefor the timer is expired all
the time.

Check for this condition and set the expiry value to the max. expiry
time in the future.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
75da4e64
Name Last commit Last update
..
irq [PATCH] kernel/: small cleanups
power remove obsolete swsusp_encrypt
.gitignore gitignore: ignore more generated files
Kconfig.hz [PATCH] i386: Selectable Frequency of the Timer Interrupt
Kconfig.preempt [PATCH] sched: voluntary kernel preemption
Makefile [PATCH] build kernel/intermodule.c only when required
acct.c [PATCH] move capable() to capability.h
audit.c [PATCH] EDAC: atomic scrub operations
auditsc.c [PATCH] make vm86 call audit_syscall_exit
capability.c [PATCH] move capable() to capability.h
compat.c [PATCH] remove bogus asm/bug.h includes.
configs.c update the email address of Randy Dunlap
cpu.c [PATCH] clean up lock_cpu_hotplug() in cpufreq
cpuset.c [PATCH] cpuset: oops in exit on null cpuset fix
dma.c Linux-2.6.12-rc2
exec_domain.c [PATCH] Fix module refcount leak in __set_personality()
exit.c Fix reparenting to the same thread group. (take 2)
extable.c Linux-2.6.12-rc2
fork.c [PATCH] wrong error path in dup_fd() leading to oopses in RCU
futex.c fix misoptimization in futex unqueue_me
hrtimer.c hrtimer: prevent overrun DoS in hrtimer_forward()
intermodule.c [PATCH] missing license tag in intermodule
itimer.c [PATCH] hrtimers: fix oldvalue return in setitimer
kallsyms.c [PATCH] fix missing includes
kexec.c [PATCH] move capable() to capability.h
kfifo.c
kmod.c
kprobes.c
ksysfs.c
kthread.c
module.c
mutex-debug.c
mutex-debug.h
mutex.c
mutex.h
panic.c
params.c
pid.c
posix-cpu-timers.c
posix-timers.c
printk.c
profile.c
ptrace.c
rcupdate.c
rcutorture.c
resource.c
sched.c
seccomp.c
signal.c
softirq.c
softlockup.c
spinlock.c
stop_machine.c
sys.c
sys_ni.c
sysctl.c
time.c
timer.c
uid16.c
user.c
wait.c
workqueue.c