Skip to content
Fencer Vulns
high 7.8

CVE-2023-51042 json

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.

published 2024-01-23 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-55769

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux linux_kernel 6.4.12
  • linux Debian 12 6.1.52-1
  • linux Debian 14, Debian 13 6.4.13-1

debian advisories DEBIAN-CVE-2023-51042

  • linux Ubuntu 20.04 LTS 5.4.0-169.187
  • linux Ubuntu 22.04 LTS 5.15.0-91.101
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1116.126
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1051.56
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1120.129
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1048.56
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1048.53
  • linux-ibm Ubuntu 20.04 LTS 5.4.0-1063.68

ubuntu advisories UBUNTU-CVE-2023-51042

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 9 5.14.0-362.24.1.el9_3
  • rv RHEL 9 5.14.0-362.24.1.el9_3
  • perf RHEL 9 5.14.0-362.24.1.el9_3
  • rtla RHEL 9 5.14.0-362.24.1.el9_3
  • bpftool RHEL 9 7.2.0-362.24.1.el9_3
  • libperf RHEL 9 5.14.0-362.24.1.el9_3
  • kernel-rt RHEL 9 5.14.0-362.24.1.el9_3
  • kernel-64k RHEL 9 5.14.0-362.24.1.el9_3

red hat advisories RHSA-2024:1404RHSA-2024:1248RHSA-2024:1018RHSA-2024:1019RHSA-2024:0930RHSA-2024:1614

  • kernel-default SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE Live Patching 15 SP2 +2 more 5.3.18-150200.24.183.1
  • kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.153.2
  • kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.153.1
  • kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.153.2
  • kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.153.2
  • kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.153.2
  • kernel-obs-build SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.153.2
  • kernel-default-base SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 5.3.18-150300.59.153.2.150300.18.90.2

suse advisories SUSE-SU-2024:0926-1SUSE-SU-2024:0857-1SUSE-SU-2024:0856-1SUSE-SU-2024:0516-1SUSE-SU-2024:0515-1SUSE-SU-2024:0514-1

  • kernel AlmaLinux 8 4.18.0-513.24.1.el8_9
  • perf AlmaLinux 8 4.18.0-513.24.1.el8_9
  • bpftool AlmaLinux 8 4.18.0-513.24.1.el8_9
  • kernel-core AlmaLinux 8 4.18.0-513.24.1.el8_9
  • kernel-tools AlmaLinux 8 4.18.0-513.24.1.el8_9
  • python3-perf AlmaLinux 8 4.18.0-513.24.1.el8_9
  • kernel-modules AlmaLinux 8 4.18.0-513.24.1.el8_9
  • kernel-zfcpdump AlmaLinux 8 4.18.0-513.24.1.el8_9

almalinux advisories ALSA-2024:1607

  • kernel Rocky Linux 8 4.18.0-513.24.1.el8_9.cloud.0.1
  • kernel-rt Rocky Linux 8 4.18.0-513.24.1.rt7.326.el8_9
  • kernel Rocky Linux 8 4.18.0-513.24.1.el8_9
  • kernel Rocky Linux 9 5.14.0-362.24.1.el9_3.cloud.0.6

rocky linux advisories RXSA-2024:1607RLSA-2024:1614RLSA-2024:1607RXSA-2024:1248

  • kernel CBL-Mariner 2.0 5.15.148.1-1

azure linux advisories AZL-33967

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-51042 updated cvss 7.8

kernel: use-after-free in amdgpu_cs_wait_all_fences in drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c

  • Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 more
    affected: workaround, no fix available
  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.24.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.24.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.24.1.el8_9
    fixed: vendor fix RHSA-2024:1607
  • Red Hat CodeReady Linux Builder (v. 9) libperf 5.14.0-362.24.1.el9_3, kernel-debuginfo-common-s390x 5.14.0-362.24.1.el9_3, kernel-debuginfo-common-x86_64 5.14.0-362.24.1.el9_3, kernel-debuginfo-common-aarch64 5.14.0-362.24.1.el9_3, kernel-debuginfo-common-ppc64le 5.14.0-362.24.1.el9_3
    fixed: vendor fix RHSA-2024:1248
  • Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.93.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.93.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.93.1.el8_6
    fixed: vendor fix RHSA-2024:0930
  • Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-debuginfo-common-x86_64 4.18.0-477.51.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.51.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.51.1.el8_8
    fixed: vendor fix RHSA-2024:1404
  • Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-debuginfo-common-s390x 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.55.1.el9_2
    fixed: vendor fix RHSA-2024:1018
  • Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-362.24.1.el9_3, perf 5.14.0-362.24.1.el9_3, rtla 5.14.0-362.24.1.el9_3, kernel-devel-matched 5.14.0-362.24.1.el9_3, kernel-64k-devel-matched 5.14.0-362.24.1.el9_3, kernel-debug-devel-matched 5.14.0-362.24.1.el9_3, +6 more
    fixed: vendor fix RHSA-2024:1248
