| Summary: | 4-byte buffer overflow in MakeBigReq | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Karl Tomlinson <bugs.freedesktop> | ||||
| Component: | Lib/Xlib | Assignee: | Xorg Project Team <xorg-team> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
| Severity: | normal | ||||||
| Priority: | medium | CC: | peter.hutterer, xorg_security | ||||
| Version: | unspecified | Keywords: | patch, security | ||||
| Hardware: | Other | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
|
Description
Karl Tomlinson
2012-10-29 04:48:24 UTC
As this is a macro, of course all libraries that use the macro or SetReqLen to create large requests will need to be recompiled. The last memcpy in the WORD64 case looks wrong but I haven't tried to fix that bug. Confirmed and I have a reliable reproducer here. Requirement for the overrun is that the fixed-length bit of the request is aligned at the end of the dpy buffer. Patch pushed to git master: http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=39547d600a13713e15429f49768e54c3173c828d |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.