Skip to main content

Linux Kernel CVE-2026-52965

| EUVDEUVD-2026-38833 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-06-24 Linux GHSA-5f8v-5qr6-fhhp
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
4.7 MEDIUM

AC:H reflects the requirement for both TTM driver presence and a swapout failure condition; no confidentiality or integrity impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
5.5 LOW
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 22, 2026 - 20:55 vuln.today
CVSS changed
Jul 14, 2026 - 20:22 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:28 nvd
MEDIUM 5.5
CVE Published
Jun 24, 2026 - 16:28 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

drm/ttm: Fix ttm_bo_swapout() infinite LRU walk on swapout failure

When ttm_tt_swapout() fails, the current code calls ttm_resource_add_bulk_move() followed by ttm_resource_move_to_lru_tail() to restore the resource's bulk_move membership.

However, ttm_resource_move_to_lru_tail() places the resource at the tail of the LRU list which, relative to the walk cursor's hitch node (placed immediately after the resource when it was yielded), puts the resource *in front of the* the hitch. The next list_for_each_entry_continue() from the hitch finds the same resource again, causing an infinite loop.

Fix by deferring del_bulk_move to the success path only.

On the success path, TTM_TT_FLAG_SWAPPED has just been set by ttm_tt_swapout() but the resource is still tracked in the bulk_move range, so ttm_resource_del_bulk_move()'s !ttm_resource_unevictable() guard would incorrectly skip the removal. Introduce ttm_resource_del_bulk_move_unevictable() which bypasses that guard.

AnalysisAI

An infinite loop condition in the Linux kernel's DRM/TTM GPU memory management subsystem allows a local unprivileged user to cause a system-level denial of service. When ttm_bo_swapout() encounters a swapout failure, the error recovery path incorrectly repositions the buffer object at the tail of the LRU list - placing it ahead of the walk cursor's hitch node - so the subsequent list_for_each_entry_continue() repeatedly processes the same resource indefinitely, hanging the kernel's memory reclaim path. No public exploit has been identified and EPSS probability is 0.17% (6th percentile), but the stable kernel patch is confirmed available via two upstream commits.

Technical ContextAI

TTM (Translation Table Manager) is the GPU video memory management layer within the Linux DRM (Direct Rendering Manager) framework, used by drivers such as amdgpu, nouveau, and vmwgfx. The vulnerability resides in ttm_bo_swapout(), the function responsible for evicting GPU buffer objects to system swap under memory pressure. The root cause is CWE-835 (Loop with Unreachable Exit Condition): when TTM swapout fails, ttm_resource_add_bulk_move() and ttm_resource_move_to_lru_tail() are called to restore bulk_move membership, but placing the resource at the LRU tail puts it directly in front of the hitch node that anchors the current walk cursor - making it the next item found by list_for_each_entry_continue() on every subsequent iteration. The fix defers del_bulk_move to the success path only and introduces ttm_resource_del_bulk_move_unevictable() to bypass an incorrect !ttm_resource_unevictable() guard that would otherwise skip removal after TTM_TT_FLAG_SWAPPED is set. CPE data confirms the affected product as cpe:2.3:a:linux:linux across the vulnerable commit range.

RemediationAI

Apply the upstream stable kernel patches at https://git.kernel.org/stable/c/b2ed01e7ad3de80333e9b962a44024b094bc0b2b and https://git.kernel.org/stable/c/0124a09e3e5f5f6080efe9663b27af27933f8382. Ubuntu users should apply the updates referenced in USN-8568-1 (https://ubuntu.com/security/notices/USN-8568-1) and USN-8566-1 (https://ubuntu.com/security/notices/USN-8566-1). Where kernel updates cannot be applied immediately, a targeted compensating control is to restrict local user access to GPU device nodes (e.g., via udev rules adjusting /dev/dri/* permissions or cgroup device controllers), preventing unprivileged users from triggering GPU memory pressure sufficient to invoke the TTM swapout path - note this will break GPU access for non-root users, impacting GPU compute applications. On systems without TTM-based GPU drivers (amdgpu, nouveau, vmwgfx), no action is required as the code path is not reachable.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

CVE-2026-52965 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy