CVE-2022-49635

drm/i915/selftests: fix subtraction overflow bug

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e1c5f754067b594de58d387aa5873dec83b6c9fd to before e8997d2d6b8d764e12489f1af2a1ce1d7384ca2aAffected
  • e1c5f754067b594de58d387aa5873dec83b6c9fd to before 333991c4e66b3d4b5613315f18016da80344f659Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.18.13 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.