drm/radeon: Do not kfree() devres managed rdev
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.58, 6.17.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- 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