CVE-2025-37851

fbdev: omapfb: Add 'plane' value check

State
Published
Severity
Not scored
Published
May 9, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before a570efb4d877adbf3db2dc95487f2ba6bfdd148aAffected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before cdf41d72e8b015d9ea68f5a1c0a79624e7c312aaAffected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before 09dbf22fd68c2f1a81ab89670ffa1ec3033436c4Affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before 660a53a0694d1f3789802509fe729dd4656fc5e0Affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before fda15c5b96b883d62fb2d84a3a1422aa87717897Affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before 52eafaa56f8f6d6a0cdff9282b25b4acbde34edcAffected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before 9b0a41589ee70529b20e1e0108d03f10c649bdc4Affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before 4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89Affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to before 3e411827f31db7f938a30a3c7a7599839401ec30Affected
LinuxLinux
  • 2.6.33Affected
  • before 2.6.33Not affected
  • 5.4.293 through 5.4.*Not affected
  • 5.10.237 through 5.10.*Not affected
  • 5.15.181 through 5.15.*Not affected
  • 6.1.135 through 6.1.*Not affected
  • 6.6.88 through 6.6.*Not affected
  • 6.12.24 through 6.12.*Not affected
  • 6.13.12 through 6.13.*Not affected
  • 6.14.3 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.