Red Hat Bugzilla – Bug 220921
invalid arguments to setitimer causes kernel to crash (soft lockup)
Last modified: 2007-11-30 17:11:52 EST
Description of problem:
If setitimer() is called with an itimerval struct with strange values, the
kernel will crash with:
BUG: Soft lockup detected on CPU#0!
Version-Release number of selected component (if applicable):
Completely reproducible on x86_64/SMP hosts.
Steps to Reproduce:
1. Compile crash.c
2. Run crash program
EINVAL errno from setitimer. Or, perhaps, a very very long delay before SIGALRM
Created attachment 144493 [details]
Crash test case
Looks like discussion of this problem has has happened on the kernel mailing
list (I should have reported it there originally, I suppose)
Fixed in upstream 18.104.22.168, which means also fixed in FC5 and FC6.