Shellfeed logo Shellfeed

CVE-2026-72449 · HIGH (CVSS 7.8)

Summary: drm/amdkfd: fix list_del corruption in kfd_criu_resume_svm

Details

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

drm/amdkfd: fix list_del corruption in kfd_criu_resume_svm

The cleanup tail of kfd_criu_resume_svm() walks
svms->criu_svm_metadata_list and kfree()s each struct criu_svm_metadata
without removing it from the list. The list head is left pointing at
freed kmalloc-96 objects.

A second AMDKFD_IOC_CRIU_OP from the same process re-enters: list_empty()
reads the dangling ->next (use-after-free), the loop walks freed entries,
and each is kfree()'d again (double-free). This is reachable by an
unprivileged render-group user via /dev/kfd with no capabilities required.

Add list_del() before the kfree() so the list is properly emptied. The
list_for_each_entry_safe() iterator already caches the next pointer, so
unlinking during the walk is safe.

(cherry picked from commit 6322d278a298e2c1430b9d2697743d3a04b788b1)

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [2a909ae718715b3bac75d945e38dc0a5e4a0f1ba – c8a8d350a273c005a48c64c4519d21b2a51c5ceb]
  • Linux Kernel [5.18.0 – 6.1.178] [6.2.0 – 6.6.145] [6.7.0 – 6.12.97] [6.13.0 – 6.18.40] [6.19.0 – 7.1.5]

References