Integer overflow in IOSurface in Apple iOS before 4.0.2 on the iPhone and iPod touch, and before 3.2.2 on the iPad, allows local users to gain privileges via vectors involving IOSurface properties, as demonstrated by JailbreakMe.
http://www.securityfocus.com/bid/42151
http://support.apple.com/kb/HT4292
http://support.apple.com/kb/HT4291
http://secunia.com/advisories/40807
http://lists.apple.com/archives/security-announce/2010//Aug/msg00001.html
http://lists.apple.com/archives/security-announce/2010//Aug/msg00000.html