In the Linux kernel before 6.4.12, amdgpu_cs_wait_all_fences in drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c has a fence use-after-free.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51042.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "6.4.12"
}
],
"source": "DESCRIPTION"
}
]
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-51042.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "100467384982343437407501309252193352733",
"length": 654
},
"id": "CVE-2023-51042-07352cc0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/2e54154b9f27262efd0cb4f903cc7d5ad1fe9628",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c",
"function": "amdgpu_cs_wait_all_fences"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"93982160804134426615874577931437531880",
"17027081893963159863988410382743877342",
"331296637217136298486734984355408535508",
"333792256648284029448828213471483069935",
"302455286245931212542474445344643677861",
"158231287413709177955899574774686592358",
"106521601891733920993366585818100611600",
"110607254048495696587505872736754173905",
"237718554412398131900394605491826661147",
"261724322097904284455809592440778655954",
"186733438593090265378806534932777589883"
],
"threshold": 0.9
},
"id": "CVE-2023-51042-441616e2",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/2e54154b9f27262efd0cb4f903cc7d5ad1fe9628",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
}
}
]
"2026-10-21T08:46:00Z"