CVE-2024-39471
published high CVSS 3.1 · 7.8drm/amdgpu: add error handle to avoid out-of-bounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 5594971e02764aa1c8210ffb838cb4e7897716e8 · 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 8112fa72b7f139052843ff484130d6f97e9f052f · 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < ea906e9ac61e3152bef63597f2d9f4a812fc346a · 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 011552f29f20842c9a7a21bffe1f6a2d6457ba46 · 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 5b0a3dc3e87821acb80e841b464d335aff242691 · 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 0964c84b93db7fbf74f357c1e20957850e092db3 · 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 8b2faf1a4f3b6c748c0da36cda865a226534d520 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.4.278 through 5.4.* (unaffected · semver) · 5.10.219 through 5.10.* (unaffected · semver) · 5.15.161 through 5.15.* (unaffected · semver) · 6.1.94 through 6.1.* (unaffected · semver) · 6.6.34 through 6.6.* (unaffected · semver) · 6.9.5 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| Debian | bullseye | linux | Advisory build | 5.10.221-1 | DSA-5730-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7 | ELSA-2024-12585 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7 | ELSA-2024-12585 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8 | ELSA-2024-12584 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8 | ELSA-2024-12584 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The amdgpu SDMA trap interrupt handler is only reachable on a machine with a local AMD GPU, driven through the DRM device/render nodes (`/dev/dri/renderD*`) and the GPU interrupt ring. There is no network or adjacent-network path to this code. AC:L - The out-of-bounds index is fully deterministic — once an interrupt vector with an unmatched SDMA client ID is processed, `-EINVAL` is used as the array index every time, with no race window, no memory-layout guessing, and no state the attacker must wait for. A local user with render-node access can keep the SDMA engines and their trap/error interrupts firing continuously to reach the handler repeatedly. PR:L - Exercising SDMA queues and provoking trap interrupts only requires opening the unprivileged DRM render node, which is group-readable to ordinary logged-in users on desktops, Android devices, and GPU cloud/container instances. No CAP_SYS_ADMIN or root in the initial namespace is needed. UI:N - The interrupt handler runs asynchronously from GPU activity the attacker's own process generates; no victim must open a file, mount anything, or take any action. S:U - The corruption is confined to kernel memory within the same security authority as the host kernel; no VM, IOMMU, or sandbox boundary is crossed. C:H - `adev->sdma.instance[0xFFFFFFEA]` is an unbounded out-of-bounds read many gigabytes beyond the array, and `amdgpu_fence_process()` then dereferences the resulting `struct amdgpu_ring`, reading `fence_drv.last_seq`, `sync_seq`, `num_fences_mask`, `adev`, and the `fences[]` pointer array from that location — arbitrary kernel memory read, not a bounded few-byte overread. I:H - The wild pointer is not merely read: `amdgpu_fence_process()` performs `atomic_cmpxchg()` on `drv->last_seq`, `timer_delete()` on `fence_drv.fallback_timer`, `RCU_INIT_POINTER(*ptr, NULL)` stores into `drv->fences[]`, and `dma_fence_put()` (a refcount decrement plus potential release callback) on the garbage pointer — out-of-bounds writes and a refcount-decrement primitive that are the classic building blocks for control-flow hijacking. A:H - Dereferencing a pointer several terabytes out of range in hard-interrupt context faults on unmapped kernel memory, producing an oops/panic that cannot be recovered from in IRQ context, and the corrupting writes and bogus `dma_fence_put()` release paths add further crash modes.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 5594971e02764aa1c8210ffb838cb4e7897716e8 (affected · git)7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 8112fa72b7f139052843ff484130d6f97e9f052f (affected · git)7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < ea906e9ac61e3152bef63597f2d9f4a812fc346a (affected · git)7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 011552f29f20842c9a7a21bffe1f6a2d6457ba46 (affected · git)7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 5b0a3dc3e87821acb80e841b464d335aff242691 (affected · git)7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 0964c84b93db7fbf74f357c1e20957850e092db3 (affected · git)7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9 to < 8b2faf1a4f3b6c748c0da36cda865a226534d520 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.4 (affected)0 to < 5.4 (unaffected · semver)5.4.278 through 5.4.* (unaffected · semver)5.10.219 through 5.10.* (unaffected · semver)5.15.161 through 5.15.* (unaffected · semver)6.1.94 through 6.1.* (unaffected · semver)6.6.34 through 6.6.* (unaffected · semver)6.9.5 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/011552f29f20842c9a7a21bffe1f6a2d6457ba46
- https://git.kernel.org/stable/c/0964c84b93db7fbf74f357c1e20957850e092db3
- https://git.kernel.org/stable/c/5594971e02764aa1c8210ffb838cb4e7897716e8
- https://git.kernel.org/stable/c/5b0a3dc3e87821acb80e841b464d335aff242691
- https://git.kernel.org/stable/c/8112fa72b7f139052843ff484130d6f97e9f052f
- https://git.kernel.org/stable/c/8b2faf1a4f3b6c748c0da36cda865a226534d520
- https://git.kernel.org/stable/c/ea906e9ac61e3152bef63597f2d9f4a812fc346a
Provider assertions
3Linux · cna
drm/amdgpu: add error handle to avoid out-of-bounds
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c09430a55acb09265f36bdca7db5427671242e9ae36f1a41e2fae5f0dc75a79
- Ingested
- 23 Sep 2026, 08:25:18 UTC
- Source record
- Official CVE record