# CVE-2023-51042: In the Linux kernel before 6.4.12, amdgpucswaitallfences in drivers/gpu/drm/amd/amdgpu/amdgpucs.c has a fence use-after-free.

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2024-01-23T00:00:00.000Z
- Modified: 2026-06-17T06:40:27.053Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: before 6.4.12

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.12> (release-notes)
- <https://github.com/torvalds/linux/commit/2e54154b9f27262efd0cb4f903cc7d5ad1fe9628> (patch)

## Sources

- CVE List: [CVE-2023-51042](https://www.cve.org/CVERecord?id=CVE-2023-51042), CVE Terms of Use, modified 2024-10-03
- NVD: [CVE-2023-51042](https://nvd.nist.gov/vuln/detail/CVE-2023-51042), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-51042 · Whole record: https://cve.day/CVE-2023-51042.json · Rebuilt by cve.day 2026-11-25T22:58:32.221Z
