What’s Vulnerable › Vulnerabilities
CVE-2022-49635: drm/i915/selftests: fix subtraction overflow bug
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
- Weakness: CWE-787
Description
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 products
- Linux kernel: from 4.12 before 5.18.13; 5.19-rc1, 5.19-rc2, 5.19-rc3, 5.19-rc4, 5.19-rc5, 5.19-rc6 — fixed in 5.18.13
How to fix
Upgrade to a fixed version: Linux kernel 5.18.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/333991c4e66b3d4b5613315f18016da80344f659
- https://git.kernel.org/stable/c/e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a
Get alerted when CVE-2022-49635 or the next vulnerability affects your stack