The code posted by stian@nixia.no at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15905 allows every user with shell access to crash the machine. Requirements are - Kernel 2.4 or 2.6 - x86 machine with FPU - single processor system(?) The crash is caused by a pending FPU exception from userspace which is triggered as soon as the kernel itself executes an FPU instruction. Reproducible: Always Steps to Reproduce: 1. download and compile sample code 2. save your data 3. run sample program Actual Results: System freezes, still responds to network ping and SysReq-Key. Expected Results: Original Discussion, including incomplete fixes: http://marc.10east.com/?l=linux-kernel&m=108681568931323&w=2 Another fix. Improved but still not perfect: http://marc.10east.com/?l=linux-kernel&m=108707205824094&w=2
Created attachment 33178 [details, diff] Patch from 2.6.7-rc3-bk5 This is the patch included in kernel 2.6.7-rc3-bk5. Tested succesfully on 2.6.5 and 2.6.7-rc3. The same change should fix kernel 2.4, although this patch won't apply.
bug 53804
*** This bug has been marked as a duplicate of 53804 ***