Skip to main content
← All vulnerabilities
CVE-2025-68170

drm/radeon: Do not kfree() devres managed rdev

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.58, 6.17.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

In the Linux kernel, the following vulnerability has been resolved: drm/radeon: Do not kfree() devres managed rdev Since the allocation of the drivers main structure was changed to devm_drm_dev_alloc() rdev is managed by devres and we shouldn't be calling kfree() on it. This fixes things exploding if the driver probe fails and devres cleans up the rdev after we already free'd it. (cherry picked from commit 16c0681617b8a045773d4d87b6140002fa75b03b)

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From a9ed2f052c5c14e4be58c5ec8794dffc87588123 · fixed in f7482516002a11317912e29577bbf33cf59a0fb1; From a9ed2f052c5c14e4be58c5ec8794dffc87588123 · fixed in 2413bbd1d692aed245c2aa38a369a1fa7590db84; From a9ed2f052c5c14e4be58c5ec8794dffc87588123 · fixed in 3328443363a0895fd9c096edfe8ecd372ca9145e

  • Linux Linux

    6.12

  • KernelLinux

    From 6.12.0 · fixed in 6.12.58; From 6.13.0 · fixed in 6.17.8

References 3

git.kernel.org