# CVE-2025-37851: fbdev: omapfb: Add 'plane' value check

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-05-09T06:41:58.466Z
- Modified: 2026-06-17T09:15:33.943Z
- Weaknesses: CWE-674
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before a570efb4d877adbf3db2dc95487f2ba6bfdd148a; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before 09dbf22fd68c2f1a81ab89670ffa1ec3033436c4; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before 660a53a0694d1f3789802509fe729dd4656fc5e0; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before fda15c5b96b883d62fb2d84a3a1422aa87717897; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before 52eafaa56f8f6d6a0cdff9282b25b4acbde34edc; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before 9b0a41589ee70529b20e1e0108d03f10c649bdc4; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before 4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89; from 559d67018950ced65c73358cd69c4bdd2b0c5dd6 before 3e411827f31db7f938a30a3c7a7599839401ec30; 2.6.33 (not affected: before 2.6.33; from 5.4.293 up to 5.4.*; from 5.10.237 up to 5.10.*; from 5.15.181 up to 5.15.*; from 6.1.135 up to 6.1.*; from 6.6.88 up to 6.6.*; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 2.6.33 before 5.4.293; from 5.5 before 5.10.237; from 5.11 before 5.15.181; from 5.16 before 6.1.135; from 6.2 before 6.6.88; from 6.7 before 6.12.24; from 6.13 before 6.13.12; from 6.14 before 6.14.3
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/a570efb4d877adbf3db2dc95487f2ba6bfdd148a> (patch)
- <https://git.kernel.org/stable/c/cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa> (patch)
- <https://git.kernel.org/stable/c/09dbf22fd68c2f1a81ab89670ffa1ec3033436c4> (patch)
- <https://git.kernel.org/stable/c/660a53a0694d1f3789802509fe729dd4656fc5e0> (patch)
- <https://git.kernel.org/stable/c/fda15c5b96b883d62fb2d84a3a1422aa87717897> (patch)
- <https://git.kernel.org/stable/c/52eafaa56f8f6d6a0cdff9282b25b4acbde34edc> (patch)
- <https://git.kernel.org/stable/c/9b0a41589ee70529b20e1e0108d03f10c649bdc4> (patch)
- <https://git.kernel.org/stable/c/4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89> (patch)
- <https://git.kernel.org/stable/c/3e411827f31db7f938a30a3c7a7599839401ec30> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html> (mailing-list)

## Sources

- CVE List: [CVE-2025-37851](https://www.cve.org/CVERecord?id=CVE-2025-37851), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37851](https://nvd.nist.gov/vuln/detail/CVE-2025-37851), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37851 · Whole record: https://cve.day/CVE-2025-37851.json · Rebuilt by cve.day 2026-11-25T22:58:57.847Z
