Bug 2347656 (CVE-2022-49635) - CVE-2022-49635 kernel: drm/i915/selftests: fix subtraction overflow bug
Summary: CVE-2022-49635 kernel: drm/i915/selftests: fix subtraction overflow bug
Keywords:
Status: NEW
Alias: CVE-2022-49635
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:02 UTC by OSIDB Bzimport
Modified: 2025-02-28 07:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:02:01 UTC
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)

Comment 1 Mauro Matteo Cascella 2025-02-26 12:08:48 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49635-af1b@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.