Skip to contentSkip to conversation

CVE-2026-98970: drm/vc4: Free the BO cache size list on teardown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

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/vc4: Free the BO cache size list on teardown

vc4_bo_cache_destroy() purges the cached BOs but never frees the size list, leaking it on every unbind.

The Linux kernel CVE team has assigned CVE-2026-98970 to this issue.

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

	Issue introduced in 4.5 with commit c826a6e1064419f78855463cf29ce9e8b9d25bf4 and fixed in 6.6.160 with commit bf2848e50bd73782c2942ec023b5b60231f16e9b
	Issue introduced in 4.5 with commit c826a6e1064419f78855463cf29ce9e8b9d25bf4 and fixed in 6.12.113 with commit 035ad1bc964f6698e9b06c26ffe94bcac08dadea
	Issue introduced in 4.5 with commit c826a6e1064419f78855463cf29ce9e8b9d25bf4 and fixed in 6.18.57 with commit bea10b84e22efa22b005e8dba1a19df4e04a7649
	Issue introduced in 4.5 with commit c826a6e1064419f78855463cf29ce9e8b9d25bf4 and fixed in 7.2.11 with commit 40870a0290cd913c9d94f98ed87ebe00dd091e53
	Issue introduced in 4.5 with commit c826a6e1064419f78855463cf29ce9e8b9d25bf4 and fixed in 7.3 with commit b41ff8b529278216cba22a5dcdc93fea2a3a9619

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-2026-98970

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/vc4/vc4_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/bf2848e50bd73782c2942ec023b5b60231f16e9b
	https://git.kernel.org/stable/c/035ad1bc964f6698e9b06c26ffe94bcac08dadea
	https://git.kernel.org/stable/c/bea10b84e22efa22b005e8dba1a19df4e04a7649
	https://git.kernel.org/stable/c/40870a0290cd913c9d94f98ed87ebe00dd091e53
	https://git.kernel.org/stable/c/b41ff8b529278216cba22a5dcdc93fea2a3a9619