# CVE-2023-53351: drm/sched: Check scheduler work queue before calling timeout handling

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-09-17T14:56:42.006Z
- Modified: 2026-06-17T06:44:58.523Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/sched: Check scheduler work queue before calling timeout handling

During an IGT GPU reset test we see again oops despite of
commit 0c8c901aaaebc9 (drm/sched: Check scheduler ready before calling
timeout handling).

It uses ready condition whether to call drm_sched_fault which unwind
the TDR leads to GPU reset.
However it looks the ready condition is overloaded with other meanings,
for example, for the following stack is related GPU reset :

0  gfx_v9_0_cp_gfx_start
1  gfx_v9_0_cp_gfx_resume
2  gfx_v9_0_cp_resume
3  gfx_v9_0_hw_init
4  gfx_v9_0_resume
5  amdgpu_device_ip_resume_phase2

does the following:
	/* start the ring */
	gfx_v9_0_cp_gfx_start(adev);
	ring->sched.ready = true;

The same approach is for other ASICs as well :
gfx_v8_0_cp_gfx_resume
gfx_v10_0_kiq_resume, etc...

As a result, our GPU reset test causes GPU fault which calls unconditionally gfx_v9_0_fault
and then drm_sched_fault. However now it depends on whether the interrupt service routine
drm_sched_fault is executed after gfx_v9_0_cp_gfx_start is completed which sets the ready
field of the scheduler to true even  for uninitialized schedulers and causes oops vs
no fault or when ISR  drm_sched_fault is completed prior  gfx_v9_0_cp_gfx_start and
NULL pointer dereference does not occur.

Use the field timeout_wq  to prevent oops for uninitialized schedulers.
The field could be initialized by the work queue of resetting the domain.

v1: Corrections to commit message (Luben)

(As written by CVE List.)

## Affected

- Linux Linux: from 11b3b9f461c5c4f700f6c8da202fcc2fd6418e1f before c43a96fc00b662cef1ef0eb22d40441ce2abae8f; from 11b3b9f461c5c4f700f6c8da202fcc2fd6418e1f before 2da5bffe9eaa5819a868e8eaaa11b3fd0f16a691; 6.3 (not affected: before 6.3; from 6.3.4 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 6.3.1 before 6.3.4; 6.3; 6.4

## Every score

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

## References

- <https://git.kernel.org/stable/c/c43a96fc00b662cef1ef0eb22d40441ce2abae8f> (patch)
- <https://git.kernel.org/stable/c/2da5bffe9eaa5819a868e8eaaa11b3fd0f16a691> (patch)

## Sources

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

---

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