Skip to main content
EPSS 0.1%top 96%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: drm/radeon: Do not kfree() devres managed rdev Since the allocation of the… (CVE-2025-68170)

0
Medium
Published: 12/16/2025 (12/16/2025, 14:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

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)

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<6.17.0-1007.7~24.04.1<6.17.0-1008.8~24.04.1<6.17.0-1008.8<6.17.0-1011.11

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 18:24:19 UTC

Technical Analysis

The Linux kernel's drm/radeon driver previously called kfree() on the rdev structure, which is now managed by devres due to a change in allocation to devm_drm_dev_alloc(). This caused a double free scenario when the driver probe failed and devres attempted to clean up the rdev after it was already freed, leading to potential kernel instability. The vulnerability was fixed by removing the kfree() call on the devres managed rdev, preventing use-after-free or double free conditions.

Potential Impact

Exploitation of this vulnerability could lead to kernel crashes or memory corruption, impacting confidentiality, integrity, and availability of the system. The CVSS vector indicates local attack complexity is low, requiring low privileges and no user interaction, with high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix has been implemented in the Linux kernel source to remove the improper kfree() call on the devres managed rdev structure. Users should update to the fixed kernel version containing the commit 16c0681617b8a045773d4d87b6140002fa75b03b. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisory for the exact fixed versions and update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-8rp7-mg54-f432
Osv Schema Version
1.4.0
Aliases
["CVE-2025-68170"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d39c2644c7f8478635

Added to database: 07/30/2026, 15:50:43 UTC

Last enriched: 07/30/2026, 18:24:19 UTC

Last updated: 09/10/2026, 19:36:51 UTC

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses