Red Hat Bugzilla – Bug 132351
posix-timers leak on multithreaded exec (unprivileged local DoS)
Last modified: 2007-11-30 17:10:49 EST
Description of problem:
exec when multithreaded fails to clean up posix-timers properly, and
leaks the data structures. exec when single-threaded fails to clear
out the timers, but doesn't leak, so that's just a bug and no DoS risk.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.see attached test program.
2.run it a lot.
3.watch it leak.
leaks that a mofo
not so much
fix on the way
Created attachment 103718 [details]
gcc -o de_thread-timerleak -g de_thread-timerleak.c -lrt -lpthread -Wall
Created attachment 103719 [details]
kernel patch fixing exec timer leak and signal state loss
Fix posted upstream.