{"id":"CVE-2025-37851","summary":"fbdev: omapfb: Add 'plane' value check","details":"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.","modified":"2026-04-02T12:47:33.270616Z","published":"2025-05-09T06:41:58.466Z","related":["SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37851.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09dbf22fd68c2f1a81ab89670ffa1ec3033436c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e411827f31db7f938a30a3c7a7599839401ec30"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4efd8ef5e40f2c7a4a91a5a9f03140bfa827da89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52eafaa56f8f6d6a0cdff9282b25b4acbde34edc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/660a53a0694d1f3789802509fe729dd4656fc5e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b0a41589ee70529b20e1e0108d03f10c649bdc4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a570efb4d877adbf3db2dc95487f2ba6bfdd148a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdf41d72e8b015d9ea68f5a1c0a79624e7c312aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fda15c5b96b883d62fb2d84a3a1422aa87717897"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37851.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37851"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-37851.json"}}],"schema_version":"1.7.5"}