VDB

CVE-2026-46209

CVE-2026-46209 PUBLISHED CVSS 7.8 HIGH

drm/gem: Fix inconsistent plane dimension calculation in drm_gem_fb_init_with_funcs()

Reported by linux · Published May 28, 2026

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().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-64k-modules-coreerrata.rockylinux.org5.14.0-687.22.1.el9
kernel-toolserrata.rockylinux.org5.14.0-687.22.1.el9
kernel-uki-virt-addonserrata.rockylinux.org5.14.0-687.22.1.el9
kernel-livepatch-6.1.175-219.357Amazon Linux1:1.0-0.amzn2023
kernel-docerrata.rockylinux.org5.14.0-687.22.1.el9
kernel-64k-moduleserrata.rockylinux.org5.14.0-687.22.1.el9
kernel-headersAmazon Linux1:6.1.175-219.357.amzn2023
kernel-rt-64k-debug-develerrata.rockylinux.org5.14.0-687.22.1.el9
libperf-debuginfoerrata.rockylinux.org5.14.0-687.22.1.el9
python3-perfAmazon Linux1:6.1.175-219.357.amzn2023
libperferrata.rockylinux.org5.14.0-687.22.1.el9
kernel-rt-64k-modules-extraerrata.rockylinux.org5.14.0-687.22.1.el9

48 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78
LinuxLinux4.14, 0, 5.10.258
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023kernel-headers0
amazon:2023python3-perf0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023python3-perf6.120
amazon:2023bpftool0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel0
amazon:2023bpftool6.180
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-modules-extra0
LinuxLinux7.1, 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78, 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78
linuxlinux_kernel4.14, 4.14, 4.14

…and 18 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (17 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (135 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Jul 3, 2026 Distribution Patch (133 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46209
vulnetix vdb fixes CVE-2026-46209

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46209/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›