If you are like me and use CSF then 2.6.22.9 is the latest kernel version to work with it. So I usually use this version plus grsecurity. This is the same fix as in my tarball I posted earlier.
cd into your kernel source directory
Code:
nano -w fs/splice.c
look for this set of lines
(ctrl+w)
Code:
if (unlikely(!len))
you should see
Code:
if (unlikely(!len)) break; error = -EFAULT; if (unlikely(!base))
replace
Code:
if (unlikely(!base))
with
Code:
if (!access_ok(VERIFY_READ, base, len))
save the file and then compile your kernel as you normally do
Related Articles
No user responded in this post