CVE-2025-68170

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

State
Published
Severity
7.8 High
Published
Dec 16, 2025
Updated
Oct 15, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

Description

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)

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a9ed2f052c5c14e4be58c5ec8794dffc87588123 to before f7482516002a11317912e29577bbf33cf59a0fb1Affected
  • a9ed2f052c5c14e4be58c5ec8794dffc87588123 to before 2413bbd1d692aed245c2aa38a369a1fa7590db84Affected
  • a9ed2f052c5c14e4be58c5ec8794dffc87588123 to before 3328443363a0895fd9c096edfe8ecd372ca9145eAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.58 through 6.12.*Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.