xserver/hw/xfree86/modes
Olivier Fourdan 0235121c6a 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>
2025-06-17 14:21:24 +02:00
..
meson.build xfree86: Move xf86CVTMode() function 2021-08-06 11:29:29 +00:00
xf86Crtc.c xfree86: ddc: move private definitions from xf86DDC.h to xf86DDC_priv.h 2025-02-06 23:51:34 +00:00
xf86Crtc.h render: drop obsolete macros pict_f_transform and pict_f_vector 2024-03-03 22:54:16 +00:00
xf86Cursors.c xfree86: modes: drop unused xf86_driver_has_show_cursor() 2024-04-18 01:03:11 +00:00
xf86DiDGA.c xfree86: common: move non-exported funcs from dgaproc.h to separate header 2024-02-29 10:27:08 +00:00
xf86EdidModes.c xfree86: ddc: move private definitions from xf86DDC.h to xf86DDC_priv.h 2025-02-06 23:51:34 +00:00
xf86Modes.c treewide: replace xnfstrdup() calls by XNFstrdup() 2024-07-26 23:41:34 +00:00
xf86Modes.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c xfree86: Check for RandR provider functions 2025-06-17 14:21:24 +02:00
xf86RandR12.h xfree86: modes: move private definitions out of from xf86RandR12.h 2025-02-06 23:51:33 +00:00
xf86RandR12_priv.h xfree86: modes: move private definitions out of from xf86RandR12.h 2025-02-06 23:51:33 +00:00
xf86Rotate.c mi: unexport miSourceValidate() 2025-02-06 16:45:20 +02:00
xf86gtf.c treewide: replace xnfcalloc() calls by XNFcallocarray() 2024-07-26 23:41:33 +00:00