CVEvulnerability
CVE-2025-37851
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-05-09
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-674
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 configurations
• linux linux kernel (>= 2.6.33 < 5.4.293)
• linux linux kernel (>= 5.5 < 5.10.237)
• linux linux kernel (>= 5.11 < 5.15.181)
• linux linux kernel (>= 5.16 < 6.1.135)
• linux linux kernel (>= 6.2 < 6.6.88)
• linux linux kernel (>= 6.7 < 6.12.24)
• linux linux kernel (>= 6.13 < 6.13.12)
• linux linux kernel (>= 6.14 < 6.14.3)
• debian debian linux 11.0
Related
Weakness · CWE (1)
- CWE-674 Uncontrolled Recursion weakness
References
- https://git.kernel.org/stable/c/09dbf22fd68c2f1a81ab89670ffa1ec3033436c4 Patch
- https://git.kernel.org/stable/c/3e411827f31db7f938a30a3c7a7599839401ec30 Patch
- https://git.kernel.org/stable/c/4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89 Patch
- https://git.kernel.org/stable/c/52eafaa56f8f6d6a0cdff9282b25b4acbde34edc Patch
- https://git.kernel.org/stable/c/660a53a0694d1f3789802509fe729dd4656fc5e0 Patch
- https://git.kernel.org/stable/c/9b0a41589ee70529b20e1e0108d03f10c649bdc4 Patch
- https://git.kernel.org/stable/c/a570efb4d877adbf3db2dc95487f2ba6bfdd148a Patch
- https://git.kernel.org/stable/c/cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa Patch
- https://git.kernel.org/stable/c/fda15c5b96b883d62fb2d84a3a1422aa87717897 Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html Mailing List
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html Mailing List