---
id: CVE-2026-68258
title: 'drm/amdkfd: Check bounds on CRIU restore queue type and mqd size'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/amdkfd: Check bounds on CRIU restore queue type and mqd size

  We weren't checking whether the values provided in the private
  data in kfd CRIU restore were within bo…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 42c6c48214b726c30918e8dc80e2168607d13ae4 <
    fd1691ec62701c982ea32e749678988c67fd4c21
  - >-
    Linux >= 42c6c48214b726c30918e8dc80e2168607d13ae4 <
    cc10a5839756982504ee8568fc1e1625962ab7f8
  - >-
    Linux >= 42c6c48214b726c30918e8dc80e2168607d13ae4 <
    47ea05f246bebc81c7796f56265cffd812cf0601
  - Linux 5.18
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T15:46:19.338740Z'
published: '2026-08-10'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:53:05.177Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-68258'
references:
  - url: 'https://git.kernel.org/stable/c/fd1691ec62701c982ea32e749678988c67fd4c21'
  - url: 'https://git.kernel.org/stable/c/cc10a5839756982504ee8568fc1e1625962ab7f8'
  - url: 'https://git.kernel.org/stable/c/47ea05f246bebc81c7796f56265cffd812cf0601'
tags:
  - cve.org
epss: 0.00129
epssPercentile: 0.0226
ingestedAt: '2026-10-16T17:24:46.852Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Check bounds on CRIU restore queue type and mqd size

We weren't checking whether the values provided in the private
data in kfd CRIU restore were within bounds.

For queue type, add a KFD_QUEUE_TYPE_MAX and ensure the provided
type is less than it.

For mqd_size, add new function mqd_size_from_queue_type and confirm
that the provided mqd_size matches expectations.

(cherry picked from commit f19d8086f6644083c913d70bfdeee20e1b6f46a5)

## Affected

- `Linux >= 42c6c48214b726c30918e8dc80e2168607d13ae4 < fd1691ec62701c982ea32e749678988c67fd4c21`
- `Linux >= 42c6c48214b726c30918e8dc80e2168607d13ae4 < cc10a5839756982504ee8568fc1e1625962ab7f8`
- `Linux >= 42c6c48214b726c30918e8dc80e2168607d13ae4 < 47ea05f246bebc81c7796f56265cffd812cf0601`
- `Linux 5.18`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
