CVE-2022-49737 Details
Description
In X.Org X server 20.11 through 21.1.16, when a client application uses easystroke for mouse gestures, the main thread modifies various data structures used by the input thread without acquiring a lock, aka a race condition. In particular, AttachDevice in dix/devices.c does not acquire an input lock.
A race condition vulnerability has been identified in X.Org X Server versions 20.11 through 21.1.16. When a client application utilizes Easystroke for mouse gestures, the main thread can modify data structures used by the input thread without proper synchronization, creating a potential for data corruption. This issue arises because the AttachDevice function in dix/devices.c fails to acquire an input lock, allowing concurrent threads to interfere with each other. The vulnerability can lead to segmentation faults and application crashes, particularly when the system is under heavy load and Easystroke is used to scroll pages quickly.
Users can upgrade to X.Org X Server version 2:21.1.16-1.1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 16, 2025CISA-ADP
Assessed Mar 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081338 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1081338;filename=dix-Hold-input-lock-for-AttachDevice.patch;msg=5 | [email protected] | Source CodeTechnical Description |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081338 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://gitlab.freedesktop.org/xorg/xserver/-/commit/dc7cb45482cea6ccec22d117ca0b489500b4d0a0 | [email protected] | Broken LinkSource CodeVendor |
| https://gitlab.freedesktop.org/xorg/xserver/-/issues/1260 | [email protected] | Broken LinkIssue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-413 | Improper Resource Locking | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| X.Org X server | >= 2:21.1.7-3+deb12u7, < 2:21.1.16-1.1 |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 17, 2025 | CVE Modified | CISA-ADP |
| Mar 16, 2025 | New CVE Received | [email protected] |
Volerion