Skip to contentSkip to conversation

CVE-2026-43123: fbcon: check return value of con2fb_acquire_newinfo()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

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

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

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

fbcon: check return value of con2fb_acquire_newinfo()

If fbcon_open() fails when called from con2fb_acquire_newinfo() then info->fbcon_par pointer remains NULL which is later dereferenced.

Add check for return value of the function con2fb_acquire_newinfo() to avoid it.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

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

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

	Issue introduced in 2.6.23 with commit d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e and fixed in 5.15.203 with commit d3e535533767c85788529e626478718b7e95a59f
	Issue introduced in 2.6.23 with commit d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e and fixed in 6.1.165 with commit 3b5a754ec86bc6064af9aca76eb191c2405e6b0c
	Issue introduced in 2.6.23 with commit d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e and fixed in 6.6.128 with commit a785c4e2a999c2d51dfcf40d317cfb30cc735d2c
	Issue introduced in 2.6.23 with commit d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e and fixed in 6.12.75 with commit 0b038c0be6827dd2dbb1ce4f8d92d97c80cbe9cc
	Issue introduced in 2.6.23 with commit d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e and fixed in 6.18.16 with commit 11a93180a70bb3095a9bd80d113d9277e30d9959
	Issue introduced in 2.6.23 with commit d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e and fixed in 6.19.6 with commit f57b61624c86ef8f87f6e6b7dd0755de03d90e89
	Issue introduced in 2.6.23 with commit d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e and fixed in 7.0 with commit 011a0502801c8536f64141a2b61362c14f456544

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

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/core/fbcon.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/d3e535533767c85788529e626478718b7e95a59f
	https://git.kernel.org/stable/c/3b5a754ec86bc6064af9aca76eb191c2405e6b0c
	https://git.kernel.org/stable/c/a785c4e2a999c2d51dfcf40d317cfb30cc735d2c
	https://git.kernel.org/stable/c/0b038c0be6827dd2dbb1ce4f8d92d97c80cbe9cc
	https://git.kernel.org/stable/c/11a93180a70bb3095a9bd80d113d9277e30d9959
	https://git.kernel.org/stable/c/f57b61624c86ef8f87f6e6b7dd0755de03d90e89
	https://git.kernel.org/stable/c/011a0502801c8536f64141a2b61362c14f456544