Off-by-one error in the options_write function in drivers/misc/sgi-gru/gruprocfs.c in the SGI GRU driver in the Linux kernel 2.6.30.2 and earlier on ia64 and x86 platforms might allow local users to overwrite arbitrary memory locations and gain privileges via a crafted count argument, which triggers a stack-based buffer overflow.
grsecurity.net/~spender/exploit_demo.c
lkml.org/lkml/2009/7/20/348
lkml.org/lkml/2009/7/20/362
secunia.com/advisories/37105
www.securityfocus.com/bid/35753
www.ubuntu.com/usn/USN-852-1
xorl.wordpress.com/2009/07/21/linux-kernel-sgi-gru-driver-off-by-one-overwrite/
exchange.xforce.ibmcloud.com/vulnerabilities/51887