CVE-2022-49635

published 26 Feb 2025 · updated 11 May 2026

drm/i915/selftests: fix subtraction overflow bug

6.6MediumCVSS 6.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 333991c4e66b3d4b5613315f18016da80344f659 and Kernel e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a.

In the Linux kernel, the following vulnerability has been resolved: drm/i915/selftests: fix subtraction overflow bug On some machines hole_end can be small enough to cause subtraction overflow. On the other side (addr + 2 * min_alignment) can overflow in case of mock tests. This patch should handle both cases. (cherry picked from commit ab3edc679c552a466e4bf0b11af3666008bd65a2)

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.12, >=e1c5f754067b594de58d387aa5873dec83b6c9fd <333991c4e66b3d4b5613315f18016da80344f659, >=e1c5f754067b594de58d387aa5873dec83b6c9fd <e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a333991c4e66b3d4b5613315f18016da80344f659, e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49635 severity on Zeptric[![CVE-2022-49635](https://zeptric.io/badge/cve/CVE-2022-49635.svg)](https://zeptric.io/cve/CVE-2022-49635)