CVE-2022-49635 Information

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)

Reference

https://git.kernel.org/stable/c/333991c4e66b3d4b5613315f18016da80344f659 https://git.kernel.org/stable/c/e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a

Share on: