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.
[
    {
        "deprecated": false,
        "source": "https://gitlab.freedesktop.org/xorg/xserver@dc7cb45482cea6ccec22d117ca0b489500b4d0a0",
        "digest": {
            "line_hashes": [
                "267731617805114490495547216514443239427",
                "14315890181575023064947126028567932386",
                "286040678712619782059132259308448981314",
                "129450654848775346080593222572971534793",
                "130852732443859772809722479664480139098",
                "324584117687962795799935797823706084271"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "dix/devices.c"
        },
        "id": "CVE-2022-49737-cc2474c6",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "source": "https://gitlab.freedesktop.org/xorg/xserver@dc7cb45482cea6ccec22d117ca0b489500b4d0a0",
        "digest": {
            "function_hash": "114190063313341860203669208748631121578",
            "length": 1106.0
        },
        "target": {
            "function": "AttachDevice",
            "file": "dix/devices.c"
        },
        "id": "CVE-2022-49737-eb876dc2",
        "signature_version": "v1",
        "signature_type": "Function"
    }
]