# CVE-2024-39471: drm/amdgpu: add error handle to avoid out-of-bounds

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-06-25T14:28:56.906Z
- Modified: 2026-08-05T11:33:28.594Z
- Weaknesses: CWE-125
- 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/amdgpu: add error handle to avoid out-of-bounds

if the sdma_v4_0_irq_id_to_seq return -EINVAL, the process should
be stop to avoid out-of-bounds read, so directly return -EINVAL.

(As written by CVE List.)

## Affected

- Linux Linux: from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 before 5594971e02764aa1c8210ffb838cb4e7897716e8; from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 before 8112fa72b7f139052843ff484130d6f97e9f052f; from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 before ea906e9ac61e3152bef63597f2d9f4a812fc346a; from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 before 011552f29f20842c9a7a21bffe1f6a2d6457ba46; from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 before 5b0a3dc3e87821acb80e841b464d335aff242691; from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 before 0964c84b93db7fbf74f357c1e20957850e092db3; from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 before 8b2faf1a4f3b6c748c0da36cda865a226534d520; 5.4 (not affected: before 5.4; from 5.4.278 up to 5.4.*; from 5.10.219 up to 5.10.*; from 5.15.161 up to 5.15.*; from 6.1.94 up to 6.1.*; from 6.6.34 up to 6.6.*; from 6.9.5 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 5.4.278; from 5.5 before 5.10.219; from 5.11 before 5.15.161; from 5.16 before 6.1.94; from 6.2 before 6.6.34; from 6.7 before 6.9.5

## Every score

- Linux: 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.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/5594971e02764aa1c8210ffb838cb4e7897716e8> (patch)
- <https://git.kernel.org/stable/c/8112fa72b7f139052843ff484130d6f97e9f052f> (patch)
- <https://git.kernel.org/stable/c/ea906e9ac61e3152bef63597f2d9f4a812fc346a> (patch)
- <https://git.kernel.org/stable/c/011552f29f20842c9a7a21bffe1f6a2d6457ba46> (patch)
- <https://git.kernel.org/stable/c/5b0a3dc3e87821acb80e841b464d335aff242691> (patch)
- <https://git.kernel.org/stable/c/0964c84b93db7fbf74f357c1e20957850e092db3> (patch)
- <https://git.kernel.org/stable/c/8b2faf1a4f3b6c748c0da36cda865a226534d520> (patch)

## Sources

- CVE List: [CVE-2024-39471](https://www.cve.org/CVERecord?id=CVE-2024-39471), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-39471](https://nvd.nist.gov/vuln/detail/CVE-2024-39471), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-39471 · Whole record: https://cve.day/CVE-2024-39471.json · Rebuilt by cve.day 2026-11-25T22:58:42.228Z
