cvelo
P4 · InfoEPSS 0.2%

drm/amdgpu: serialize vblank counter reads against GPU reset

  • CVE-2026-99090
  • GHSA-3hrf-vpmj-gj4m
  • EUVD-2026-109896

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: serialize vblank counter reads against GPU reset The vblank counter callback reads display registers and scanout position without holding reset_domain->sem. During GPU recovery, display commit work can call the callback while reset owns the semaphore for writing. The hardware access then triggers the lockdep_assert_held() in amdgpu_device_skip_hw_access() and sets TAINT_WARN when lockdep is enabled. Try to acquire the reset semaphore for reading before accessing the hardware, and hold it across the counter and scanout-position reads. If reset is already in progress, return DRM's cached software vblank count instead. This avoids blocking behind reset and avoids accessing display hardware while it is being reset. The cached count is less accurate than the hardware count, but is used only when reset prevents a safe hardware read. This addresses the reset-time warning from this vblank path; it does not suppress or fix unrelated lockdep warnings. (cherry picked from commit 51a4359f7431a4be5e42803c8bdaf7e0e5be2934)

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    4.2none stated
    before 4.2: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.160 up to 6.6.*: not affectednone stated
    from 6.12.113 up to 6.12.*: not affectednone stated
    from 6.18.57 up to 6.18.*: not affectednone stated
    from 7.2.11 up to 7.2.*: not affectednone stated
    from 7.3 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.