Skip to main content
VulnerabilityPublished

CVE-2026-139675: Linux kernel · drm/amdgpu: reserve eviction-fence slot at WPTR caller

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-139675

Not known to be exploited : upgrade to 6caf097214b892ef6e033c4a2795297a9633c338 or 5e6b21bce9d939b564e1f1c88a429cfa1fe66d3a when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 6caf097214b892ef6e033c4a2795297a9633c338, 5e6b21bce9d939b564e1f1c88a429cfa1fe66d3a

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to 6caf097214b892ef6e033c4a2795297a9633c338 or 5e6b21bce9d939b564e1f1c88a429cfa1fe66d3a.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 7264bc10c7c657a54603c7fc058bf8e15f18ce12, < 6caf097214b892ef6e033c4a2795297a9633c338
Fixed in
  • 6caf097214b892ef6e033c4a2795297a9633c338
LinuxLinuxAffected
  • ≥ 7264bc10c7c657a54603c7fc058bf8e15f18ce12, < 5e6b21bce9d939b564e1f1c88a429cfa1fe66d3a
Fixed in
  • 5e6b21bce9d939b564e1f1c88a429cfa1fe66d3a
LinuxLinuxAffected
  • =7.3
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: reserve eviction-fence slot at WPTR caller Root cause analysis showed that the previous workaround was fixing the symptom in the wrong layer. Problem: kernel BUG at drivers/dma-buf/dma-resv.c:319! BUG_ON(fobj->num_fences >= fobj->max_fences) Workqueue: events amdgpu_userq_restore_worker - amdgpu_evf_mgr_attach_fence() had been temporarily taught to reserve/add fence bookkeeping internally as a workaround. - This hid the real contract violation and made reservation policy implicit inside a helper. Review clarification: - The helper-side dma_resv_add_fence-related workaround was only an intended proposal sent for review discussion, not the final direction. - Final fix keeps fence-slot reservation explicit in callers and leaves the helper free of policy decisions. Findings from investigation: - drm_exec_prepare_obj() both locks and reserves fence slots. - drm_exec_lock_obj() only locks and does not reserve slots. - Existing attach_fence callers in the GEM/userq restore flows already reserve TTM_NUM_MOVE_FENCES + 1 before adding the bookkeeping eviction fence. - The WPTR mapping path in mes_userq_create_wptr_mapping() used drm_exec_lock_obj() and then called amdgpu_evf_mgr_attach_fence(), so this specific path could add a fence without pre-reserved space. Fix: - Switch the WPTR mapping path to drm_exec_prepare_obj(..., TTM_NUM_MOVE_FENCES + 1), restoring the caller-side reservation contract. - Remove the helper-side reservation workaround from amdgpu_evf_mgr_attach_fence(). Why this is the right layer: - Reservation policy stays explicit at call sites that define how many fences may be added in that execution context. - The helper only performs validate + add_fence when called with a properly prepared reservation object, matching the existing drm_exec model.

References

Community reviews

Loading reviews…