Files
xserver/dix
Olivier Fourdan 6e0f332ba4 dix: Dequeue pending events on frozen device on removal
When a device is removed while still frozen, the events queued for that
device remain while the device itself is freed.

As a result, replaying the events will cause a use after free.

To avoid the issue, make sure to dequeue and free any pending events on
a frozen device when removed.

CVE-2025-26600, ZDI-CAN-25871

This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1828>
2025-02-25 11:43:01 +01:00
..
2020-07-05 13:07:33 -07:00
2025-02-17 18:13:33 +00:00
2025-02-11 19:13:01 +01:00
2025-02-24 20:19:55 +00:00
2025-02-24 20:19:55 +00:00
2024-04-15 23:10:31 +00:00
2025-02-11 19:13:01 +01:00
2025-02-25 11:43:01 +01:00
2025-02-11 19:13:01 +01:00
2024-03-05 16:57:52 +01:00
2013-07-23 23:56:58 +01:00
2025-02-17 19:25:14 +00:00