CVE-2024-42259CWE-131

CVE-2024-42259

High · published August 14, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
17.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

drm/i915/gem: Fix Virtual Memory mapping boundaries calculation

Calculating the size of the mapped area as the lesser value

between the requested size and the actual size does not consider

the partial mapping offset. This can cause page fault access.

Fix the calculation of the starting and ending addresses, the

total size is now deduced from the difference between the end and

start addresses.

Additionally, the calculations have been rewritten in a clearer

and more understandable form.

[Joonas: Add Requires: tag]

Requires: 60a2066c5005 ("drm/i915/gem: Adjust vma offset for framebuffer mmap offset")

(cherry picked from commit 97b6784753da06d9d40232328efc5c5367e53417)

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00265 · 17.4th percentile
Weakness
CWE-131 · Incorrect Calculation of Buffer Size
Published
2024-08-14T19:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 4.9, < 4.19.3204.19.320
linux/linux_kernel≥ 4.20, < 5.4.2825.4.282
linux/linux_kernel≥ 5.5, < 5.10.2245.10.224
linux/linux_kernel≥ 5.11, < 5.15.1655.15.165
linux/linux_kernel≥ 5.16, < 6.1.1066.1.106
linux/linux_kernel≥ 6.2, < 6.6.466.6.46
linux/linux_kernel≥ 6.7, < 6.10.56.10.5
References (12)
EPSS history
Timeline
  • 14 AUG 14:50Z
    drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
    cvelistv5