Buffer overflow in Linux

CVE-2022-49635

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)

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.003, 20.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions e1c5f754067b594de58d387aa5873dec83b6c9fd, 4.12, 0
  • Linux Kernel — versions 5.19

Weakness classification (CWE)

References