CVE-2025-40191: drm/amdkfd: Fix kfd process ref leaking when userptr unmapping

Published Nov 12, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

kfdlookupprocessbypid hold the kfd process reference to ensure it doesn't get destroyed while sending the segfault event to user space.

Calling kfdlookupprocessbypid as function parameter leaks the kfd process refcount and miss the NULL pointer check if app process is already destroyed.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 12, 2025
CVE Published
via MITRE·09:56 PM
Data Sourced
via MITRE·09:56 PM
Description
Data Sourced
via NVD·10:15 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-40191?

CVE-2025-40191 is categorized with a medium severity level due to a potential denial-of-service risk.

2

How do I fix CVE-2025-40191?

To fix CVE-2025-40191, update your Linux kernel to the latest stable version that includes the patch for this vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2025-40191?

CVE-2025-40191 affects multiple versions of the Linux kernel prior to the fix being applied.

4

Is CVE-2025-40191 exploitable in all Linux distributions?

CVE-2025-40191 is primarily exploitable in Linux distributions that use the affected versions of the Linux kernel.

5

What is the impact of CVE-2025-40191 on system security?

The impact of CVE-2025-40191 includes potential denial-of-service conditions that could disrupt system stability and performance.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203