Read the docs
TI-2023-29069 Aliases CVE-2023-52738GHSA-95mq-4jg4-hpq2

drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini

Priority LOW 25CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-476.

Summary

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini Currently amdgpu calls drm_sched_fini() from the fence driver sw fini routine - such function is expected to be called only after the respective init function - drm_sched_init() - was executed successfully. Happens that we faced a driver probe failure in the Steam Deck recently, and the function drm_sched_fini() was called even without its counter-part had been previously called, causing the following oops: amdgpu: probe of 0000:04:00.0 failed with error -110 BUG: kernel NULL pointer dereference, address: 0000000000000090 PGD 0 P4D 0 Oops: 0002 [#1] PREEMPT SMP NOPTI CPU: 0 PID: 609 Comm: systemd-udevd Not tainted 6.2.0-rc3-gpiccoli #338 Hardware name: Valve Jupiter/Jupiter, BIOS F7A0113 11/04/2022 RIP: 0010:drm_sched_fini+0x84/0xa0 [gpu_sched] [...] Call Trace: <TASK> amdgpu_fence_driver_sw_fini+0xc8/0xd0 [amdgpu] amdgpu_device_fini_sw+0x2b/0x3b0 [amdgpu] amdgpu_driver_release_kms+0x16/0x30 [amdgpu] devm_drm_dev_init_release+0x49/0x70 [...] To prevent that, check if the drm_sched was properly initialized for a given ring before calling its fini counter-part. Notice ideally we'd use sched.ready for that; such field is set as the latest thing on drm_sched_init(). But amdgpu seems to "override" the meaning of such field - in the above oops for example, it was a GFX ring causing the crash, and the sched.ready field was set to true in the ring init routine, regardless of the state of the DRM scheduler. Hence, we ended-up using sched.ops as per Christian's suggestion [0], and also removed the no_scheduler check [1]. [0] https://lore.kernel.org/amd-gfx/[email protected]/ [1] https://lore.kernel.org/amd-gfx/[email protected]/

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00796 56th percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.15, 5.15.94, 6.1.12 +1Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.14.10 to before 5.155.15Patch availableCNA
LinuxLinux5.15 and later5.15.94, 6.1.12, 6.2Patch availableCNA
  • Linux VendorLinux Affected 5.14.10 to before 5.15 Fixed in 5.15 Patch available CNA
  • Linux VendorLinux Affected 5.15 and later Fixed in 5.15.94, 6.1.12, 6.2 Patch available CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*5.14.10 to before 5.15.94; 5.16 – 6.1.12VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*6.2 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*6.2 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*6.2 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*6.2 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:*6.2 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:*6.2 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc7:*:*:*:*:*:*6.2 rc7VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.14.10 to before 5.15.94; 5.16 – 6.1.12 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* Versions 6.2 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* Versions 6.2 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:* Versions 6.2 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:* Versions 6.2 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:* Versions 6.2 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:* Versions 6.2 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc7:*:*:*:*:*:* Versions 6.2 rc7 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.15
  • Fix · CNA Linux (Linux) Fixed in 5.15.94, 6.1.12, 6.2

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Not affected: 1 product
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-52738
  2. 2026-10-03 Alias added: GHSA-95mq-4jg4-hpq2

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources