CVE-2026-45878: Out-of-bounds write in Linux kernel AMD KFD debug address watch
- Vendor
- Linux
CVE-2026-45878 is a bounds-checking vulnerability in the Linux kernel drm/amdkfd debug address-watch functionality. The address-watch clear interface accepts watch_id as an unsigned 32-bit integer, while helper functions handle it as a signed int. Values larger than INT_MAX can become negative in helper logic, bypassing validation and causing undefined bit shifts. The unchecked identifier is subsequently used as an array index in kfd_dbg_trap_clear_dev_address_watch(), potentially writing outside the process-device watch_points array. The fix validates identifiers against MAX_WATCH_ADDRESSES in both set and clear paths before use and uses BIT(watch_id) for bit operations.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A crafted userspace watch identifier can trigger undefined bit-shift behavior and an out-of-bounds write in kernel memory. The established consequence is a potential buffer overflow and memory corruption; specific confidentiality losses, privilege escalation, code execution, or service-disruption outcomes are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched kernels can be deployed, restrict local access to systems with AMD GPUs using the KFD driver and limit access to GPU debugging and compute workloads to trusted users. Disable or avoid exposing the affected AMD KFD functionality where operationally feasible.
Remediation
Patch, then assume compromise.
Install a kernel update containing the upstream watch_id bounds-checking fix and reboot into the updated kernel. The patch rejects watch_id values greater than or equal to MAX_WATCH_ADDRESSES before use in both set and clear paths and uses BIT(watch_id) for testing and clearing bits. Red Hat Enterprise Linux 9 and 10 fixes are available through RHSA-2026:57252 and RHSA-2026:57251, respectively. Listed SUSE fixed kernel-default versions include 6.4.0-47.1 for SUSE Linux Micro 6.0 and 6.1, 6.4.0-150700.53.60.1 for applicable SUSE Linux Enterprise 15 SP7 products, and 6.4.0-150600.23.118.1 for the listed SUSE Linux Enterprise 15 SP6 products.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-45878 exploited in the wild?
- As of Oct 24, 2026, Mallory has no reports of CVE-2026-45878 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-45878?
- As of Oct 24, 2026, Mallory has found no public exploit for CVE-2026-45878.
- Is there a patch for CVE-2026-45878?
- Install a kernel update containing the upstream watch_id bounds-checking fix and reboot into the updated kernel. The patch rejects watch_id values greater than or equal to MAX_WATCH_ADDRESSES before use in both set and clear paths and uses BIT(watch_id) for testing and clearing bits.
- What products are affected by CVE-2026-45878?
- Linux Kernel.
- How severe is CVE-2026-45878?
- CVE-2026-45878 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.19% (5th percentile) as of Oct 24, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.