# CVE-2026-46209: drm/gem: Fix inconsistent plane dimension calculation in drm\_gem\_fb\_init\_with\_funcs()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-787, CWE-190
- **Published:** 2026-05-28T09:40:27.092Z
- **Modified:** 2026-10-19T20:18:38.410Z

## Who should check

- Anyone running Linux \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 11427ad6c9f0def5ce567982b785da3191946430; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< adfc5ba4ef4dd2bca5969f40e8fc7b41fb3902ad; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 22922f7dae74409fc4bf0f1142710cb6b8ce8cc2; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 6b992591e04f2cce813bcf239b354f375bbf84d3; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 1da4ab7189f1064b3b712b388772c008b4d82580; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 1a17ea9861e89585361caa8bc231bd22dc6dbe7d; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< c5fc49d8470c5ebf3b41607600f277158f159950; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 3d4c2268bd7243c3780fe32bf24ff876da272acf
- Anyone running Linux 4.14

## Description

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

drm/gem: Fix inconsistent plane dimension calculation in drm\_gem\_fb\_init\_with\_funcs()

drm\_gem\_fb\_init\_with\_funcs() computes sub-sampled plane dimensions
using plain integer division:

  unsigned int width  = mode\_cmd-\>width  / (i ? info-\>hsub : 1);
  unsigned int height = mode\_cmd-\>height / (i ? info-\>vsub : 1);

However, the ioctl-level framebuffer\_check() in drm\_framebuffer.c uses
drm\_format\_info\_plane\_width/height() which round up dimensions via
DIV\_ROUND\_UP(). This inconsistency corrupts the subsequent GEM object
size check for certain pixel format and dimension combinations.

For example, with NV12 (vsub=2) and a 1-pixel-tall framebuffer the
GEM size validation path sees height=0 instead of height=1. The
expression (height - 1) then wraps to UINT\_MAX as an unsigned int,
causing min\_size to overflow and wrap back to a small value. A tiny
GEM object therefore passes the size guard, yet when the GPU accesses
the chroma plane it will read or write memory beyond the object's
bounds.

Fix by replacing the open-coded divisions with drm\_format\_info\_plane\_width()
and drm\_format\_info\_plane\_height(), which use DIV\_ROUND\_UP() and match
the calculation already used in framebuffer\_check().

## Affected and fixed versions

- Linux: \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 11427ad6c9f0def5ce567982b785da3191946430; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< adfc5ba4ef4dd2bca5969f40e8fc7b41fb3902ad; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 22922f7dae74409fc4bf0f1142710cb6b8ce8cc2; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 6b992591e04f2cce813bcf239b354f375bbf84d3; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 1da4ab7189f1064b3b712b388772c008b4d82580; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 1a17ea9861e89585361caa8bc231bd22dc6dbe7d; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< c5fc49d8470c5ebf3b41607600f277158f159950; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 3d4c2268bd7243c3780fe32bf24ff876da272acf (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 3d4c2268bd7243c3780fe32bf24ff876da272acf or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46209. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46209.md
Affected: Linux >= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, < 11427ad6c9f0def5ce567982b785da3191946430; >= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, < adfc5ba4ef4dd2bca5969f40e8fc7b41fb3902ad; >= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, < 22922f7dae74409fc4bf0f1142710cb6b8ce8cc2; >= 4c3dbb2c312c9fafbac30d9…
Fixed in: Linux 11427ad6c9f0def5ce567982b785da3191946430, Linux 22922f7dae74409fc4bf0f1142710cb6b8ce8cc2, Linux 6b992591e04f2cce813bcf239b354f375bbf84d3, Linux 1da4ab7189f1064b3b712b388772c008b4d82580, Linux 1a17ea9861e89585361caa8bc231bd22dc6dbe7d, Linux 3d4c2268bd7243c3780fe32bf24ff876da272acf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46209 being exploited?

There is no confirmed exploitation: CVE-2026-46209 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46209?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46209?

Linux \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 11427ad6c9f0def5ce567982b785da3191946430; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< adfc5ba4ef4dd2bca5969f40e8fc7b41fb3902ad; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 22922f7dae74409fc4bf0f1142710cb6b8ce8cc2; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 6b992591e04f2cce813bcf239b354f375bbf84d3; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 1da4ab7189f1064b3b712b388772c008b4d82580; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 1a17ea9861e89585361caa8bc231bd22dc6dbe7d; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< c5fc49d8470c5ebf3b41607600f277158f159950; \>= 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, \< 3d4c2268bd7243c3780fe32bf24ff876da272acf; Linux 4.14.

### Is there a fix for CVE-2026-46209?

Yes. Fixed in Linux 11427ad6c9f0def5ce567982b785da3191946430, Linux 22922f7dae74409fc4bf0f1142710cb6b8ce8cc2, Linux 6b992591e04f2cce813bcf239b354f375bbf84d3, Linux 1da4ab7189f1064b3b712b388772c008b4d82580, Linux 1a17ea9861e89585361caa8bc231bd22dc6dbe7d, Linux 3d4c2268bd7243c3780fe32bf24ff876da272acf. Upgrade Linux to 3d4c2268bd7243c3780fe32bf24ff876da272acf or later.

### How do I check if I'm affected by CVE-2026-46209?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/11427ad6c9f0def5ce567982b785da3191946430>
- patch: <https://git.kernel.org/stable/c/adfc5ba4ef4dd2bca5969f40e8fc7b41fb3902ad>
- patch: <https://git.kernel.org/stable/c/22922f7dae74409fc4bf0f1142710cb6b8ce8cc2>
- patch: <https://git.kernel.org/stable/c/6b992591e04f2cce813bcf239b354f375bbf84d3>
- patch: <https://git.kernel.org/stable/c/1da4ab7189f1064b3b712b388772c008b4d82580>
- patch: <https://git.kernel.org/stable/c/1a17ea9861e89585361caa8bc231bd22dc6dbe7d>
- patch: <https://git.kernel.org/stable/c/c5fc49d8470c5ebf3b41607600f277158f159950>
- patch: <https://git.kernel.org/stable/c/3d4c2268bd7243c3780fe32bf24ff876da272acf>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46209>

HTML: <https://flawdb.com/CVE-2026-46209> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46209>
