A use-after-free flaw was found in the X.Org X server and Xwayland in miSyncDestroyFence(). A client that sets up multiple fence triggers can trigger a use-after-free function pointer call. An attacker would connect to the X server to set up a fence and await that fence, then a second X connection destroys the fence, causing the use-after-free. This may be used to crash the server, or for privilege escalation if the X server runs as root.
A use-after-free vulnerability in X.Org X server and Xwayland's miSyncDestroyFence() function allows attackers to crash the server or escalate privileges by manipulating fence triggers through multiple client connections. The flaw requires local access to the X server and can be exploited when the server runs with elevated privileges.
تم اكتشاف ثغرة استخدام الذاكرة بعد التحرير في دالة miSyncDestroyFence() في خادم X.Org X و Xwayland. يمكن لمهاجم محلي استغلال هذه الثغرة من خلال إنشاء عدة اتصالات عميل لتعيين وتدمير حواجز المزامنة، مما يؤدي إلى استدعاء مؤشر دالة غير صحيح. قد يؤدي هذا إلى توقف الخادم أو تصعيد الامتيازات إذا كان الخادم يعمل بصلاحيات جذر.
A use-after-free vulnerability in X.Org X server and Xwayland's miSyncDestroyFence() function allows attackers to crash the server or escalate privileges by manipulating fence triggers through multiple client connections. The flaw requires local access to the X server and can be exploited when the server runs with elevated privileges.
Update X.Org X server and Xwayland to patched versions immediately. Restrict local access to X server sockets, disable X11 forwarding if not required, run X server with minimal privileges (non-root), and implement access controls on /tmp/.X11-unix sockets.
قم بتحديث خادم X.Org X و Xwayland إلى الإصدارات المصححة فوراً. قيد الوصول المحلي إلى مقابس خادم X، وعطل إعادة توجيه X11 إذا لم تكن مطلوبة، وقم بتشغيل خادم X بأقل الامتيازات (غير جذر)، وطبق عناصر تحكم في الوصول على مقابس /tmp/.X11-unix.