Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-37851

fbdev: omapfb: Add 'plane' value check

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < a570efb4d877adbf3db2dc95487f2ba6bfdd148aaffected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < cdf41d72e8b015d9ea68f5a1c0a79624e7c312aaaffected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < 09dbf22fd68c2f1a81ab89670ffa1ec3033436c4affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < 660a53a0694d1f3789802509fe729dd4656fc5e0affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < fda15c5b96b883d62fb2d84a3a1422aa87717897affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < 52eafaa56f8f6d6a0cdff9282b25b4acbde34edcaffected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < 9b0a41589ee70529b20e1e0108d03f10c649bdc4affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < 4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89affected
  • 559d67018950ced65c73358cd69c4bdd2b0c5dd6 to < 3e411827f31db7f938a30a3c7a7599839401ec30affected

Linux Linux

Default version status: affected

  • 2.6.33affected
  • 0 to < 2.6.33unaffected
  • 5.4.293 to ≤ 5.4.*unaffected
  • 5.10.237 to ≤ 5.10.*unaffected
  • 5.15.181 to ≤ 5.15.*unaffected
  • 6.1.135 to ≤ 6.1.*unaffected
  • 6.6.88 to ≤ 6.6.*unaffected
  • 6.12.24 to ≤ 6.12.*unaffected
  • 6.13.12 to ≤ 6.13.*unaffected
  • 6.14.3 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References