CVE-2025-37851

Source
https://cve.org/CVERecord?id=CVE-2025-37851
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37851.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37851
Downstream
Related
Published
2025-05-09T06:41:58.466Z
Modified
2026-03-11T07:53:55.431406Z
Summary
fbdev: omapfb: Add 'plane' value check
Details

In the Linux kernel, the following vulnerability has been resolved:

fbdev: omapfb: Add 'plane' value check

Function dispcovlsetup is not intended to work with the value OMAPDSSWB of the enum parameter plane.

The value of this parameter is initialized in dssinitoverlays 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 dispcovlsetupglobalalpha it may lead to buffer overflow.

Add check for this value.

Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37851.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
559d67018950ced65c73358cd69c4bdd2b0c5dd6
Fixed
a570efb4d877adbf3db2dc95487f2ba6bfdd148a
Fixed
cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa
Fixed
09dbf22fd68c2f1a81ab89670ffa1ec3033436c4
Fixed
660a53a0694d1f3789802509fe729dd4656fc5e0
Fixed
fda15c5b96b883d62fb2d84a3a1422aa87717897
Fixed
52eafaa56f8f6d6a0cdff9282b25b4acbde34edc
Fixed
9b0a41589ee70529b20e1e0108d03f10c649bdc4
Fixed
4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89
Fixed
3e411827f31db7f938a30a3c7a7599839401ec30

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37851.json"