CVE-2025-40289
drm/amdgpu: hide VRAM sysfs attributes on GPUs without VRAM
Check your servers for CVE-2025-40289
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-2025-40289 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: hide VRAM sysfs attributes on GPUs without VRAM
Otherwise accessing them can cause a crash.
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 15.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 2d8a7e0867c9acf7084b08e3f4382967203d4ef2 affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 3d608e67b966c3074c432db626bb23c350c112d7 affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 39a1c8c860e32d775f29917939e87b6a7c08ebb1 affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before a67a9f99ce1306898d7129a199d42876bc06a0f0 affected from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, before 33cc891b56b93cad1a83263eaf2e417436f70c82
Other versions: unaffected
|
| Linux |
affected 4.2 unaffected before 4.2 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.59 up to and including 6.12.* unaffected from 6.17.9 up to and including 6.17.* unaffected 6.18 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-2025-40289 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40289
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-2025-40289
trivy image --scanners vuln IMAGE | grep CVE-2025-40289
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
- https://git.kernel.org/stable/c/2d8a7e0867c9acf7084b08e3f4382967203d4ef2 git.kernel.org
- https://git.kernel.org/stable/c/3d608e67b966c3074c432db626bb23c350c112d7 git.kernel.org
- https://git.kernel.org/stable/c/39a1c8c860e32d775f29917939e87b6a7c08ebb1 git.kernel.org
- https://git.kernel.org/stable/c/a67a9f99ce1306898d7129a199d42876bc06a0f0 git.kernel.org
- https://git.kernel.org/stable/c/33cc891b56b93cad1a83263eaf2e417436f70c82 git.kernel.org
Source: the record CVE-2025-40289 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse