Linux
drm/radeon: Do not kfree() devres managed rdev
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= a9ed2f052c5c14e4be58c5ec8794dffc87588123, < f7482516002a11317912e29577bbf33cf59a0fb1
- >= a9ed2f052c5c14e4be58c5ec8794dffc87588123, < 2413bbd1d692aed245c2aa38a369a1fa7590db84
- >= a9ed2f052c5c14e4be58c5ec8794dffc87588123, < 3328443363a0895fd9c096edfe8ecd372ca9145e
Fixed in f7482516002a11317912e29577bbf33cf59a0fb1, 2413bbd1d692aed245c2aa38a369a1fa7590db84, 3328443363a0895fd9c096edfe8ecd372ca9145e
- 6.12
Fixed in 0, 6.12.58, 6.17.8, 6.18
Mitigation
Upgrade Linux to f7482516002a11317912e29577bbf33cf59a0fb1 or 2413bbd1d692aed245c2aa38a369a1fa7590db84 or 3328443363a0895fd9c096edfe8ecd372ca9145e or later.
Upgrade Linux to 0 or 6.12.58 or 6.17.8 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.