VDB

CVE-2024-42259

CVE-2024-42259 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published August 14, 2024

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)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.1.106-116.188Amazon Linux1.0-0.amzn2023
python3-perfAmazon Linux6.1.106-116.188.amzn2023
linux_kernellinux6.10.5, 6.6.46, 6.1.106, 5.15.165, 5.10.224, 5.4.282, 4.19.320

Risk scores

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

Affected products

VendorProductVersions
LinuxLinuxc58305af1835095ddc25ee6f548ac05915e66ac5, c58305af1835095ddc25ee6f548ac05915e66ac5, c58305af1835095ddc25ee6f548ac05915e66ac5
LinuxLinux4.9, 0, 4.19.320
amazon:2023kernel-livepatch-6.1.106-116.1880
amazon:2023python3-perf0
linuxlinux_kernel4.9, 4.9, 4.9
amazon:2023bpftool0
amazon:2023perf0
amazon:2023kernel-tools-devel0
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023kernel-libbpf0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-modules-extra0
LinuxLinux*, 0, *
amazon:2023kernel-headers0
amazon:2023kernel-devel0

Timeline

  • Aug 14, 2024 CVE Published
  • Aug 15, 2024 EPSS Score (30 in total, the first dated here)
  • Sep 24, 2024 PoC Published
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 6, 2025 CVE Updated
  • Jan 6, 2026 Security Advisory (46 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (44 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42259
vulnetix vdb fixes CVE-2024-42259

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42259/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›