agp: fix arbitrary kernel memory writes (CVE-2011-1745) agp: fix OOM and buffer overflow (CVE-2011-1746)