CVE-2026-139675

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139676In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: amd: fix amd_sof_acp_remove() teardown ordering Call free_iCVE-2026-139677In the Linux kernel, the following vulnerability has been resolved: kernfs: don't hold kernfs_rwsem across dir_emit() kernfs_fop_readdir()CVE-2026-139678In the Linux kernel, the following vulnerability has been resolved: kernfs: don't hold kernfs_rwsem across notification delivery Recently CVE-2026-139679In the Linux kernel, the following vulnerability has been resolved: md/raid5: reject a per-device size smaller than one chunk Both raid5_rCVE-2026-139687.5Insufficient validation of untrusted input in DevTools in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who convinced a useCVE-2026-139680In the Linux kernel, the following vulnerability has been resolved: md/raid5: setup_conf: Fix null-ptr-def in error handling path For raidCVE-2026-139681In the Linux kernel, the following vulnerability has been resolved: md/raid5: reject raid4/5 arrays with too few disks raid4 and raid5 reqCVE-2026-139682In the Linux kernel, the following vulnerability has been resolved: md/raid5: don't BUG() on an inconsistent reshape state from the superblCVE-2026-1396837.8In the Linux kernel, the following vulnerability has been resolved: md: reject v0.90 arrays with too many devices The v0.90 superblock hasCVE-2026-139684In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix missing wakeup in wait_barrier_nolock Fuzz testing trigCVE-2026-139685In the Linux kernel, the following vulnerability has been resolved: staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers The CVE-2026-139686In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump Commit 58bb50
CVE-2026-139675: Unscored | Vulnix