Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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)

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.58, 6.17.8
CVEs
CVE-2025-68170
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:48 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 16 Dec 2025, 13:42 UTC

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)

osv:CVE-2025-68170

Kernel

Fixed versions: 6.12.58, 6.17.8

Complete source record
{
  "id": "116a28950119976549f7bcaf2690735bc2741b712ad27882e074e56765520436",
  "url": "https://osv.dev/vulnerability/CVE-2025-68170",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/radeon: Do not kfree() devres managed rdev",
    "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)",
    "evidence": "osv:CVE-2025-68170",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.58",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-68170",
      "aliases": [
        "CVE-2025-68170"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a9ed2f052c5c14e4be58c5ec8794dffc87588123"
                },
                {
                  "fixed": "f7482516002a11317912e29577bbf33cf59a0fb1"
                },
                {
                  "fixed": "2413bbd1d692aed245c2aa38a369a1fa7590db84"
                },
                {
                  "fixed": "3328443363a0895fd9c096edfe8ecd372ca9145e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68170.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.58"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.17.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68170.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.060117976Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2413bbd1d692aed245c2aa38a369a1fa7590db84",
        "https://git.kernel.org/stable/c/3328443363a0895fd9c096edfe8ecd372ca9145e",
        "https://git.kernel.org/stable/c/f7482516002a11317912e29577bbf33cf59a0fb1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68170.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68170",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68170.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68170",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493137,
  "published_at": "2025-12-16T13:42:50.201+00:00"
}