CVE-2024-42259

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

MEDIUM
5.5
CVSS Score
Published: August 14, 2024 at 02:50 PM UTC
Updated: October 15, 2026 at 01:18 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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)

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.4.2824.9 ≤ v < 4.19.3205.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1065.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.466.7 ≤ v < 6.10.54.9c58305af1835095ddc25ee6f548ac05915e66ac5
Vendor states this is fixed in 3e06073d24807f04b4694108a8474decb7b99e60 (fixed)
Vendor states this is fixed in 4b09513ce93b3dcb590baaaff2ce96f2d098312d (fixed)
Vendor states this is fixed in 50111a8098fb9ade621eeff82228a997d42732ab (fixed)
Vendor states this is fixed in 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 (fixed)
Vendor states this is fixed in 911f8055f175c82775d0fd8cedcd0b75413f4ba7 (fixed)
Vendor states this is fixed in a256d019eaf044864c7e50312f0a65b323c24f39 (fixed)
Vendor states this is fixed in e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b (fixed)
Vendor states this is fixed in ead9289a51ea82eb5b27029fcf4c34b2dd60cf06 (fixed)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.106 (unaffected)
Vendor states this is fixed in 6.10.5 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.46 (unaffected)

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3e06073d24807f04b4694108a8474decb7b99e60
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b09513ce93b3dcb590baaaff2ce96f2d098312d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50111a8098fb9ade621eeff82228a997d42732ab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/911f8055f175c82775d0fd8cedcd0b75413f4ba7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a256d019eaf044864c7e50312f0a65b323c24f39
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ead9289a51ea82eb5b27029fcf4c34b2dd60cf06

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-131

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card