show 16 more
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) perf 5.14.0-284.55.1.el9_2, rtla 5.14.0-284.55.1.el9_2, kernel-devel-matched 5.14.0-284.55.1.el9_2, kernel-64k-devel-matched 5.14.0-284.55.1.el9_2, kernel-debug-devel-matched 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.55.1.el9_2, +5 more
    fixed: vendor fix RHSA-2024:1018
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.24.1.el8_9, kernel 4.18.0-513.24.1.el8_9, bpftool 4.18.0-513.24.1.el8_9, kernel-core 4.18.0-513.24.1.el8_9, kernel-tools 4.18.0-513.24.1.el8_9, python3-perf 4.18.0-513.24.1.el8_9, +15 more
    fixed: vendor fix RHSA-2024:1607
  • Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.2.0-362.24.1.el9_3, kernel 5.14.0-362.24.1.el9_3, kernel-64k 5.14.0-362.24.1.el9_3, kernel-core 5.14.0-362.24.1.el9_3, kernel-tools 5.14.0-362.24.1.el9_3, python3-perf 5.14.0-362.24.1.el9_3, +28 more
    fixed: vendor fix RHSA-2024:1248
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.93.1.el8_6, kernel 4.18.0-372.93.1.el8_6, bpftool 4.18.0-372.93.1.el8_6, kernel-core 4.18.0-372.93.1.el8_6, kernel-tools 4.18.0-372.93.1.el8_6, python3-perf 4.18.0-372.93.1.el8_6, +15 more
    fixed: vendor fix RHSA-2024:0930
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) perf 4.18.0-477.51.1.el8_8, kernel 4.18.0-477.51.1.el8_8, bpftool 4.18.0-477.51.1.el8_8, kernel-core 4.18.0-477.51.1.el8_8, kernel-tools 4.18.0-477.51.1.el8_8, python3-perf 4.18.0-477.51.1.el8_8, +15 more
    fixed: vendor fix RHSA-2024:1404
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool 7.0.0-284.55.1.el9_2, kernel 5.14.0-284.55.1.el9_2, kernel-64k 5.14.0-284.55.1.el9_2, kernel-core 5.14.0-284.55.1.el9_2, kernel-tools 5.14.0-284.55.1.el9_2, python3-perf 5.14.0-284.55.1.el9_2, +28 more
    fixed: vendor fix RHSA-2024:1018
  • Red Hat Enterprise Linux for Real Time (v. 8) kernel-rt 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-core 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-modules 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-debug-core 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-debug-modules 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-modules-extra 4.18.0-513.24.1.rt7.326.el8_9, +2 more
    fixed: vendor fix RHSA-2024:1614
  • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-362.24.1.el9_3, kernel-rt-core 5.14.0-362.24.1.el9_3, kernel-rt-modules 5.14.0-362.24.1.el9_3, kernel-rt-debug-core 5.14.0-362.24.1.el9_3, kernel-rt-modules-core 5.14.0-362.24.1.el9_3, kernel-rt-debug-modules 5.14.0-362.24.1.el9_3, +4 more
    fixed: vendor fix RHSA-2024:1248
  • Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-core 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-modules 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-debug-core 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-modules-core 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-debug-modules 5.14.0-284.55.1.rt14.340.el9_2, +4 more
    fixed: vendor fix RHSA-2024:1019
  • Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-kvm 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-core 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-modules 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-debug-kvm 4.18.0-513.24.1.rt7.326.el8_9, kernel-rt-debug-core 4.18.0-513.24.1.rt7.326.el8_9, +4 more
    fixed: vendor fix RHSA-2024:1614
  • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-362.24.1.el9_3, kernel-rt-kvm 5.14.0-362.24.1.el9_3, kernel-rt-core 5.14.0-362.24.1.el9_3, kernel-rt-modules 5.14.0-362.24.1.el9_3, kernel-rt-debug-kvm 5.14.0-362.24.1.el9_3, kernel-rt-debug-core 5.14.0-362.24.1.el9_3, +6 more
    fixed: vendor fix RHSA-2024:1248
  • Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-kvm 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-core 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-modules 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-debug-kvm 5.14.0-284.55.1.rt14.340.el9_2, kernel-rt-debug-core 5.14.0-284.55.1.rt14.340.el9_2, +6 more
    fixed: vendor fix RHSA-2024:1019
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.93.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.93.1.el8_6
    fixed: vendor fix RHSA-2024:0930
  • Red Hat RHOL 5.7 for RHEL 8 openshift-logging/vector-rhel8 v0.28.1-57, openshift-logging/kibana6-rhel8 v6.8.1-431, openshift-logging/fluentd-rhel8 v1.14.6-215, openshift-logging/eventrouter-rhel8 v0.4.0-248, openshift-logging/logging-loki-rhel8 v2.9.6-15, openshift-logging/loki-rhel8-operator v5.7.13-12, +12 more
    fixed: vendor fix RHSA-2024:2093
  • Red Hat RHOL 5.8 for RHEL 9 openshift-logging/fluentd-rhel9 v5.8.6-5, openshift-logging/vector-rhel9 v0.28.1-56, openshift-logging/eventrouter-rhel9 v0.4.0-247, openshift-logging/logging-loki-rhel9 v2.9.6-14, openshift-logging/loki-rhel9-operator v5.8.6-10, openshift-logging/loki-operator-bundle v5.8.6-24, +11 more
    fixed: vendor fix RHSA-2024:2094
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-doc 5.14.0-284.55.1.el9_2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.