Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/amdgpu: fix nullptr err of vm_handle_moved

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix nullptr err of vm_handle_moved If a amdgpu_bo_va is fpriv->prt_va, the bo of this one is always NULL. So, such kind of amdgpu_bo_va should be updated separately before amdgpu_vm_handle_moved.

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

Source evidence

drm/amdgpu: fix nullptr err of vm_handle_moved

core-osv · Original source

Published 9 Dec 2025, 04:09 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix nullptr err of vm_handle_moved If a amdgpu_bo_va is fpriv->prt_va, the bo of this one is always NULL. So, such kind of amdgpu_bo_va should be updated separately before amdgpu_vm_handle_moved.

osv:CVE-2025-40339

Kernel

Fixed versions: 6.12.58, 6.17.8

Complete source record
{
  "id": "14cb588a78093574c2a7d2cdac0e6bda6ff49fe09108c3dde57a844ea596f994",
  "url": "https://osv.dev/vulnerability/CVE-2025-40339",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/amdgpu: fix nullptr err of vm_handle_moved",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix nullptr err of vm_handle_moved If a amdgpu_bo_va is fpriv->prt_va, the bo of this one is always NULL. So, such kind of amdgpu_bo_va should be updated separately before amdgpu_vm_handle_moved.",
    "evidence": "osv:CVE-2025-40339",
    "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": "unknown",
    "structured": {
      "id": "CVE-2025-40339",
      "aliases": [
        "CVE-2025-40339"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21"
                },
                {
                  "fixed": "47281febebe337586569aa4c5694a7511063a42e"
                },
                {
                  "fixed": "273d1ea12e42e9babb9783837906f3c466f213d3"
                },
                {
                  "fixed": "859958a7faefe5b7742b7b8cdbc170713d4bf158"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40339.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.2.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-40339.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.857218625Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/273d1ea12e42e9babb9783837906f3c466f213d3",
        "https://git.kernel.org/stable/c/47281febebe337586569aa4c5694a7511063a42e",
        "https://git.kernel.org/stable/c/859958a7faefe5b7742b7b8cdbc170713d4bf158",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40339.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-40339",
        "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/40xxx/CVE-2025-40339.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-40339",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497865,
  "published_at": "2025-12-09T04:09:55.697+00:00"
}