CVE-2025-68170
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 8% of CVEs)
Published
Last changed
Assigned by
Linux

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)

Affected

Product or packageVersionsReported by
Linux Linuxfrom a9ed2f052c5c14e4be58c5ec8794dffc87588123 before f7482516002a11317912e29577bbf33cf59a0fb1, from a9ed2f052c5c14e4be58c5ec8794dffc87588123 before 2413bbd1d692aed245c2aa38a369a1fa7590db84, from a9ed2f052c5c14e4be58c5ec8794dffc87588123 before 3328443363a0895fd9c096edfe8ecd372ca9145e, 6.12
Not affected: before 6.12, from 6.12.58 up to 6.12.*, from 6.17.8 up to 6.17.*, from 6.18 up to *
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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)

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/radeon: No llamar a kfree() en rdev gestionado por devres Dado que la asignación de la estructura principal del controlador fue cambiada a devm_drm_dev_alloc(), rdev es gestionado por devres y no deberíamos llamar a kfree() en él. Esto soluciona que las cosas exploten si la sonda del controlador falla y devres limpia el rdev después de que ya lo hayamos liberado. (seleccionado del commit 16c0681617b8a045773d4d87b6140002fa75b03b)

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68170 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-68170 changed 2026-10-15Public domain