CVE-2026-98514: drm/nouveau: Fix gem reference leak in validate_init()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/nouveau: Fix gem reference leak in validate_init()
On the ttm_bo_reserve() failure and "vma not found" error paths, the loop breaks without adding the looked-up object to any validate list, so the reference taken by drm_gem_object_lookup() is never released; validate_fini() only walks the spliced lists. Drop the reference before breaking out on both paths.
The Linux kernel CVE team has assigned CVE-2026-98514 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 5.10.271 with commit af2f48c12365866abb327d75c21a13bbde84719c Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 5.15.222 with commit 3c80e069470cf73c357c9edb5ec5fba20e6f6a98 Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 6.1.189 with commit 957619120c26d6727efd18504e6b488673d3900a Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 6.6.158 with commit 74485cdc343060fce08f8f3990da524d783e43a7 Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 6.12.112 with commit 8281930fc194ad448aaa5de8dd47fb6fb1cba327 Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 6.18.55 with commit 030e93fc91d55d9487b3b85fc0712bb795d77834 Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 7.2.9 with commit 9e13c398a23445baf38f0a59033dd9872a2bfe20 Issue introduced in 4.18 with commit 19ca10d82e33bcfe92412c461fc3534ec1e14747 and fixed in 7.3-rc5 with commit 5ea72f7b7139b123713a7983448f910bc4514d9e Issue introduced in 4.17.12 with commit bcc16811023394a5e61a20c107f1fa560a28b7c1
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-98514
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/nouveau/nouveau_gem.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/af2f48c12365866abb327d75c21a13bbde84719c https://git.kernel.org/stable/c/3c80e069470cf73c357c9edb5ec5fba20e6f6a98 https://git.kernel.org/stable/c/957619120c26d6727efd18504e6b488673d3900a https://git.kernel.org/stable/c/74485cdc343060fce08f8f3990da524d783e43a7 https://git.kernel.org/stable/c/8281930fc194ad448aaa5de8dd47fb6fb1cba327 https://git.kernel.org/stable/c/030e93fc91d55d9487b3b85fc0712bb795d77834 https://git.kernel.org/stable/c/9e13c398a23445baf38f0a59033dd9872a2bfe20 https://git.kernel.org/stable/c/5ea72f7b7139b123713a7983448f910bc4514d9e