Skip to contentSkip to conversation

CVE-2026-72265: fbdev: nvidia: fix potential memory leak in nvidiafb_probe()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

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

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

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

fbdev: nvidia: fix potential memory leak in nvidiafb_probe()

In nvidiafb_probe(), the memory allocated for modelist in nvidia_set_fbinfo() is not freed in the subsequent error paths. Fix that by calling fb_destroy_modelist().

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

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

	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.261 with commit 7e747f7b17ccce750502fd4d0b4e866fe4f066a6
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.212 with commit 2515cd60f6b5ad680ed164aa6bd19b05270af34c
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.178 with commit 508704de34fb8c0dcbbf13397212363bbf0974de
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.145 with commit 6ca48f23ce61a26349d7d084fb63b70499137c8e
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.97 with commit e8172773e5251f4df2eed74caab6ca3195fed1ea
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.40 with commit 009a8514745b16c468acc25aa00539abbf38e1b5
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.5 with commit ed3b3eb212441fb5f287dfd24ebafe11d634f009
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2-rc1 with commit 85f5e38c162bdf9dbbe197275d416402712f3707

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

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/video/fbdev/nvidia/nvidia.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/7e747f7b17ccce750502fd4d0b4e866fe4f066a6
	https://git.kernel.org/stable/c/2515cd60f6b5ad680ed164aa6bd19b05270af34c
	https://git.kernel.org/stable/c/508704de34fb8c0dcbbf13397212363bbf0974de
	https://git.kernel.org/stable/c/6ca48f23ce61a26349d7d084fb63b70499137c8e
	https://git.kernel.org/stable/c/e8172773e5251f4df2eed74caab6ca3195fed1ea
	https://git.kernel.org/stable/c/009a8514745b16c468acc25aa00539abbf38e1b5
	https://git.kernel.org/stable/c/ed3b3eb212441fb5f287dfd24ebafe11d634f009
	https://git.kernel.org/stable/c/85f5e38c162bdf9dbbe197275d416402712f3707