CVE-2024-42259
drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
Mitigation
- Upgrade Linux to 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 or later.
Who should check
- Anyone running Linux >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 3e06073d24807f04b4694108a8474decb7b99e60; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < a256d019eaf044864c7e50312f0a65b323c24f39; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 50111a8098fb9ade621eeff82228a997d42732ab; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 911f8055f175c82775d0fd8cedcd0b75413f4ba7; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 4b09513ce93b3dcb590baaaff2ce96f2d098312d; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < ead9289a51ea82eb5b27029fcf4c34b2dd60cf06; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3
- Anyone running Linux 4.9
Vulnerability facts
- Affected
- Linux >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 3e06073d24807f04b4694108a8474decb7b99e60; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < a256d019eaf044864c7e50312f0a65b323c24f39; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 50111a8098fb9ade621eeff82228a997d42732ab; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 911f8055f175c82775d0fd8cedcd0b75413f4ba7; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 4b09513ce93b3dcb590baaaff2ce96f2d098312d; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < ead9289a51ea82eb5b27029fcf4c34b2dd60cf06; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3; Linux 4.9
- Fixed in
- Linux 3e06073d24807f04b4694108a8474decb7b99e60, Linux 50111a8098fb9ade621eeff82228a997d42732ab, Linux 911f8055f175c82775d0fd8cedcd0b75413f4ba7, Linux 4b09513ce93b3dcb590baaaff2ce96f2d098312d, Linux 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-131
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 3e06073d24807f04b4694108a8474decb7b99e60; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < a256d019eaf044864c7e50312f0a65b323c24f39; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 50111a8098fb9ade621eeff82228a997d42732ab; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 911f8055f175c82775d0fd8cedcd0b75413f4ba7; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 4b09513ce93b3dcb590baaaff2ce96f2d098312d; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < ead9289a51ea82eb5b27029fcf4c34b2dd60cf06; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 | — | cvelist |
| Linux | 4.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42259. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42259.md Affected: Linux >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 3e06073d24807f04b4694108a8474decb7b99e60; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < a256d019eaf044864c7e50312f0a65b323c24f39; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 50111a8098fb9ade621eeff82228a997d42732ab; >= c58305af1835095ddc25ee6… Fixed in: Linux 3e06073d24807f04b4694108a8474decb7b99e60, Linux 50111a8098fb9ade621eeff82228a997d42732ab, Linux 911f8055f175c82775d0fd8cedcd0b75413f4ba7, Linux 4b09513ce93b3dcb590baaaff2ce96f2d098312d, Linux 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/3e06073d24807f04b4694108a8474decb7b99e60
- https://git.kernel.org/stable/c/a256d019eaf044864c7e50312f0a65b323c24f39
- https://git.kernel.org/stable/c/50111a8098fb9ade621eeff82228a997d42732ab
- https://git.kernel.org/stable/c/911f8055f175c82775d0fd8cedcd0b75413f4ba7
- https://git.kernel.org/stable/c/e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b
- https://git.kernel.org/stable/c/4b09513ce93b3dcb590baaaff2ce96f2d098312d
- https://git.kernel.org/stable/c/ead9289a51ea82eb5b27029fcf4c34b2dd60cf06
- https://git.kernel.org/stable/c/8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3
FAQ
Is CVE-2024-42259 being exploited?
There is no confirmed exploitation: CVE-2024-42259 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42259?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-42259?
Linux >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 3e06073d24807f04b4694108a8474decb7b99e60; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < a256d019eaf044864c7e50312f0a65b323c24f39; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 50111a8098fb9ade621eeff82228a997d42732ab; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 911f8055f175c82775d0fd8cedcd0b75413f4ba7; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 4b09513ce93b3dcb590baaaff2ce96f2d098312d; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < ead9289a51ea82eb5b27029fcf4c34b2dd60cf06; >= c58305af1835095ddc25ee6f548ac05915e66ac5, < 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3; Linux 4.9.
Is there a fix for CVE-2024-42259?
Yes. Fixed in Linux 3e06073d24807f04b4694108a8474decb7b99e60, Linux 50111a8098fb9ade621eeff82228a997d42732ab, Linux 911f8055f175c82775d0fd8cedcd0b75413f4ba7, Linux 4b09513ce93b3dcb590baaaff2ce96f2d098312d, Linux 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3. Upgrade Linux to 8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 or later.
How do I check if I'm affected by CVE-2024-42259?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.