xserver/xfixes
Enrico Weigelt, metux IT consult cd2f91dbc0 xfixes/xace: fix pointer type mismatch on XFixesSelectSelectionInput()
This could potentially be security related or crash the server:

XFixesSelectSelectionInput() calls the XACE_SELECTION_ACCESS hook with
wrong parameter type: XID instead of pointer to Selection struct.
It seems that it hadn't been kept up in XACE changed to polyinstantiation.

When XACE is used (eg. Security or SELinux extension enabled), this can
easily lead to memory corruptions at attacker-controlled locations, since
the client-given XID is interpreted as the memory location of Selection
structure.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1556>
(cherry picked from commit 601fd0fd84)
2026-01-25 10:39:54 -08:00
..
cursor.c rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
disconnect.c Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
meson.build xfixes: Add ClientDisconnectMode 2021-06-07 17:28:05 +02:00
region.c rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
saveset.c xfixes: unvalidated lengths (CVE-2017-12183) 2017-10-10 23:33:44 +02:00
select.c xfixes/xace: fix pointer type mismatch on XFixesSelectSelectionInput() 2026-01-25 10:39:54 -08:00
xfixes.c Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
xfixes.h xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfixesint.h Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00