lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025040249-CVE-2025-21987-de85@gregkh>
Date: Wed,  2 Apr 2025 13:28:50 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21987: drm/amdgpu: init return value in amdgpu_ttm_clear_buffer

Description
===========

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

drm/amdgpu: init return value in amdgpu_ttm_clear_buffer

Otherwise an uninitialized value can be returned if
amdgpu_res_cleared returns true for all regions.

Possibly closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3812

(cherry picked from commit 7c62aacc3b452f73a1284198c81551035fac6d71)

The Linux kernel CVE team has assigned CVE-2025-21987 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.10 with commit a68c7eaa7a8ffdec9287ba1561a668d674c20a13 and fixed in 6.12.18 with commit d2c9625b0ade41f9917875d88173a0cc802b95fc
	Issue introduced in 6.10 with commit a68c7eaa7a8ffdec9287ba1561a668d674c20a13 and fixed in 6.13.6 with commit 5bd98c2df4a0f2e2dcbdf563feb8d348406377b5
	Issue introduced in 6.10 with commit a68c7eaa7a8ffdec9287ba1561a668d674c20a13 and fixed in 6.14 with commit d3c7059b6a8600fc62cd863f1ea203b8675e63e1

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-21987
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/d2c9625b0ade41f9917875d88173a0cc802b95fc
	https://git.kernel.org/stable/c/5bd98c2df4a0f2e2dcbdf563feb8d348406377b5
	https://git.kernel.org/stable/c/d3c7059b6a8600fc62cd863f1ea203b8675e63e1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