CVE Database›CVE-2024-42259

CVE-2024-42259

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

Loading…

Severity

Moderate

Red Hat Product Security

4.1

CVSS 3.1

Review impact separately from score.

Published · August 14, 2024

Updated · October 30, 2026

Description

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)

Statement

Moderate severity is assigned to this vulnerability because exploitation requires local system access on machines equipped with Intel graphics hardware running the i915 driver, limiting the blast radius to a local denial of service. The flaw stems from improper calculation of virtual memory mapping boundaries when handling partial offsets, which may trigger an unexpected kernel page fault. Typical enterprise server deployments without integrated Intel GPUs are not exposed to this issue.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.1
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer