fbdev: omapfb: Add 'plane' value check
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.237, 5.15.181, 5.4.293, 6.1.135, 6.12.24, 6.13.12, 6.14.3, 6.6.88
- CVEs
- CVE-2025-37851
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:14 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-37851
Kernel
Fixed versions: 5.4.293, 5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.24, 6.13.12, 6.14.3
Complete source record
{
"id": "bff9722443f9c3122208ca2c97d2efbcdb9633135cb3abfb277eeb63442da9dd",
"url": "https://osv.dev/vulnerability/CVE-2025-37851",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "fbdev: omapfb: Add 'plane' value check",
"summary": "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.",
"evidence": "osv:CVE-2025-37851",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.293",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.237",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.181",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.135",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.88",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.24",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.12",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-37851",
"aliases": [
"CVE-2025-37851"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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/cve-osv-conversion/osv-output/CVE-2025-37851.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.33"
},
{
"fixed": "5.4.293"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.237"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.181"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.135"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.88"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.24"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.12"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.14.0"
},
{
"fixed": "6.14.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37851.json"
}
}
],
"modified": "2026-10-28T02:30:27.250876397Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/09dbf22fd68c2f1a81ab89670ffa1ec3033436c4",
"https://git.kernel.org/stable/c/3e411827f31db7f938a30a3c7a7599839401ec30",
"https://git.kernel.org/stable/c/4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89",
"https://git.kernel.org/stable/c/52eafaa56f8f6d6a0cdff9282b25b4acbde34edc",
"https://git.kernel.org/stable/c/660a53a0694d1f3789802509fe729dd4656fc5e0",
"https://git.kernel.org/stable/c/9b0a41589ee70529b20e1e0108d03f10c649bdc4",
"https://git.kernel.org/stable/c/a570efb4d877adbf3db2dc95487f2ba6bfdd148a",
"https://git.kernel.org/stable/c/cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa",
"https://git.kernel.org/stable/c/fda15c5b96b883d62fb2d84a3a1422aa87717897",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37851.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-37851",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37851.json"
}
},
"related_cves": [
{
"value": "CVE-2025-37851",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 493670,
"published_at": "2025-05-09T06:41:58.466+00:00"
}