xserver/hw/xfree86/modes
Olivier Fourdan 923837e2c9 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 20:01:25 +02:00
..
meson.build xfree86: Move xf86CVTMode() function 2021-08-06 11:29:29 +00:00
xf86Crtc.c xfree86: xf86Priv.h: unexport xf86Initialising field 2025-06-12 17:21:47 +02:00
xf86Crtc.h treewide: preemptively revert !1714 where it affects ABI compatibility 2025-06-16 10:32:48 +02:00
xf86Cursors.c xfree86: use calloc() instead of malloc() 2025-06-12 16:49:57 +02:00
xf86DiDGA.c xfree86: replace xallocarray() by calloc() 2025-06-12 17:21:44 +02:00
xf86EdidModes.c xfree86: ddc: make DMTModes[] static 2025-06-12 16:22:27 +02:00
xf86Modes.c xfree86: xf86.h: unexport xf86ModeStatusToString() 2025-06-12 17:21:47 +02: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 20:01:25 +02:00
xf86RandR12.h xfree86: unexport xf86RandR12CreateScreenResources() 2025-06-12 16:43:14 +02:00
xf86RandR12_priv.h xfree86: unexport xf86RandR12CreateScreenResources() 2025-06-12 16:43:14 +02:00
xf86Rotate.c xfree86: use calloc() instead of malloc() 2025-06-12 16:49:57 +02:00
xf86gtf.c treewide: replace xnfcalloc() calls by XNFcallocarray() 2024-07-26 23:41:33 +00:00