CVE-2024-42259
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.1.106-116.188 | Amazon Linux | 1.0-0.amzn2023 |
| python3-perf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| linux_kernel | linux | 6.10.5, 6.6.46, 6.1.106, 5.15.165, 5.10.224, 5.4.282, 4.19.320 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c58305af1835095ddc25ee6f548ac05915e66ac5, c58305af1835095ddc25ee6f548ac05915e66ac5, c58305af1835095ddc25ee6f548ac05915e66ac5 |
| Linux | Linux | 4.9, 0, 4.19.320 |
| amazon:2023 | kernel-livepatch-6.1.106-116.188 | 0 |
| amazon:2023 | python3-perf | 0 |
| linux | linux_kernel | 4.9, 4.9, 4.9 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| Linux | Linux | *, 0, * |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
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