xserver/hw
Olivier Fourdan 2961831f11 xfree86: Check for RandR provider functions
Changing XRandR provider properties if the driver has set no provider
function such as the modesetting driver will cause a NULL pointer
dereference and a crash of the Xorg server.

Related to CVE-2025-49180

This issue was discovered by Nils Emmerich <nemmerich@ernw.de> and
reported by Julian Suleder via ERNW Vulnerability Disclosure.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2024>
(cherry picked from commit 0235121c6a)
2026-01-25 10:40:02 -08:00
..
kdrive Xephyr.man: Use \- to get ASCII hyphens instead of Unicode dashes 2026-01-25 10:40:01 -08:00
vfb man pages: remove extraneous PP macros 2026-01-25 10:40:01 -08:00
xfree86 xfree86: Check for RandR provider functions 2026-01-25 10:40:02 -08:00
xnest Xnest: use authorative declarations from X11/XKBlib.h 2026-01-25 10:40:01 -08:00
xquartz man pages: remove extraneous PP macros 2026-01-25 10:40:01 -08:00
xwayland xwayland: Do not pretend leaving the X11 surface if buttons are down 2026-01-25 10:40:01 -08:00
xwin XWin.man: fix typos in font change escapes 2026-01-25 10:40:01 -08:00
meson.build meson.build: print a summary of the DDX to build 2026-01-25 10:40:01 -08:00