CVE-2025-68170
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68170 is a use-after-free vulnerability in the Linux kernel's drm/radeon driver caused by incorrectly calling kfree() on a devres-managed structure. When the driver's allocation of its main structure (rdev) was changed to use devm_drm_dev_alloc(), the memory became managed by the device resource (devres) framework; a subsequent explicit kfree() call on probe failure results in a double-free condition when devres later attempts its own cleanup. The vulnerability was published on December 16, 2025, and affects Linux kernel versions from commit a9ed2f052c5c up to the patched commits in stable branches. No CVSS score has been assigned at this time (Feedly, EUVD).

Technical details

The root cause is a double-free / use-after-free memory management error (CWE-415/CWE-416) in the drm/radeon kernel driver. After the driver's main structure rdev was allocated via devm_drm_dev_alloc(), it became owned by the devres framework, which automatically frees it on device detach or probe failure. However, an explicit kfree(rdev) call remained in the probe failure path, freeing the memory prematurely; devres then attempts to free the same memory again, causing kernel instability or a crash. The fix, cherry-picked from upstream commit 16c0681617b8a045773d4d87b6140002fa75b03b, removes the erroneous kfree() call (Feedly, Linux Stable).

Impact

Exploitation of this vulnerability can cause a kernel crash (system panic or oops) on systems using the Radeon DRM driver, resulting in a denial of service. The double-free condition occurs during driver probe failure, meaning it is most likely triggered during hardware initialization or hot-plug events involving AMD Radeon GPUs. There is no evidence of confidentiality or integrity impact beyond system availability, and lateral movement potential is limited given the local/kernel-level nature of the bug (Feedly).

Mitigation and workarounds

The Linux kernel stable trees have been patched with fixes backported to multiple stable branches. Patched commits include f7482516002a (one stable branch), 2413bbd1d692 (another branch), and 3328443363a0 (a third branch), with patch versions noted as 6.12.58 and 6.17.8 (Feedly, Linux Stable). Users should update to a patched kernel version (≥6.12.58 for the 6.12 stable series, or ≥6.17.8 for the 6.17 series). As a workaround, systems without AMD Radeon GPUs are not affected; disabling or blacklisting the radeon kernel module (modprobe.blacklist=radeon) can mitigate exposure on systems that do not require the driver.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management