{"id":"CVE-2025-37851","aliases":["CVE-2025-37851"],"related":[],"kind":"vulnerability","state":"published","title":"fbdev: omapfb: Add 'plane' value check","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: omapfb: Add 'plane' value check\n\nFunction dispc_ovl_setup is not intended to work with the value OMAP_DSS_WB\nof the enum parameter plane.\n\nThe value of this parameter is initialized in dss_init_overlays and in the\ncurrent state of the code it cannot take this value so it's not a real\nproblem.\n\nFor the purposes of defensive coding it wouldn't be superfluous to check\nthe parameter value, because some functions down the call stack process\nthis value correctly and some not.\n\nFor example, in dispc_ovl_setup_global_alpha it may lead to buffer\noverflow.\n\nAdd check for this value.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE static\nanalysis tool.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: omapfb: Add 'plane' value check\n\nFunction dispc_ovl_setup is not intended to work with the value OMAP_DSS_WB\nof the enum parameter plane.\n\nThe value of this parameter is initialized in dss_init_overlays and in the\ncurrent state of the code it cannot take this value so it's not a real\nproblem.\n\nFor the purposes of defensive coding it wouldn't be superfluous to check\nthe parameter value, because some functions down the call stack process\nthis value correctly and some not.\n\nFor example, in dispc_ovl_setup_global_alpha it may lead to buffer\noverflow.\n\nAdd check for this value.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE static\nanalysis tool.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fbdev: omapfb: Añadir comprobación del valor \"plane\". La función dispc_ovl_setup no está diseñada para funcionar con el valor OMAP_DSS_WB del parámetro de enumeración \"plane\". Este valor se inicializa en dss_init_overlays y, en el estado actual del código, no puede tomar este valor, por lo que no supone un problema real. Para fines de codificación defensiva, no sería superfluo comprobar el valor del parámetro, ya que algunas funciones en la pila de llamadas procesan este valor correctamente y otras no. Por ejemplo, en dispc_ovl_setup_global_alpha, puede provocar un desbordamiento de búfer. Añadir comprobación para este valor. Encontrado por el Centro de Verificación de Linux (linuxtesting.org) con la herramienta de análisis estático SVACE.","source":"nvd"}],"published":"2025-05-09T06:41:58.466Z","modified":"2026-06-17T09:15:33.943Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"a570efb4d877adbf3db2dc95487f2ba6bfdd148a","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"09dbf22fd68c2f1a81ab89670ffa1ec3033436c4","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"660a53a0694d1f3789802509fe729dd4656fc5e0","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"fda15c5b96b883d62fb2d84a3a1422aa87717897","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"52eafaa56f8f6d6a0cdff9282b25b4acbde34edc","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"9b0a41589ee70529b20e1e0108d03f10c649bdc4","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89","status":"affected"},{"type":"git","introduced":"559d67018950ced65c73358cd69c4bdd2b0c5dd6","fixed":"3e411827f31db7f938a30a3c7a7599839401ec30","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"5.4.293","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.237","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.181","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.135","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.88","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.24","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.12","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.3","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.33","fixed":"5.4.293"},{"status":"affected","introduced":"5.5","fixed":"5.10.237"},{"status":"affected","introduced":"5.11","fixed":"5.15.181"},{"status":"affected","introduced":"5.16","fixed":"6.1.135"},{"status":"affected","introduced":"6.2","fixed":"6.6.88"},{"status":"affected","introduced":"6.7","fixed":"6.12.24"},{"status":"affected","introduced":"6.13","fixed":"6.13.12"},{"status":"affected","introduced":"6.14","fixed":"6.14.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a570efb4d877adbf3db2dc95487f2ba6bfdd148a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09dbf22fd68c2f1a81ab89670ffa1ec3033436c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/660a53a0694d1f3789802509fe729dd4656fc5e0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fda15c5b96b883d62fb2d84a3a1422aa87717897","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52eafaa56f8f6d6a0cdff9282b25b4acbde34edc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b0a41589ee70529b20e1e0108d03f10c649bdc4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e411827f31db7f938a30a3c7a7599839401ec30","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["mailing-list"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37851","url":"https://www.cve.org/CVERecord?id=CVE-2025-37851","licence":"CVE Terms of Use","modified":"2026-05-11T21:16:20.174Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37851","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37851","licence":"Public domain","modified":"2026-06-17T09:15:33.943Z"}],"updatedAt":"2026-11-25T22:58:57.847Z","epss":{"score":0.00298,"percentile":0.24234,"date":"2026-12-01T12:00:22.000Z"}}