CVE-2024-42259 json
drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
published 2024-08-14 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-39482
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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)
Patch / fix
- Linux Linux 4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.106, 6.6.46, 6.10.5, 6.11
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
- linux Debian 12 6.1.106-1
- linux Debian 14, Debian 13 6.10.6-1
debian advisories DEBIAN-CVE-2024-42259
- linux Ubuntu 20.04 LTS 5.4.0-200.220
- linux Ubuntu 22.04 LTS 5.15.0-125.135
- linux Ubuntu 24.04 LTS 6.8.0-50.51
- linux-aws Ubuntu 20.04 LTS 5.4.0-1135.145
- linux-aws Ubuntu 22.04 LTS 5.15.0-1072.78
- linux-aws Ubuntu 24.04 LTS 6.8.0-1020.22
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1139.148
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1071.79
ubuntu advisories UBUNTU-CVE-2024-42259
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.0 6.4.0-10.1
- kernel-source-rt Linux Micro 6.0 6.4.0-10.1
- kernel-livepatch-MICRO-6-0-RT_Update_2 Linux Micro 6.0 1-1.1
- kernel-source Linux Micro 6.0 6.4.0-19.1
- kernel-default Linux Micro 6.0 6.4.0-19.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-19.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-livepatch-MICRO-6-0_Update_2 Linux Micro 6.0 1-1.1
suse advisories SUSE-SU-2025:20047-1SUSE-SU-2025:20044-1SUSE-SU-2024:3592-1SUSE-SU-2024:3587-1SUSE-SU-2024:3569-1SUSE-SU-2024:3383-1
- git.kernel.org/stable/c/3e06073d24807f04b4694108a8474decb7b99e60 commit
- git.kernel.org/stable/c/a256d019eaf044864c7e50312f0a65b323c24f39 commit
- git.kernel.org/stable/c/50111a8098fb9ade621eeff82228a997d42732ab commit
- git.kernel.org/stable/c/911f8055f175c82775d0fd8cedcd0b75413f4ba7 commit
- git.kernel.org/stable/c/e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b commit
- git.kernel.org/stable/c/4b09513ce93b3dcb590baaaff2ce96f2d098312d commit
- git.kernel.org/stable/c/ead9289a51ea82eb5b27029fcf4c34b2dd60cf06 commit
- git.kernel.org/stable/c/8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-42259 updated cvss 4.1
kernel: drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-102-01 updated cvss 5.5
Siemens SIMATIC S7-1500 TM MFP
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystemaffected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classification
- Weakness
-
- CWE-131 Incorrect Calculation of Buffer Size
- Technology feeds
References
-
git.kernel.org
/stable/c/3e06073d24807f04b4694108a8474decb7b99e60
patch
-
git.kernel.org
/stable/c/a256d019eaf044864c7e50312f0a65b323c24f39
patch
-
git.kernel.org
/stable/c/50111a8098fb9ade621eeff82228a997d42732ab
patch
-
git.kernel.org
/stable/c/911f8055f175c82775d0fd8cedcd0b75413f4ba7
patch
-
git.kernel.org
/stable/c/e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b
patch
-
git.kernel.org
/stable/c/4b09513ce93b3dcb590baaaff2ce96f2d098312d
patch
-
git.kernel.org
/stable/c/ead9289a51ea82eb5b27029fcf4c34b2dd60cf06
patch
-
git.kernel.org
/stable/c/8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3
patch
- project-zero.issues.chromium.org /issues/42451707
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
- lists.debian.org /debian-lts-announce/2024/10/msg00003.html
- cert-portal.siemens.com /productcert/html/ssa-265688.html
Sources
- CVE List CVE-2024-42259
- NVD CVE-2024-42259
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.