Linux kernel 2.6.18, and possibly other versions, when running on AMD64
architectures, allows local users to cause a denial of service (crash) via
certain ptrace calls.
Created attachment 152509 [details, diff]
Extracted from kernel-2.6.9-67.0.15.EL.src.rpm
Other kernels are affected. Looks like 2.6.4->2.6.24
Sorry, better link:
not sure how to fix this in 2.6.24.. the patch linked here is for older kernels only, and i can't find any explanation of how this was fixed in 2.6.25
the patch can be ported to 2.6.24 quite easily (as Gordon has done) but it doesn't match what has been done upstream.
I think the upstream fix is this one:
It applies cleanly to 2.6.24.
If someone wants to confirm that it makes the bug go away, I'll put it in genpatches.
actually that's not it, I'm back to being not sure how upstream fixed it