Skip to contentSkip to conversation

CVE-2026-72271: fbdev: i740fb: fix potential memory leak in i740fb_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: i740fb: fix potential memory leak in i740fb_probe()

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

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

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

	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 5.10.261 with commit d3776b1bf9c100873c7365bd31a67ed6caacbd82
	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 5.15.212 with commit ccf073cd4a2f783adc40b04db3805dbddaaf9f31
	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 6.1.178 with commit aebdbe61b3960cd22b8bb6e70e3d94fb3bbb202c
	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 6.6.145 with commit e1ecbaeec5fbf0b0e2d5810ec574f762d148771e
	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 6.12.97 with commit 3c0cf89b74e7b8ebc21a1542937c8e912d19f22b
	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 6.18.40 with commit 146b708bc75f1e6cf70df31195632c9946cb70fd
	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 7.1.5 with commit 2ede8fa708235c81ab18de14077f1a458bec7e22
	Issue introduced in 3.4 with commit 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 and fixed in 7.2-rc1 with commit 5936063409af230a2c88b8700c47b89a19fd70b5

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

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/i740fb.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/d3776b1bf9c100873c7365bd31a67ed6caacbd82
	https://git.kernel.org/stable/c/ccf073cd4a2f783adc40b04db3805dbddaaf9f31
	https://git.kernel.org/stable/c/aebdbe61b3960cd22b8bb6e70e3d94fb3bbb202c
	https://git.kernel.org/stable/c/e1ecbaeec5fbf0b0e2d5810ec574f762d148771e
	https://git.kernel.org/stable/c/3c0cf89b74e7b8ebc21a1542937c8e912d19f22b
	https://git.kernel.org/stable/c/146b708bc75f1e6cf70df31195632c9946cb70fd
	https://git.kernel.org/stable/c/2ede8fa708235c81ab18de14077f1a458bec7e22
	https://git.kernel.org/stable/c/5936063409af230a2c88b8700c47b89a19fd70b5