CVE Database›Document archive›CVE-2025-40191

CVE-2025-40191

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

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · November 12, 2025

Updated · June 30, 2026

Description

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified