Bug 2559004 - CVE-2026-93516 xorg-x11-server-Xwayland: xorg-x11-server: Arbitrary code execution via use-after-free in passive grab handling [fedora-all]
Summary: CVE-2026-93516 xorg-x11-server-Xwayland: xorg-x11-server: Arbitrary code exec...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server-Xwayland
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Olivier Fourdan
QA Contact:
URL:
Whiteboard: {"flaws": ["d74b0332-00e5-4c46-b650-d...
Depends On:
Blocks: CVE-2026-93516
TreeView+ depends on / blocked
 
Reported: 2026-10-22 14:06 UTC by Vipul Nair
Modified: 2026-10-22 14:06 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-10-22 14:06:15 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Passive grabs (GrabRec) store raw DeviceIntPtr values for both the
grabbed device and the modifier device without any lifetime management.
When a device is removed via XIRemoveMaster, CloseDevice() frees the
device struct, but leaves dangling pointers in grab->modifierDevice
for any grab that used this device.

Subsequent pointer events trigger CheckPassiveGrab() which dereferences
the dangling modifierDevice pointer for XI grabs (the CORE and XI2 paths
reassign it, but the XI path does not).

This vulnerability was discovered by:
  Anonymous working with TrendAI Zero Day Initiative

ZDI-CAN-31832


Note You need to log in before you can comment on or make changes to this bug.