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