CVE-2025-37951

drm/v3d: Add job to pending list if the reset was skipped

No CVSS score yet EPSS 0.19%

Published 20 May 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-37951

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-37951 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/v3d: Add job to pending list if the reset was skipped

When a CL/CSD job times out, we check if the GPU has made any progress since the last timeout. If so, instead of resetting the hardware, we skip the reset and let the timer get rearmed. This gives long-running jobs a chance to complete.

However, when `timedout_job()` is called, the job in question is removed from the pending list, which means it won't be automatically freed through `free_job()`. Consequently, when we skip the reset and keep the job running, the job won't be freed when it finally completes.

This situation leads to a memory leak, as exposed in [1] and [2].

Similarly to commit 704d3d60fec4 ("drm/etnaviv: don't block scheduler when GPU is still active"), this patch ensures the job is put back on the pending list when extending the timeout.

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 57692c94dcbe99a1e0444409a3da13fb3443562c, before 5235b56b7e5449d990d21d78723b1a5e7bb5738e
affected from 57692c94dcbe99a1e0444409a3da13fb3443562c, before 12125f7d9c15e6d8ac91d10373b2db2f17dcf767
affected from 57692c94dcbe99a1e0444409a3da13fb3443562c, before a5f162727b91e480656da1876247a91f651f76de
affected from 57692c94dcbe99a1e0444409a3da13fb3443562c, before 422a8b10ba42097a704d6909ada2956f880246f2
affected from 57692c94dcbe99a1e0444409a3da13fb3443562c, before 35e4079bf1a2570abffce6ababa631afcf8ea0e5
Other versions: unaffected
Linux
affected 4.18
unaffected before 4.18
unaffected from 6.1.139 up to and including 6.1.*
unaffected from 6.6.91 up to and including 6.6.*
unaffected from 6.12.29 up to and including 6.12.*
unaffected from 6.14.7 up to and including 6.14.*
unaffected 6.15 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-37951 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37951

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-37951
trivy image --scanners vuln IMAGE | grep CVE-2025-37951

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-2025-37951 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.