Read the docs
TI-2026-33603 Aliases CVE-2026-45878GHSA-4753-mhw2-5g7r

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

Priority LOW 35CWE-125Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

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().

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00207 10th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 6.6.128, 6.12.75, 6.18.14 +2Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.5 and later6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0Patch availableCNA
  • Linux VendorLinux Affected 6.5 and later Fixed in 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*6.5 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.14; 6.19 to before 6.19.4VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.5 to before 6.6.128; 6.7 to before 6.12.75; 6.13 to before 6.18.14; 6.19 to before 6.19.4 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0

Red Hat 2 advisories

  • RHSA-2026:57252 Released 2026-08-20 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-687.41.1.el9_8, kernel-64k-debug-devel-matched-5.14.0-687.41.1.el9_8, kernel-64k-devel-5.14.0-687.41.1.el9_8 +12
    • Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-687.41.1.el9_8, kernel-64k-5.14.0-687.41.1.el9_8, kernel-64k-core-5.14.0-687.41.1.el9_8 +28
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-687.41.1.el9_8, libperf-5.14.0-687.41.1.el9_8
    • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-687.41.1.el9_8, kernel-rt-64k-5.14.0-687.41.1.el9_8, kernel-rt-64k-core-5.14.0-687.41.1.el9_8 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-687.41.1.el9_8, kernel-rt-core-5.14.0-687.41.1.el9_8, kernel-rt-debug-5.14.0-687.41.1.el9_8 +9
  • RHSA-2026:57251 Released 2026-08-20 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-211.49.1.el10_2, kernel-64k-debug-devel-matched-6.12.0-211.49.1.el10_2, kernel-64k-devel-6.12.0-211.49.1.el10_2 +12
    • Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-211.49.1.el10_2, kernel-64k-6.12.0-211.49.1.el10_2, kernel-64k-core-6.12.0-211.49.1.el10_2 +29
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-211.49.1.el10_2, libperf-6.12.0-211.49.1.el10_2
    • Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-211.49.1.el10_2, kernel-rt-64k-6.12.0-211.49.1.el10_2, kernel-rt-64k-core-6.12.0-211.49.1.el10_2 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-211.49.1.el10_2, kernel-rt-core-6.12.0-211.49.1.el10_2, kernel-rt-debug-6.12.0-211.49.1.el10_2 +9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:57251
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2026:57252
Red Hat Enterprise Linux BaseOS (v. 10)Fixed RHSA-2026:57251
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2026:57252
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed RHSA-2026:57251
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)Fixed RHSA-2026:57252
Red Hat Enterprise Linux Real Time (v. 10)Fixed RHSA-2026:57251
Red Hat Enterprise Linux Real Time (v. 9)Fixed RHSA-2026:57252
Red Hat Enterprise Linux Real Time for NFV (v. 10)Fixed RHSA-2026:57251
Red Hat Enterprise Linux Real Time for NFV (v. 9)Fixed RHSA-2026:57252
Not affected: 4 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45878
  2. 2026-10-03 Alias added: GHSA-4753-mhw2-5g7r
  3. 2026-10-05 Affected versions changed · Red Hat
  4. 2026-10-16 CISA SSVC decision points changed
  5. 2026-10-19 Weakness changed · CISA ADP
  6. 2026-10-29 Affected versions changed · Red Hat

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources