public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xorg-x11-server-Xwayland] f44: Update to xwayland 24.1.15
@ 2026-11-10 17:05 Olivier Fourdan
  0 siblings, 0 replies; only message in thread
From: Olivier Fourdan @ 2026-11-10 17:05 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/xorg-x11-server-Xwayland
            Branch : f44
            Commit : 0e98c8c19a9e7cc9ac9a8d661661a3715ac71872
            Author : Olivier Fourdan <ofourdan@redhat.com>
            Date   : 2026-11-10T17:46:03+01:00
            Stats  : +9/-108 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland/c/0e98c8c19a9e7cc9ac9a8d661661a3715ac71872?branch=f44

            Log:
            Update to xwayland 24.1.15

CVE fix for:
CVE-2026-109092, CVE-2026-109093, CVE-2026-109904, CVE-2026-109094,
CVE-2026-109095, CVE-2026-109096, CVE-2026-109903

---
diff --git a/0001-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch b/0001-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch
deleted file mode 100644
index 2c4d402..0000000
--- a/0001-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 59ae14238143dc41a05b5eb399028b167a4a9582 Mon Sep 17 00:00:00 2001
-From: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date: Thu, 8 Oct 2026 17:17:20 -0700
-Subject: [PATCH xserver 1/2] Xi: avoid memory leak when hitting bounds check
- for barrier events
-
-The fix for CVE-2026-93519 added a bounds check for barrier events in
-CreatePointerBarrierClient() and if it's hit immediately returns
-BadAlloc.  Unfortunately it was added after `ret` was already allocated
-and before *client_out is set to `ret`, so `ret` leaks.
-
-This fix changes it to jump to the same cleanup code to free(ret)
-that the rest of the function already uses.
-
-Fixes: 1f42cc1f0 ("Xi: add bounds check for barrier events in input_constrain_cursor")
-Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2352>
-(cherry picked from commit 8e901e6013803a94b25020bde384dd17966564eb)
----
- Xi/xibarriers.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/Xi/xibarriers.c b/Xi/xibarriers.c
-index aad8db752..8cfc67555 100644
---- a/Xi/xibarriers.c
-+++ b/Xi/xibarriers.c
-@@ -602,8 +602,10 @@ CreatePointerBarrierClient(ClientPtr client,
-      * function */
-     xorg_list_for_each_entry(counter, &cs->barriers, entry) {
-         nbarriers++;
--        if (nbarriers >= 32)
--            return BadAlloc;
-+        if (nbarriers >= 32) {
-+            err = BadAlloc;
-+            goto error;
-+        }
-     }
- 
-     ret->screen = screen;
--- 
-2.56.0
-

diff --git a/0002-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch b/0002-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch
deleted file mode 100644
index f61208c..0000000
--- a/0002-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 4623c9680b1332add519ff5b1736f16f57d45233 Mon Sep 17 00:00:00 2001
-From: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date: Thu, 8 Oct 2026 17:53:59 -0700
-Subject: [PATCH xserver 2/2] Xi: fix event_id & time delta in generated
- barrier events
-
-The fix for CVE-2026-93519 moved the updates of pbd->last_timestamp
-and pbd->barrier_event_id from after they were used to generate the
-data in events to before, causing the event_id to be one too high,
-and the time delta (ms - pbd->last_timestamp) to always be zero.
-
-This fix moves them back to being after they are used to generate
-the event data.
-
-Fixes: 1f42cc1f ("Xi: add bounds check for barrier events in input_constrain_cursor")
-Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2353>
-(cherry picked from commit 98aed9ddba7b42d2a46fcc1f343f4b392967b838)
----
- Xi/xibarriers.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/Xi/xibarriers.c b/Xi/xibarriers.c
-index 8cfc67555..52bc6ecc8 100644
---- a/Xi/xibarriers.c
-+++ b/Xi/xibarriers.c
-@@ -417,7 +417,7 @@ input_constrain_cursor(DeviceIntPtr dev, ScreenPtr screen,
-     DeviceIntPtr master;
- 
-     /* We cannot know how many events are available in *events, but
--     * we know it all DDX very protbably allocated them with
-+     * we know that all DDX very probably allocated them with
-      * GetMaximumEventsNum() and fill_pointer_events() may have added one.
-      *
-      * Let's cap at a maximum of 64 barrier events which is way more than
-@@ -517,10 +517,6 @@ input_constrain_cursor(DeviceIntPtr dev, ScreenPtr screen,
-             continue;
- 
-         pbd->hit = FALSE;
--        pbd->last_timestamp = ms;
--        /* If we've left the hit box, this is the
--         * start of a new event ID. */
--        pbd->barrier_event_id++;
- 
-         if (*nevents < MAX_BARRIER_EVENTS) {
-             ev.type = ET_BarrierLeave;
-@@ -542,6 +538,10 @@ input_constrain_cursor(DeviceIntPtr dev, ScreenPtr screen,
-             *nevents += 1;
-         }
- 
-+        pbd->last_timestamp = ms;
-+        /* If we've left the hit box, this is the
-+         * start of a new event ID. */
-+        pbd->barrier_event_id++;
-     }
- 
-  out:
--- 
-2.56.0
-

diff --git a/sources b/sources
index 42b864a..0793c6f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xwayland-24.1.14.tar.xz) = 0c09214bf5478697430db3f403ba6fc5b669faab4428a902ce9e148ea5dae630798da03f2977ab937486a07224fa2e73d146e3f51fff8abe00d2dd78d5a05bf1
+SHA512 (xwayland-24.1.15.tar.xz) = 15f1d64e1a1f8fb8469f4cea90c696eba19739e29c44edeb44c0052565158e6c5ea51dab6969412257a96f8769e77fd83a369835e00477a52e6ac3745457ac91

diff --git a/xorg-x11-server-Xwayland.spec b/xorg-x11-server-Xwayland.spec
index eb26d27..c80a5f1 100644
--- a/xorg-x11-server-Xwayland.spec
+++ b/xorg-x11-server-Xwayland.spec
@@ -8,8 +8,8 @@
 
 Summary:   Xwayland
 Name:      xorg-x11-server-Xwayland
-Version:   24.1.14
-Release:   2%{?gitdate:.%{gitdate}git%{shortcommit}}%{?dist}
+Version:   24.1.15
+Release:   1%{?gitdate:.%{gitdate}git%{shortcommit}}%{?dist}
 
 URL:       http://www.x.org
 %if 0%{?gitdate}
@@ -18,9 +18,6 @@ Source0:   https://gitlab.freedesktop.org/xorg/%{pkgname}/-/archive/%{commit}/%{
 Source0:   https://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.xz
 %endif
 
-Patch:     0001-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch
-Patch:     0002-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch
-
 License:   MIT
 
 Requires: xkeyboard-config
@@ -136,6 +133,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 %{_libdir}/pkgconfig/xwayland.pc
 
 %changelog
+* Tue Nov 10 2026 Olivier Fourdan <ofourdan@redhat.com> - 24.1.15-1
+- Update to xwayland 24.1.15
+  CVE fix for:
+  CVE-2026-109092, CVE-2026-109093, CVE-2026-109904, CVE-2026-109094,
+  CVE-2026-109095, CVE-2026-109096, CVE-2026-109903
+
 * Tue Oct 27 2026 Olivier Fourdan <ofourdan@redhat.com> - 24.1.14-2
 - Backport a couple of fixups from upstream
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-10 17:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 17:05 [rpms/xorg-x11-server-Xwayland] f44: Update to xwayland 24.1.15 Olivier Fourdan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox