CVE-2025-37951
Linux Kernel vulnerability analysis and mitigation

Overview

A memory leak vulnerability (CVE-2025-37951) was discovered in the Linux kernel's DRM V3D driver, disclosed on May 20, 2025. The vulnerability affects the handling of CL/CSD jobs in the GPU timeout mechanism (NVD, Wiz).

Technical details

The vulnerability occurs when handling GPU job timeouts in the DRM V3D driver. When timedoutjob() is called, it removes the job from the pending list. If the GPU shows progress since the last timeout, the reset is skipped and the timer is rearmed, but the job isn't properly returned to the pending list. This implementation flaw prevents the job from being automatically freed through freejob() when it completes. The vulnerability has received a CVSS 3.1 score of 7.0 with the vector string AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat).

Impact

The primary impact of this vulnerability is a memory leak in the Linux kernel. When affected jobs complete after a timeout, they aren't properly freed, leading to gradual memory consumption that could potentially impact system stability over time (Wiz).

Mitigation and workarounds

The vulnerability has been resolved by ensuring that jobs are properly added back to the pending list when the reset is skipped. This fix is similar to the approach taken in commit 704d3d60fec4 for the Etnaviv driver. The fix has been included in Linux kernel version 6.1.140-1 for Debian systems (Debian).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • kernel-firmware
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management