Skip to contentSkip to conversation

CVE-2026-72270: fbdev: s3fb: fix potential memory leak in s3_pci_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: s3fb: fix potential memory leak in s3_pci_probe()

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

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

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

	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 5.10.261 with commit 37f4b8bd9e3835a7d4da26baf80b497e478d3123
	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 5.15.212 with commit ef6c5e4607483259a0daf6584e9e34ef643a655d
	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 6.1.178 with commit fc90ec978a3cef6f6d8c6074bee538998c7c9837
	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 6.6.145 with commit 0d0fa8425b29657b3d3e5bb36f50a50e57c8101f
	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 6.12.97 with commit 25b354f74b028a3f91b12e6b446256965744c477
	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 6.18.40 with commit ad54698255a4b988cae1ad908c158c1d4128887c
	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 7.1.5 with commit 56964e8039150a14462005458b25f19d6cad8f4a
	Issue introduced in 3.0 with commit 86c0f043a737dadf034a4e6f29aefb074f4a1146 and fixed in 7.2-rc1 with commit 3b0ed04bc852887a9164e1bbf521652e8ef3eb92

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

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/s3fb.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/37f4b8bd9e3835a7d4da26baf80b497e478d3123
	https://git.kernel.org/stable/c/ef6c5e4607483259a0daf6584e9e34ef643a655d
	https://git.kernel.org/stable/c/fc90ec978a3cef6f6d8c6074bee538998c7c9837
	https://git.kernel.org/stable/c/0d0fa8425b29657b3d3e5bb36f50a50e57c8101f
	https://git.kernel.org/stable/c/25b354f74b028a3f91b12e6b446256965744c477
	https://git.kernel.org/stable/c/ad54698255a4b988cae1ad908c158c1d4128887c
	https://git.kernel.org/stable/c/56964e8039150a14462005458b25f19d6cad8f4a
	https://git.kernel.org/stable/c/3b0ed04bc852887a9164e1bbf521652e8ef3eb92