public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Olivier Fourdan <ofourdan@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xorg-x11-server] f44: Update to xserver 21.1.26
Date: Tue, 10 Nov 2026 15:58:03 GMT	[thread overview]
Message-ID: <179432628358.1.8185266563912345587.rpms-xorg-x11-server-86fef171b9ba@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/xorg-x11-server
            Branch : f44
            Commit : 86fef171b9ba8f29f363d053ebafa033673b5e2d
            Author : Olivier Fourdan <ofourdan@redhat.com>
            Date   : 2026-11-10T16:24:56+01:00
            Stats  : +9/-220 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/xorg-x11-server/c/86fef171b9ba8f29f363d053ebafa033673b5e2d?branch=f44

            Log:
            Update to xserver 21.1.26

CVE fix for:
CVE-2026-109091, 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-Revert-damage-Unlink-a-damage-from-the-list-it-was-a.patch b/0001-Revert-damage-Unlink-a-damage-from-the-list-it-was-a.patch
deleted file mode 100644
index eb4deff..0000000
--- a/0001-Revert-damage-Unlink-a-damage-from-the-list-it-was-a.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-From a10192e7c3237a707e9bb712a566e2f14415dddd Mon Sep 17 00:00:00 2001
-From: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date: Sat, 10 Oct 2026 12:53:56 -0700
-Subject: [PATCH xserver 1/3] Revert "damage: Unlink a damage from the list it
- was actually inserted on"
-
-This reverts commit 0fb16f3da03c077f5821f0eeb745384f5472faa5.
-
-I missed that it broke driver ABI when I cherry-picked it from main to the
-server-21.1-branch.   Apologies.
-
-Closes: #1930
-Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2355>
----
- miext/damage/damage.c    | 22 +++++-----------------
- miext/damage/damagestr.h |  6 ------
- 2 files changed, 5 insertions(+), 23 deletions(-)
-
-diff --git a/miext/damage/damage.c b/miext/damage/damage.c
-index f08aa5915..f3ae4ebbc 100644
---- a/miext/damage/damage.c
-+++ b/miext/damage/damage.c
-@@ -1457,7 +1457,6 @@ damageRemoveDamage(DamagePtr * pPrev, DamagePtr pDamage)
-     while (*pPrev) {
-         if (*pPrev == pDamage) {
-             *pPrev = pDamage->pNext;
--            pDamage->pListHead = NULL;
-             return;
-         }
-         pPrev = &(*pPrev)->pNext;
-@@ -1468,16 +1467,6 @@ damageRemoveDamage(DamagePtr * pPrev, DamagePtr pDamage)
- #endif
- }
- 
--/*
-- * Link pDamage onto the list headed by pPrev, remembering that list so that damageRemoveDamage() can later unlink it
-- * from the same place.
-- *
-- * The list a window's damage belongs on is chosen by getDrawableDamageRef() and depends on the window pixmap, which can
-- * change while the damage is registered (Composite redirection, rootless drawing and Present flips all swap it).
-- * Re-deriving the list at removal time can therefore consult a different list than the damage was inserted onto, in
-- * which case the removal silently does nothing and leaves an unregistered -- possibly freed -- damage linked where
-- * damageRegionAppend() will dereference its NULL pDrawable.
-- */
- static void
- damageInsertDamage(DamagePtr * pPrev, DamagePtr pDamage)
- {
-@@ -1492,7 +1481,6 @@ damageInsertDamage(DamagePtr * pPrev, DamagePtr pDamage)
- #endif
-     pDamage->pNext = *pPrev;
-     *pPrev = pDamage;
--    pDamage->pListHead = pPrev;
- }
- 
- static Bool
-@@ -1565,9 +1553,11 @@ damageSetWindowPixmap(WindowPtr pWindow, PixmapPtr pPixmap)
-     damageScrPriv(pScreen);
- 
-     if ((pDamage = damageGetWinPriv(pWindow))) {
-+        PixmapPtr pOldPixmap = (*pScreen->GetWindowPixmap) (pWindow);
-+        DamagePtr *pPrev = getPixmapDamageRef(pOldPixmap);
-+
-         while (pDamage) {
--            if (pDamage->pListHead)
--                damageRemoveDamage(pDamage->pListHead, pDamage);
-+            damageRemoveDamage(pPrev, pDamage);
-             pDamage = pDamage->pNextWin;
-         }
-     }
-@@ -1731,7 +1721,6 @@ DamageCreate(DamageReportFunc damageReport,
-         return 0;
-     pDamage->pNext = 0;
-     pDamage->pNextWin = 0;
--    pDamage->pListHead = NULL;
-     RegionNull(&pDamage->damage);
-     RegionNull(&pDamage->pendingDamage);
- 
-@@ -1834,8 +1823,7 @@ DamageUnregister(DamagePtr pDamage)
- #endif
-     }
-     pDamage->pDrawable = 0;
--    if (pDamage->pListHead)
--        damageRemoveDamage(pDamage->pListHead, pDamage);
-+    damageRemoveDamage(getDrawableDamageRef(pDrawable), pDamage);
- }
- 
- void
-diff --git a/miext/damage/damagestr.h b/miext/damage/damagestr.h
-index 19624192e..0d07872e5 100644
---- a/miext/damage/damagestr.h
-+++ b/miext/damage/damagestr.h
-@@ -35,12 +35,6 @@
- typedef struct _damage {
-     DamagePtr pNext;
-     DamagePtr pNextWin;
--    /*
--     * Head of the pNext list this damage is currently linked on, or NULL if it is not linked on any list.  Recorded at
--     * insertion time so that removal always unlinks from the list the damage actually went onto; see
--     * damageInsertDamage().
--     */
--    DamagePtr *pListHead;
-     RegionRec damage;
- 
-     DamageReportLevel damageLevel;
--- 
-2.56.0
-

diff --git a/0002-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch b/0002-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch
deleted file mode 100644
index 040f2b4..0000000
--- a/0002-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 2f122e9f2ed09f42c6a5e8abaac6f79c1e79ce7b 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 2/3] 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/0003-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch b/0003-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch
deleted file mode 100644
index 982436c..0000000
--- a/0003-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From d0f27afbf893653112bfd91ce19bf943e640fbdb 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 3/3] 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 e2db2b5..949675c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xorg-server-21.1.25.tar.xz) = ccb807df73fa3bd1eacd0558425010cabeb90c11843b2d895166335823107766bbb14ad4ce33943453b81c689a90134b936572304138c290811d76d5e5d93360
+SHA512 (xorg-server-21.1.26.tar.xz) = dbf13bcfc3f6bcc0d2ad201d993003d0f4e583f1eae8e39f9a4c13418ac1ce459ba3f1f79a060b98f6731839048e1962b2f03e6aaf1b03b3fa83bdfc01eddd86

diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec
index 340d50a..8743793 100644
--- a/xorg-x11-server.spec
+++ b/xorg-x11-server.spec
@@ -16,8 +16,8 @@
 
 Summary:    X.Org X11 X server
 Name:       xorg-x11-server
-Version:    21.1.25
-Release:    2%{?dist}
+Version:    21.1.26
+Release:    1%{?dist}
 URL:        http://www.x.org
 # SPDX
 License:    Adobe-Display-PostScript AND BSD-3-Clause AND DEC-3-Clause AND HPND AND HPND-sell-MIT-disclaimer-xserver AND HPND-sell-variant AND ICU AND ISC AND MIT AND MIT-open-group AND NTP AND SGI-B-2.0 AND SMLNJ AND X11 AND X11-distribute-modifications-variant
@@ -41,13 +41,6 @@ Patch1:     0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch
 Patch2:     0001-xf86-dri2-Use-va_gl-as-vdpau_driver-for-Intel-i965-G.patch
 # because the display-managers are not ready yet, do not upstream
 Patch3:     0001-Fedora-hack-Make-the-suid-root-wrapper-always-start-.patch
-# xorg-server-21.1.25 fixups:
-# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2355
-Patch:      0001-Revert-damage-Unlink-a-damage-from-the-list-it-was-a.patch
-# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2352
-Patch:      0002-Xi-avoid-memory-leak-when-hitting-bounds-check-for-b.patch
-# https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2353
-Patch:      0003-Xi-fix-event_id-time-delta-in-generated-barrier-even.patch
 
 
 BuildRequires:  bison
@@ -423,6 +416,12 @@ find %{buildroot} -type f -name '*.la' -delete
 
 
 %changelog
+* Tue Nov 10 2026 Olivier Fourdan <ofourdan@redhat.com> - 21.1.26-1
+- Update to xserver 21.1.26
+  CVE fix for:
+  CVE-2026-109091, CVE-2026-109092, CVE-2026-109093, CVE-2026-109904,
+  CVE-2026-109094, CVE-2026-109095, CVE-2026-109096, CVE-2026-109903
+
 * Thu Oct 15 2026 Olivier Fourdan <ofourdan@redhat.com> - 21.1.25-2
 - xorg-server-21.1.25 fixups (#2548280)
 

                 reply	other threads:[~2026-11-10 15:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179432628358.1.8185266563912345587.rpms-xorg-x11-server-86fef171b9ba@fedoraproject.org \
    --to=ofourdan@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox