{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-46209","id":"CVE-2026-46209","title":"drm/gem: Fix inconsistent plane dimension calculation in drm_gem_fb_init_with_funcs()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gem: Fix inconsistent plane dimension calculation in drm_gem_fb_init_with_funcs()\n\ndrm_gem_fb_init_with_funcs() computes sub-sampled plane dimensions\nusing plain integer division:\n\n  unsigned int width  = mode_cmd->width  / (i ? info->hsub : 1);\n  unsigned int height = mode_cmd->height / (i ? info->vsub : 1);\n\nHowever, the io","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gem: Fix inconsistent plane dimension calculation in drm_gem_fb_init_with_funcs()\n\ndrm_gem_fb_init_with_funcs() computes sub-sampled plane dimensions\nusing plain integer division:\n\n  unsigned int width  = mode_cmd->width  / (i ? info->hsub : 1);\n  unsigned int height = mode_cmd->height / (i ? info->vsub : 1);\n\nHowever, the ioctl-level framebuffer_check() in drm_framebuffer.c uses\ndrm_format_info_plane_width/height() which round up dimensions via\nDIV_ROUND_UP(). This inconsistency corrupts the subsequent GEM object\nsize check for certain pixel format and dimension combinations.\n\nFor example, with NV12 (vsub=2) and a 1-pixel-tall framebuffer the\nGEM size validation path sees height=0 instead of height=1. The\nexpression (height - 1) then wraps to UINT_MAX as an unsigned int,\ncausing min_size to overflow and wrap back to a small value. A tiny\nGEM object therefore passes the size guard, yet when the GPU accesses\nthe chroma plane it will read or write memory beyond the object's\nbounds.\n\nFix by replacing the open-coded divisions with drm_format_info_plane_width()\nand drm_format_info_plane_height(), which use DIV_ROUND_UP() and match\nthe calculation already used in framebuffer_check().","published":"2026-05-28T09:40:27.092Z","updated":"2026-10-28T02:31:00.732721545Z","reserved":"2026-05-13T15:03:33.105Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"11427ad6c9f0def5ce567982b785da3191946430","status":"affected","versionType":"git"},{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"adfc5ba4ef4dd2bca5969f40e8fc7b41fb3902ad","status":"affected","versionType":"git"},{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"22922f7dae74409fc4bf0f1142710cb6b8ce8cc2","status":"affected","versionType":"git"},{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"6b992591e04f2cce813bcf239b354f375bbf84d3","status":"affected","versionType":"git"},{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"1da4ab7189f1064b3b712b388772c008b4d82580","status":"affected","versionType":"git"},{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"1a17ea9861e89585361caa8bc231bd22dc6dbe7d","status":"affected","versionType":"git"},{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"c5fc49d8470c5ebf3b41607600f277158f159950","status":"affected","versionType":"git"},{"version":"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78","lessThan":"3d4c2268bd7243c3780fe32bf24ff876da272acf","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.140","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.90","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.32","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.9","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-190","CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/11427ad6c9f0def5ce567982b785da3191946430","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/adfc5ba4ef4dd2bca5969f40e8fc7b41fb3902ad","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/22922f7dae74409fc4bf0f1142710cb6b8ce8cc2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6b992591e04f2cce813bcf239b354f375bbf84d3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1da4ab7189f1064b3b712b388772c008b4d82580","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1a17ea9861e89585361caa8bc231bd22dc6dbe7d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c5fc49d8470c5ebf3b41607600f277158f159950","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3d4c2268bd7243c3780fe32bf24ff876da272acf","tags":["Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46209.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46209","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00142,"epssPercentile":0.03531,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-46209","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46209","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-46209","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-46209","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}