# CVE-2025-68170: drm/radeon: Do not kfree() devres managed rdev

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-12-16T13:42:50.201Z
- Modified: 2026-10-15T22:19:09.377Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/f7482516002a11317912e29577bbf33cf59a0fb1>
- <https://git.kernel.org/stable/c/2413bbd1d692aed245c2aa38a369a1fa7590db84>
- <https://git.kernel.org/stable/c/3328443363a0895fd9c096edfe8ecd372ca9145e>

## Sources

- CVE List: [CVE-2025-68170](https://www.cve.org/CVERecord?id=CVE-2025-68170), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-68170](https://nvd.nist.gov/vuln/detail/CVE-2025-68170), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-68170 · Whole record: https://cve.day/CVE-2025-68170.json · Rebuilt by cve.day 2026-11-25T22:59:09.476Z
