xserver/hw/xfree86
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
..
common Rebrand 'X.Org X Server' to 'XLibre X Server' 2025-06-13 19:08:11 +02:00
compat xfree86: compat: add missing symbols needed by the proprietary nvidia drivers 2025-06-16 20:07:18 +02:00
ddc xfree86: xf86Priv.h: unexport xf86Initialising field 2025-06-12 17:21:47 +02:00
dixmods xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
doc xfree86: xf86.h: drop xf86GetFlipPixels() 2025-06-12 17:21:47 +02:00
dri treewide: preemptively revert !1714 where it affects ABI compatibility 2025-06-16 10:32:48 +02:00
dri2 xfree86: dri2: unexport noXFree86DRI2Extension and move into extension 2025-06-12 17:21:46 +02:00
drivers xres/xkb/xvmc/modesetting: Fix incorrect pointer data size usage 2025-06-13 13:01:24 +02:00
exa xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
fbdevhw xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
glamor_egl xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
i2c xfree86: i2c: drop unused xf86I2CWriteWord() 2025-06-12 16:22:54 +02:00
int10 xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
loader xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
man xfree86: man: add -syslogverbse flag 2025-06-12 17:21:46 +02:00
modes xfree86: Check for RandR provider functions 2025-06-17 20:01:25 +02:00
os-support xfree86: xf86Priv.h: unexport xf86HandlePMEvents() 2025-06-12 17:21:48 +02:00
parser xfree86: parser: rename STRING for fixing name conflict 2025-06-12 17:21:46 +02:00
ramdac dix: move ColormapRec declaration out of public header 2025-06-12 17:21:43 +02:00
shadowfb xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
utils xfree86: utils: gracefully handle allocation failure. 2025-06-12 16:33:37 +02:00
vgahw xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
x86emu xfree86: x86emu: add extra assert()'s 2025-06-12 16:33:24 +02:00
xkb xfree86: xf86.h: unexport xf86ProcessActionEvent() 2025-06-12 17:21:47 +02:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
meson.build xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
sdksyms.sh dix: don't install selection.h anymore 2025-06-12 17:21:46 +02:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00