CVE-2022-50619

drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()

N/A
Published: December 8, 2025 at 01:16 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr() If the number of pages from the userptr BO differs from the SG BO then the allocated memory for the SG table doesn't get freed before returning -EINVAL, which may lead to a memory leak in some error paths. Fix this by checking the number of pages before allocating memory for the SG table.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.14 ≤ v < 5.15.775.14 ≤ v < 6.0.75.14 ≤ v < 6.1264fb4d332f5e76743818480e482464437837c525.14
Vendor states this is fixed in 304a10161696d86300ceab1cbe72b2d74b8cdd94 (fixed)
Vendor states this is fixed in 90bfee142af0f0e9d3bec80e7acd5f49b230acf7 (fixed)
Vendor states this is fixed in c6dc4c9ba093829ebe1450d5fb101da6fb7a2a58 (fixed)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.77 (unaffected)
Vendor states this is fixed in 6.0.7 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card