Skip to contentSkip to conversation

CVE-2023-53677: drm/i915: Fix memory leaks in i915 selftests

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 7, 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/i915: Fix memory leaks in i915 selftests

This patch fixes memory leaks on error escapes in function fake_get_pages

(cherry picked from commit 8bfbdadce85c4c51689da10f39c805a7106d4567)

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

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

	Issue introduced in 6.3 with commit c3bfba9a222550406082c92bbabc9c8b1355d8b8 and fixed in 6.3.2 with commit 596d7308e189a3230bf33d667b64acc73846c2d0
	Issue introduced in 6.3 with commit c3bfba9a222550406082c92bbabc9c8b1355d8b8 and fixed in 6.4 with commit 803033c148f754f32da1b93926c49c22731ec485

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-53677

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/i915/selftests/i915_gem_gtt.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/596d7308e189a3230bf33d667b64acc73846c2d0
	https://git.kernel.org/stable/c/803033c148f754f32da1b93926c49c22731ec485