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

drm/amdkfd: validate SVM ioctl nattr against buffer size

Validate nattr field against the buffer size, preventing
out-of-bounds buffer access via user-controlled attribute count.

(cherry picked from commit 5eca8bfdfa456c3304ca77523718fe24254c172f)
Published: 2026-05-28
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in the Linux kernel’s AMD KFD driver involves an unchecked nattr field sent through the SVM ioctl, allowing a user‑controlled attribute count that is not validated against the size of the referenced buffer. This omission permits out‑of‑bounds buffer access that can lead to memory corruption or data leakage, and may cause a kernel crash, but the CVE entry does not confirm privilege escalation. The patch commits a check that ensures the attribute count does not exceed the buffer limits.

Affected Systems

The vulnerability is present in all Linux kernel releases that include the amdkfd driver before the patch commit 5eca8bfdfa456c3304ca77523718fe24254c172f. Because the CVE does not list specific kernel versions, any distribution kernel that ships an unpatched amdkfd driver is potentially affected. Users should verify whether their kernel configuration includes the referenced commit.

Risk and Exploitability

Exploitation requires the ability to invoke the SVM ioctl through /dev/kfd, which is typically available to privileged users or those explicitly granted access. The EPSS score of 0.00013 indicates a very low probability of exploitation at this time, and the vulnerability is not listed in CISA’s KEV catalog. The CVSS score of 7.8 indicates a high severity. The risk is primarily local and limited to systems that provide unfiltered access to /dev/kfd; administrators should apply the patch promptly to mitigate the risk.

Generated by OpenCVE AI on June 10, 2026 at 18:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch committing 5eca8bfdfa456c3304ca77523718fe24254c172f
  • If an immediate kernel upgrade is not possible, disable or restrict access to the /dev/kfd device for non‑privileged users until the patch is applied
  • Verify that the kernel configuration does not expose the amdkfd driver to untrusted users and consider using mandatory access control or device cgroup limits to further restrict ioctl usage

Generated by OpenCVE AI on June 10, 2026 at 18:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*

Mon, 01 Jun 2026 17:00:00 +0000


Sat, 30 May 2026 11:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 29 May 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Fri, 29 May 2026 00:15:00 +0000


Thu, 28 May 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: validate SVM ioctl nattr against buffer size Validate nattr field against the buffer size, preventing out-of-bounds buffer access via user-controlled attribute count. (cherry picked from commit 5eca8bfdfa456c3304ca77523718fe24254c172f)
Title drm/amdkfd: validate SVM ioctl nattr against buffer size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T18:01:58.427Z

Reserved: 2026-05-13T15:03:33.104Z

Link: CVE-2026-46197

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-28T10:16:35.360

Modified: 2026-06-10T16:59:29.513

Link: CVE-2026-46197

cve-icon Redhat

Severity :

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46197 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T19:00:07Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-787

    Out-of-bounds Write