Commits on Source (4)
-
Alan Coopersmith authored
CVE-2024-31080 Reported-by: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69762 Fixes: 53e821ab ("Xi: add request processing for XIGetSelectedEvents.") Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <xorg/xserver!1463>
-
Alan Coopersmith authored
CVE-2024-31081 Fixes: d220d690 ("Xi: add GrabButton and GrabKeysym code.") Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <xorg/xserver!1463>
-
Alan Coopersmith authored
CVE-2024-31082 Fixes: 14205ade ("XQuartz: appledri: Fix byte swapping in replies") Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!1463>
-
Previously, AllocateGlyph would return a new glyph with refcount=0 and a re-used glyph would end up not changing the refcount at all. The resulting glyph_new array would thus have multiple entries pointing to the same non-refcounted glyphs. AddGlyph may free a glyph, resulting in a UAF when the same glyph pointer is then later used. Fix this by returning a refcount of 1 for a new glyph and always incrementing the refcount for a re-used glyph, followed by dropping that refcount back down again when we're done with it. CVE-2024-31083, ZDI-CAN-22880 This vulnerability was discovered by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative Part-of: <!1463>
Showing
- Xi/xipassivegrab.c 4 additions, 1 deletionXi/xipassivegrab.c
- Xi/xiselectev.c 4 additions, 1 deletionXi/xiselectev.c
- hw/xquartz/xpr/appledri.c 3 additions, 1 deletionhw/xquartz/xpr/appledri.c
- render/glyph.c 3 additions, 2 deletionsrender/glyph.c
- render/glyphstr_priv.h 1 addition, 0 deletionsrender/glyphstr_priv.h
- render/render.c 11 additions, 4 deletionsrender/render.c