VDB

CVE-2025-40191

CVE-2025-40191 PUBLISHED

drm/amdkfd: Fix kfd process ref leaking when userptr unmapping

Reported by linux · Published November 12, 2025

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix kfd process ref leaking when userptr unmapping kfd_lookup_process_by_pid hold the kfd process reference to ensure it doesn't get destroyed while sending the segfault event to user space. Calling kfd_lookup_process_by_pid as function parameter leaks the kfd process refcount and miss the NULL pointer check if app process is already destroyed.

EPSS 0.18% · 8.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux60f6112fc9b3ba0eae519f10702c0c13bab45742, 58e6fc2fb94f0f409447e5d46cf6a417b6397fbc

Risk scores

EPSS Score
0.18%
8.1th percentile

Affected products

VendorProductVersions
LinuxLinux2d274bf7099bc5e95fabaa93f23d0eb2977187ad, 2d274bf7099bc5e95fabaa93f23d0eb2977187ad
LinuxLinux6.16, 0, 6.17.4
LinuxLinux6.18, 0, 6.17.4
linuxlinux_kernel6.16, 6.16

Timeline

  • Nov 12, 2025 Coalition ESS Score (4 in total, the first dated here)
  • Nov 12, 2025 CVE Published
  • Nov 13, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (89 in total, the first dated here)
  • Dec 15, 2025 CVE Updated
  • Mar 29, 2026 Distribution Patch (73 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40191
vulnetix vdb fixes CVE-2025-40191

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40191/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›