CVE-2024-42259: drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
Vulnerability summary
CVE-2024-42259 is a high (CVSS 7.8) Incorrect Calculation of Buffer Size vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 31 · Related 27Timeline
- 14-08-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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)
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu128 products
- linuxAll versions (No fix recorded) | < 5.4.0-200.220 | < 5.15.0-125.135 | < 6.8.0-50.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1135.145 | < 5.15.0-1072.78 | < 6.8.0-1020.22
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < 3e06073d24807f04b4694108a8474decb7b99e60 | ≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < a256d019eaf044864c7e50312f0a65b323c24f39 | ≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < 50111a8098fb9ade621eeff82228a997d42732ab | ≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < 911f8055f175c82775d0fd8cedcd0b75413f4ba7 | ≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b | ≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < 4b09513ce93b3dcb590baaaff2ce96f2d098312d | ≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < ead9289a51ea82eb5b27029fcf4c34b2dd60cf06 | ≥ c58305af1835095ddc25ee6f548ac05915e66ac5, < 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 | 4.9
- linux_kernel≥ 4.9, < 4.19.320 | ≥ 4.20, < 5.4.282 | ≥ 5.5, < 5.10.224 | ≥ 5.11, < 5.15.165 | ≥ 5.16, < 6.1.106 | ≥ 6.2, < 6.6.46 | ≥ 6.7, < 6.10.5
Debian1 product
- linux< 6.1.106-1 | < 6.10.6-1
3 vendors · 131 products