Skip to main content

Linux Kernel CVE-2026-45878

| EUVDEUVD-2026-32344 HIGH
Out-of-bounds Read (CWE-125)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-4753-mhw2-5g7r
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local shell on AMD GPU host
  2. Delivery
    Open /dev/kfd debug interface
  3. Exploit
    Issue address-watch ioctl with oversized watch_id
  4. Execution
    Trigger out-of-bounds write in watch_points array
  5. Persist
    Corrupt adjacent kernel memory
  6. Impact
    Escalate to kernel privileges or crash system

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local access to a Linux host running an affected kernel (6.5 through unpatched 6.6.x/6.12.x/6.18.x/6.19.x) with the amdkfd driver loaded - i.e., an AMD GPU present and the Kernel Fusion Driver enabled, typical of ROCm/HSA compute deployments. The attacker must be able to open the KFD device (/dev/kfd) and invoke the address-watch debug ioctl with a u32 watch_id value above INT_MAX. CVSS PR:L indicates low-privilege local user access is sufficient; UI:N means no user interaction is required. Exploitation is limited by the need for physical or shell access to the target, the presence of an AMD GPU with amdkfd loaded, and the KFD device node being accessible to the attacker - systems without AMD GPUs or with the amdkfd module unloaded are not exploitable.

Impact

CVSS 7.8 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects local exploitation requiring low privileges and yielding high impact across confidentiality, integrity, and availability - consistent with a kernel-mode out-of-bounds write that could be leveraged for privilege escalation. However, EPSS is extremely low at 0.02% (5th percentile), the CVE is not on CISA KEV, and no public PoC exists, indicating no current widespread exploitation. The real-world prerequisites are narrow: the attacker must have local access to a system running an AMD GPU with the KFD debug interface accessible (typical of ROCm/compute workstations and select servers), so this is a lower-priority kernel patch for typical desktop/server fleets but should be prioritized on AMD compute hosts where untrusted local users have GPU access. No conflicting signals were observed between sources.

Exploit ScenarioDerived

A local unprivileged user on a workstation or compute node with an AMD GPU and the amdkfd debug interface accessible opens /dev/kfd and issues an address-watch ioctl with a crafted watch_id greater than INT_MAX. The kernel performs an undefined left shift and writes past the 4-element pdd->watch_points[] array, corrupting adjacent kernel memory and potentially escalating to root or causing a system panic. No public exploit code is currently available, and the attack requires existing local access to a GPU-enabled host.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 30, 2026

Local privilege escalation potential in the Linux kernel's AMD KFD (Kernel Fusion Driver) debug subsystem allows a local user with GPU access to trigger a buffer overflow in the watch_points array via a crafted watch_id value. The flaw stems from signed/unsigned integer mishandling in kfd_dbg_trap_clear_dev_address_watch(), where userspace-supplied watch_id values exceeding INT_MAX cause undefined bit shifts and out-of-bounds memory access. No public exploit identified at time of analysis, and EPSS scores exploitation probability at only 0.02%.

RemediationAI

Vendor-released patch: upgrade to Linux kernel 6.6.128, 6.12.75, 6.18.14, 6.19.4, or 7.0 (or later within each stable series) as published on git.kernel.org (e.g., https://git.kernel.org/stable/c/2b36c0c1bcbbe15f6cfa9652084b3124c835a150 and the four sibling commits). Distribution users should apply the corresponding vendor kernel updates (RHEL, Ubuntu, SUSE, Debian) once backported. If immediate patching is not possible on AMD GPU compute hosts, a compensating control is to restrict access to the KFD device node (typically /dev/kfd) so only trusted users/groups can open it - this prevents untrusted local users from invoking the vulnerable ioctl path, with the side effect of blocking unprivileged ROCm/HSA compute workloads for those users. Avoid loading the amdkfd module on systems that do not need GPU compute as an additional hardening measure, accepting the trade-off of losing AMD GPU compute functionality.

Affected VersionsENISA

Linux patch: 6.19.4
Linux patch: 6.12.75
Linux e0f85f4690d089cc1a60337decafb1acf7eec45e <5a19302cab5cec7ae7f1a60c619951e6c17d8742
Linux e0f85f4690d089cc1a60337decafb1acf7eec45e <971bf8e61e9b4abaacf9b35eaf76ec222758f9d6
Linux e0f85f4690d089cc1a60337decafb1acf7eec45e <a0d367e13db63a6ed76ee0d0a8c3a58c1fa98488
Linux e0f85f4690d089cc1a60337decafb1acf7eec45e <3c38a0f07aa2bfef2b219b1f045534ad93f85afd
Linux patch: 0
Linux e0f85f4690d089cc1a60337decafb1acf7eec45e <2b36c0c1bcbbe15f6cfa9652084b3124c835a150
Linux 6.5
Linux patch: 6.6.128
Linux patch: 6.18.14
Linux patch: 7.0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c, part of the AMD Kernel Fusion Driver (amdkfd) that supports HSA/ROCm compute workloads on AMD GPUs. The debug address watch facility lets userspace debuggers monitor GPU memory accesses by setting watchpoints indexed by watch_id. The helper kfd_dbg_owns_dev_watch_id() accepted watch_id as a signed int and performed bitwise shifts (e.g., 1 << watch_id) without validating against MAX_WATCH_ADDRESSES (4), so a u32 value above INT_MAX wraps to negative, triggering undefined behavior in C shift semantics and indexing past the fixed-size pdd->watch_points[4] array. This is a classic buffer overflow / out-of-bounds write pattern (CWE-787/CWE-125 family) caused by missing input validation at the syscall boundary, originally introduced in Linux 6.5.

Know when Amd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
May 30, 2026 - 11:22 NVD
7.8 (HIGH)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)
CVE Published
May 27, 2026 - 14:17 nvd
HIGH 7.8

DescriptionCVE.org

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

drm/amdkfd: Fix watch_id bounds checking in debug address watch v2

The address watch clear code receives watch_id as an unsigned value (u32), but some helper functions were using a signed int and checked bits by shifting with watch_id.

If a very large watch_id is passed from userspace, it can be converted to a negative value. This can cause invalid shifts and may access memory outside the watch_points array.

drm/amdkfd: Fix watch_id bounds checking in debug address watch v2

Fix this by checking that watch_id is within MAX_WATCH_ADDRESSES before using it. Also use BIT(watch_id) to test and clear bits safely.

This keeps the behavior unchanged for valid watch IDs and avoids undefined behavior for invalid ones.

Fixes the below: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c:448 kfd_dbg_trap_clear_dev_address_watch() error: buffer overflow 'pdd->watch_points' 4 <= u32max user_rl='0-3,2147483648-u32max' uncapped

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c 433 int kfd_dbg_trap_clear_dev_address_watch(struct kfd_process_device *pdd, 434 uint32_t watch_id) 435 { 436 int r; 437 438 if (!kfd_dbg_owns_dev_watch_id(pdd, watch_id))

kfd_dbg_owns_dev_watch_id() doesn't check for negative values so if watch_id is larger than INT_MAX it leads to a buffer overflow. (Negative shifts are undefined).

439 return -EINVAL; 440 441 if (!pdd->dev->kfd->shared_resources.enable_mes) { 442 r = debug_lock_and_unmap(pdd->dev->dqm); 443 if (r) 444 return r; 445 } 446 447 amdgpu_gfx_off_ctrl(pdd->dev->adev, false); --> 448 pdd->watch_points[watch_id] = pdd->dev->kfd2kgd->clear_address_watch( 449 pdd->dev->adev, 450 watch_id);

v2: (as per, Jonathan Kim)

  • Add early watch_id >= MAX_WATCH_ADDRESSES validation in the set path to

match the clear path.

  • Drop the redundant bounds check in kfd_dbg_owns_dev_watch_id().

Executive ViewAI

Why It Matters

A local privilege escalation vulnerability (CVE-2026-45878, CVSS 7.8) in Linux kernel AMD KFD threatens GPU computing infrastructure by allowing authenticated local users unauthorized system access. Organizations relying on AMD-based GPU platforms for AI/ML, data processing, or analytics face risk to workload isolation and data confidentiality. Patches are available, establishing a clear remediation path.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Amd

View all
CVE-2021-22986 CRITICAL POC
9.8 Mar 31

On BIG-IP versions 16.0.x before 16.0.1.1, 15.1.x before 15.1.2.1, 14.1.x before 14.1.4, 13.1.x before 13.1.3.6, and 12.

CVE-2026-46174 HIGH POC
8.8 May 28

Local privilege escalation and information disclosure in the Linux kernel on AMD Zen2 CPUs allows low-privileged users t

CVE-2020-6103 CRITICAL POC
9.9 Jul 20

An exploitable code execution vulnerability exists in the Shader functionality of AMD Radeon DirectX 11 Driver atidxx64.

CVE-2020-6102 CRITICAL POC
9.9 Jul 20

An exploitable code execution vulnerability exists in the Shader functionality of AMD Radeon DirectX 11 Driver atidxx64.

CVE-2020-6101 CRITICAL POC
9.9 Jul 20

An exploitable code execution vulnerability exists in the Shader functionality of AMD Radeon DirectX 11 Driver atidxx64.

CVE-2020-6100 CRITICAL POC
9.9 Jul 20

An exploitable memory corruption vulnerability exists in AMD atidxx64.dll 26.20.15019.19000 graphics driver. Rated criti

CVE-2018-6546 CRITICAL POC
9.8 Apr 13

plays_service.exe in the plays.tv service before 1.27.7.0, as distributed in AMD driver-installation packages and Gaming

CVE-2021-3653 HIGH POC
8.8 Sep 29

A flaw was found in the KVM's AMD code for supporting SVM nested virtualization. Rated high severity (CVSS 8.8), this vu

CVE-2020-12138 HIGH POC
8.8 Apr 27

AMD ATI atillk64.sys 5.11.9.0 allows low-privileged users to interact directly with physical memory by calling one of se

CVE-2019-5098 HIGH POC
8.6 Dec 05

An exploitable out-of-bounds read vulnerability exists in AMD ATIDXX64.DLL driver, version 26.20.13001.29010. Rated high

CVE-2015-7724 HIGH POC
7.8 Jun 07

AMD fglrx-driver before 15.9 allows local users to gain privileges via a symlink attack. Rated high severity (CVSS 7.8),

CVE-2015-7723 HIGH POC
7.8 Jun 07

AMD fglrx-driver before 15.7 allows local users to gain privileges via a symlink attack. Rated high severity (CVSS 7.8),

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy