Integer overflow in the drm_mode_dirtyfb_ioctl function in drivers/gpu/drm/drm_crtc.c in the Direct Rendering Manager (DRM) subsystem in the Linux kernel before 3.1.5 allows local users to gain privileges or cause a denial of service (memory corruption) via a crafted ioctl call.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://www.ubuntu.com/usn/USN-1556-1 | patch vendor advisory third party advisory |
http://rhn.redhat.com/errata/RHSA-2012-0743.html | third party advisory vendor advisory |
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.1.5 | patch vendor advisory mailing list |
http://www.ubuntu.com/usn/USN-1555-1 | patch vendor advisory third party advisory |
http://www.openwall.com/lists/oss-security/2012/01/12/1 | patch mailing list third party advisory |
http://www.securityfocus.com/bid/51371 | third party advisory vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=772894 | patch third party advisory issue tracking |
https://github.com/torvalds/linux/commit/a5cd335165e31db9dbab636fd29895d41da55dd2 | third party advisory patch |
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a5cd335165e31db9dbab636fd29895d41da55dd2 |