Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit e4e04112 authored by Al Viro's avatar Al Viro Committed by Greg Kroah-Hartman
Browse files

[PATCH] CVE-2005-2709 sysctl unregistration oops


You could open the /proc/sys/net/ipv4/conf/<if>/<whatever> file, then
wait for interface to go away, try to grab as much memory as possible in
hope to hit the (kfreed) ctl_table.  Then fill it with pointers to your
function. Then do read from file you've opened and if you are lucky,
you'll get it called as ->proc_handler() in kernel mode.

So this is at least an Oops and possibly more.  It does depend on an
interface going away though, so less of a security risk than it would
otherwise be.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 741b2252
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment