roccatreportevent in drivers/hid/hid-roccat.c in the Linux kernel through 5.19.12 has a race condition and resultant use-after-free in certain situations where a report is received while copying a report->value is in progress.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-41850.json"
[
{
"signature_type": "Function",
"id": "CVE-2022-41850-b8b6b6c6",
"target": {
"function": "roccat_report_event",
"file": "drivers/hid/hid-roccat.c"
},
"digest": {
"length": 593.0,
"function_hash": "133353309586860832807534228530318618944"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@cacdb14b1c8d3804a3a7d31773bc7569837b71a4"
},
{
"signature_type": "Line",
"id": "CVE-2022-41850-fdd17e40",
"target": {
"file": "drivers/hid/hid-roccat.c"
},
"digest": {
"line_hashes": [
"137109183416454103221196594181886633511",
"75092753821539046392981619374252664996",
"244926449625108465135452551102632953686",
"150590361887190812038025004659608045205",
"286195148331976910118489418614914268642",
"337448743044986504214647432043901955076"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@cacdb14b1c8d3804a3a7d31773bc7569837b71a4"
}
]