Skip to contentSkip to conversation

CVE-2023-53314: fbdev/ep93xx-fb: Do not assign to struct fb_info.dev

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16, 2025

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/ep93xx-fb: Do not assign to struct fb_info.dev

Do not assing the Linux device to struct fb_info.dev. The call to register_framebuffer() initializes the field to the fbdev device. Drivers should not override its value.

Fixes a bug where the driver incorrectly decreases the hardware device's reference counter and leaks the fbdev device.

v2:
* add Fixes tag (Dan)

The Linux kernel CVE team has assigned CVE-2023-53314 to this issue.

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

	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 4.14.326 with commit ffdf2b020db717853167391a3a8d912e13428fa6
	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 4.19.295 with commit 1c6ff2a7c593db851f23e31ace2baf557ea9d0ff
	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 5.4.257 with commit 8ffa40ff64aa43a9a28fcf209b48d86a3e0f4972
	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 5.10.195 with commit 4aade6c9100a3537788b6a9c7ac481037d19efdf
	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 5.15.132 with commit 309c27162afea79b3c7f8747bb650faf6923b639
	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 6.1.54 with commit f83c1b13f8154e0284448912756d0a351a1a602a
	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 6.5.4 with commit 0517fc5a71333b315164736bbd32608894fbb872
	Issue introduced in 2.6.32 with commit 88017bda96a5fd568a982b01546c8fb1782dda62 and fixed in 6.6 with commit f90a0e5265b60cdd3c77990e8105f79aa2fac994

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-2023-53314

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/ep93xx-fb.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/ffdf2b020db717853167391a3a8d912e13428fa6
	https://git.kernel.org/stable/c/1c6ff2a7c593db851f23e31ace2baf557ea9d0ff
	https://git.kernel.org/stable/c/8ffa40ff64aa43a9a28fcf209b48d86a3e0f4972
	https://git.kernel.org/stable/c/4aade6c9100a3537788b6a9c7ac481037d19efdf
	https://git.kernel.org/stable/c/309c27162afea79b3c7f8747bb650faf6923b639
	https://git.kernel.org/stable/c/f83c1b13f8154e0284448912756d0a351a1a602a
	https://git.kernel.org/stable/c/0517fc5a71333b315164736bbd32608894fbb872
	https://git.kernel.org/stable/c/f90a0e5265b60cdd3c77990e8105f79aa2fac994