Red Hat Enterprise Linux
Xorg: xwayland: use-after-free in syncinittrigger()
A use-after-free flaw was found in X.Org and Xwayland. When changing an alarm, the values of the change mask are evaluated one after the other, changing the trigger values as requested, and eventually, SyncInitTrigger() is called. If one of the changes triggers an error, the function will return early, not adding the new sync object, possibly causing a use-after-free when the alarm eventually triggers.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 21.1.16
- >= 22.0.0, < 24.1.6
Fixed in 21.1.16, 24.1.6
Fixed in 0:24.1.5-3.el10_0
Fixed in 0:1.1.0-25.el6_10
Fixed in 0:1.8.0-36.el7_9
Fixed in 0:1.20.4-30.el7_9
Fixed in 0:1.13.1-15.el8_10
Fixed in 0:1.9.0-15.el8_2.13
Fixed in 0:1.11.0-8.el8_4.12
Fixed in 0:1.11.0-8.el8_4.12
Fixed in 0:1.11.0-8.el8_4.12
Fixed in 0:1.12.0-6.el8_6.13
Fixed in 0:1.12.0-6.el8_6.13
Fixed in 0:1.12.0-6.el8_6.13
Fixed in 0:1.12.0-15.el8_8.12
Fixed in 0:1.14.1-1.el9_5.1
Fixed in 0:1.20.11-28.el9_6
Fixed in 0:23.2.7-3.el9_6
Fixed in 0:1.11.0-22.el9_0.13
Fixed in 0:1.12.0-14.el9_2.10
Fixed in 0:1.13.1-8.el9_4.5
Mitigation
Upgrade the affected product to 21.1.16 or 24.1.6 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:24.1.5-3.el10_0 or later.
Upgrade Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION to 0:1.1.0-25.el6_10 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.8.0-36.el7_9 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.20.4-30.el7_9 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:1.13.1-15.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 0:1.9.0-15.el8_2.13 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.11.0-8.el8_4.12 or later.
Upgrade Red Hat Enterprise Linux 8.4 Telecommunications Update Service to 0:1.11.0-8.el8_4.12 or later.
Upgrade Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions to 0:1.11.0-8.el8_4.12 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.12.0-6.el8_6.13 or later.
Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 0:1.12.0-6.el8_6.13 or later.
Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 0:1.12.0-6.el8_6.13 or later.
Upgrade Red Hat Enterprise Linux 8.8 Extended Update Support to 0:1.12.0-15.el8_8.12 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.14.1-1.el9_5.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.20.11-28.el9_6 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:23.2.7-3.el9_6 or later.
Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:1.11.0-22.el9_0.13 or later.
Upgrade Red Hat Enterprise Linux 9.2 Extended Update Support to 0:1.12.0-14.el9_2.10 or later.
Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:1.13.1-8.el9_4.5 or later.
Workaround
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
- Vendor advisory access.redhat.com/errata/RHSA-2025:2500
- Vendor advisory access.redhat.com/errata/RHSA-2025:2502
- Vendor advisory access.redhat.com/errata/RHSA-2025:2861
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2025:2862
- Vendor advisory access.redhat.com/errata/RHSA-2025:2865
- Vendor advisory access.redhat.com/errata/RHSA-2025:2866
- Vendor advisory access.redhat.com/errata/RHSA-2025:2873
- Vendor advisory access.redhat.com/errata/RHSA-2025:2874
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.