U_CVE-2025-26594-0002-dix-keep-a-ref-to-the-rootCursor.patch * Use-after-free of the root cursor (CVE-2025-26594, bsc#1237427) - U_CVE-2025-26595-0001-xkb-Fix-buffer-overflow-in-XkbVModMaskText.patch * Buffer overflow in XkbVModMaskText() (CVE-2025-26595, bsc#1237429) - U_CVE-2025-26596-0001-xkb-Fix-computation-of-XkbSizeKeySyms.patch * Heap overflow in XkbWriteKeySyms() (CVE-2025-26596, bsc#1237430) - U_CVE-2025-26597-0001-xkb-Fix-buffer-overflow-in-XkbChangeTypesOfKey.patch * Buffer overflow in XkbChangeTypesOfKey() (CVE-2025-26597, bsc#1237431) - U_CVE-2025-26598-0001-Xi-Fix-barrier-device-search.patch * Out-of-bounds write in CreatePointerBarrierClient() (CVE-2025-26598, bsc#1237432) - U_CVE-2025-26599-0001-composite-Handle-failure-to-redirect-in-compRedirect.patch U_CVE-2025-26599-0002-composite-initialize-border-clip-even-when-pixmap-al.patch * Use of uninitialized pointer in compRedirectWindow() (CVE-2025-26599, bsc#1237433) - U_CVE-2025-26600-0001-dix-Dequeue-pending-events-on-frozen-device-on-remov.patch * Use-after-free in PlayReleasedEvents() (CVE-2025-26600, bsc#1237434) - U_CVE-2025-26601-0001-sync-Do-not-let-sync-objects-uninitialized.patch U_CVE-2025-26601-0002-sync-Check-values-before-applying-changes.patch U_CVE-2025-26601-0003-sync-Do-not-fail-SyncAddTriggerToSyncObject.patch U_CVE-2025-26601-0004-sync-Apply-changes-last-in-SyncChangeAlarmAttributes.patch * Use-after-free in SyncInitTrigger() (CVE-2025-26601, bsc#1237435) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=907
45 lines
1.8 KiB
Diff
45 lines
1.8 KiB
Diff
Author: Reinhard Max <max@suse.de>
|
|
|
|
XDMCP: For IPv6 add IPv6 link local addresses to the end of the list
|
|
|
|
For IPv6 add a link local addresses to the end of the list passed to
|
|
the XDMCP servers.
|
|
Reason: for link local addresses the XDMCP server would need to either
|
|
know the interface thru a scope identifier or try all available interfaces.
|
|
If they don't this address will fail in which case the XDMCP server
|
|
could still try the other addresses passed - however some only try
|
|
the first address and then give up.
|
|
Even if this seems to be the wrong place to fix this it seems to be
|
|
easier than fixing all display servers.
|
|
|
|
Index: xorg-server-1.20.5/os/access.c
|
|
===================================================================
|
|
--- xorg-server-1.20.5.orig/os/access.c
|
|
+++ xorg-server-1.20.5/os/access.c
|
|
@@ -827,7 +827,9 @@ DefineSelf(int fd)
|
|
|
|
/*
|
|
* ignore 'localhost' entries as they're not useful
|
|
- * on the other end of the wire
|
|
+ * on the other end of the wire and because on hosts
|
|
+ * with shared home dirs they'll result in conflicting
|
|
+ * entries in ~/.Xauthority
|
|
*/
|
|
if (ifr->ifa_flags & IFF_LOOPBACK)
|
|
continue;
|
|
@@ -848,6 +850,14 @@ DefineSelf(int fd)
|
|
else if (family == FamilyInternet6 &&
|
|
IN6_IS_ADDR_LOOPBACK((struct in6_addr *) addr))
|
|
continue;
|
|
+
|
|
+ /* Ignore IPv6 link local addresses (fe80::/10), because
|
|
+ * they need a scope identifier, which we have no way
|
|
+ * of telling to the other end.
|
|
+ */
|
|
+ if (family == FamilyInternet6 &&
|
|
+ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)addr))
|
|
+ continue;
|
|
#endif
|
|
XdmcpRegisterConnection(family, (char *) addr, len);
|
|
#if defined(IPv6) && defined(AF_INET6)
|