In the Linux kernel, the following vulnerability has been resolved: fbdev: omapfb: Add 'plane' value check Function dispc_ovl_setup is not intended to work with the value OMAP_DSS_WB of the enum parameter plane. The value of this parameter is initialized in dss_init_overlays and in the current state of the code it cannot take this value so it's not a real problem. For the purposes of defensive coding it wouldn't be superfluous to check the parameter value, because some functions down the call stack process this value correctly and some not. For example, in dispc_ovl_setup_global_alpha it may lead to buffer overflow. Add check for this value. Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.
History

Fri, 09 May 2025 07:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fbdev: omapfb: Add 'plane' value check Function dispc_ovl_setup is not intended to work with the value OMAP_DSS_WB of the enum parameter plane. The value of this parameter is initialized in dss_init_overlays and in the current state of the code it cannot take this value so it's not a real problem. For the purposes of defensive coding it wouldn't be superfluous to check the parameter value, because some functions down the call stack process this value correctly and some not. For example, in dispc_ovl_setup_global_alpha it may lead to buffer overflow. Add check for this value. Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.
Title fbdev: omapfb: Add 'plane' value check
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-05-09T06:41:58.466Z

Updated: 2025-05-09T06:41:58.466Z

Reserved: 2025-04-16T04:51:23.955Z

Link: CVE-2025-37851

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-05-09T07:16:06.003

Modified: 2025-05-09T07:16:06.003

Link: CVE-2025-37851

cve-icon Redhat

No data.