CVE-2024-39471

drm/amdgpu: add error handle to avoid out-of-bounds

7.8 high EPSS 0.24%

Published 25 Jun 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-39471

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-39471 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9, before 5594971e02764aa1c8210ffb838cb4e7897716e8
affected from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9, before 8112fa72b7f139052843ff484130d6f97e9f052f
affected from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9, before ea906e9ac61e3152bef63597f2d9f4a812fc346a
affected from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9, before 011552f29f20842c9a7a21bffe1f6a2d6457ba46
affected from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9, before 5b0a3dc3e87821acb80e841b464d335aff242691
affected from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9, before 0964c84b93db7fbf74f357c1e20957850e092db3
affected from 7d0e6329dfdcfe48311f8888d6a8dfa73bee00a9, before 8b2faf1a4f3b6c748c0da36cda865a226534d520
Other versions: unaffected
Linux
affected 5.4
unaffected before 5.4
unaffected from 5.4.278 up to and including 5.4.*
unaffected from 5.10.219 up to and including 5.10.*
unaffected from 5.15.161 up to and including 5.15.*
unaffected from 6.1.94 up to and including 6.1.*
unaffected from 6.6.34 up to and including 6.6.*
unaffected from 6.9.5 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-39471 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-39471

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-39471
trivy image --scanners vuln IMAGE | grep CVE-2024-39471

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-39471 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.