drm/hyperv: validate resolution_count and fix WIN8 fallback (Linux Linux)

CVE-2026-64524
HIGH 7.7

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: drm/hyperv: validate resolution_count and fix WIN8 fallback A SYNTHVID_RESOLUTION_RESPONSE with resolution_count > 64 walks past the supported_resolution[SYNTHVID_MAX_RESOLUTION_COUNT] array in the parse loop. Bound resolution_count against the array size, folded into the existing zero-check. When the WIN10 resolution probe fails, the caller in hyperv_connect_vsp() left hv->screen_*_max / preferred_* unpopulated, which sets mode_config.max_width / max_height to 0 and makes drm_internal_framebuffer_create() reject every userspace framebuffer with -EINVAL. The pre-WIN10 branch had the same gap for preferred_width / preferred_height. Use a single post-probe fallback guarded by screen_width_max == 0 so both paths converge on the WIN8 defaults.

Weaknesses (CWE)

  • CWE-122 — Heap-based Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.7CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.7CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 76c56a5affeba1e163b66b9d8cc192e6154466f0 < 96f7de3172d4aa878b7f87173b2b3507c350fcd6 ; affected 76c56a5affeba1e163b66b9d8cc192e6154466f0 < bc573752f3dac0d1ab8df7078c1851bc76717653 ; affected 76c56a5affeba1e163b66b9d8cc192e6154466f0 < 1fb565b77b8f44afabb02de6310065f109d89e94 ; affected 76c56a5affeba1e163b66b9d8cc192e6154466f0 < a321c908f2eeea01539668eb270d074d9b88e490 ; affected 76c56a5affeba1e163b66b9d8cc192e6154466f0 < 9c698b2c43c2667c34f5336bf46ad5786216ac2a ; affected 76c56a5affeba1e163b66b9d8cc192e6154466f0 < 8a114b25b5521eae451b13bce98ae978624962e5
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.* ; unaffected 6.12.93 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD