Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-45853

drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges() amdgpu_discovery_get_nps_info() internally allocates memory for ranges using kvcalloc(), which may use vmalloc() for large allocation. Using kfree() to release vmalloc memory will lead to a memory corruption. Use kvfree() to safely handle both kmalloc and vmalloc allocations. Compile tested only. Issue found using a prototype static analysis tool and code review.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b194d21b9bcc15b50df1bc3ff7428e51c2918a6f to < 16e7e7ad8cdc6b4c4af7f31e262f1494c1b2a55eaffected
  • b194d21b9bcc15b50df1bc3ff7428e51c2918a6f to < 9ae85b0c1909b6c6bfd2636b04cdaf7f520bf2b5affected
  • b194d21b9bcc15b50df1bc3ff7428e51c2918a6f to < f441538893eba6347b983f2904819ca6c99da65eaffected
  • b194d21b9bcc15b50df1bc3ff7428e51c2918a6f to < 0c44d61945c4a80775292d96460aa2f22e62f86caffected

Linux Linux

Default version status: affected

  • 6.11affected
  • 0 to < 6.11unaffected
  • 6.12.75 to ≤ 6.12.*unaffected
  • 6.18.14 to ≤ 6.18.*unaffected
  • 6.19.4 to ≤ 6.19.*unaffected
  • 7.0 to ≤ *unaffected

References