Skip to contentSkip to conversation

CVE-2023-53844: drm/ttm: Don't leak a resource on swapout move error

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 9, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

drm/ttm: Don't leak a resource on swapout move error

If moving the bo to system for swapout failed, we were leaking a resource. Fix.

The Linux kernel CVE team has assigned CVE-2023-53844 to this issue.

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

	Issue introduced in 5.14 with commit bfa3357ef9abc9d56a2910222d2deeb9f15c91ff and fixed in 5.15.121 with commit af4e0ce2af8a8f0ff3b89702a1e18d8ec2c4a834
	Issue introduced in 5.14 with commit bfa3357ef9abc9d56a2910222d2deeb9f15c91ff and fixed in 6.1.40 with commit f037f6038736bd038ddb9c72de979a08cc1ee3b5
	Issue introduced in 5.14 with commit bfa3357ef9abc9d56a2910222d2deeb9f15c91ff and fixed in 6.4.5 with commit 4a5b37ea6797d7a53e6dd004aa37e149f40199ce
	Issue introduced in 5.14 with commit bfa3357ef9abc9d56a2910222d2deeb9f15c91ff and fixed in 6.5 with commit a590f03d8de7c4cb7ce4916dc7f2fd10711faabe

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-2023-53844

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/ttm/ttm_bo.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/af4e0ce2af8a8f0ff3b89702a1e18d8ec2c4a834
	https://git.kernel.org/stable/c/f037f6038736bd038ddb9c72de979a08cc1ee3b5
	https://git.kernel.org/stable/c/4a5b37ea6797d7a53e6dd004aa37e149f40199ce
	https://git.kernel.org/stable/c/a590f03d8de7c4cb7ce4916dc7f2fd10711faabe