CVE-2024-42259

Aliases:UBUNTU-CVE-2024-42259DEBIAN-CVE-2024-42259
Advisory lineage Upstream: 0 Downstream: 33
Modified
Published: 14 Aug 2024, 14:50
Last modified:05 Aug 2026, 11:36

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (cve.org)
EPSS Score
0.27% LOW
0% probability +0.24%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

14 Aug 2024, 14:50
Published
Vulnerability first disclosed
05 Aug 2026, 11:36
Last Modified
Vulnerability 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

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.27% Percentile: 19%

Techniques & Countermeasures

  • CWE-131Incorrect Calculation of Buffer Size

    The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.

Affected Systems

  • debianlinux

    < 5.10.226-1 | < 6.1.106-1 | < 6.10.6-1 | < 6.10.6-1

  • debianlinux-6.1

    < 6.1.119-1~deb11u1

  • ubuntulinux

    all | < 5.4.0-200.220 | < 5.15.0-125.135 | < 6.8.0-50.51

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | < 5.4.0-1135.145 | < 5.15.0-1072.78 | < 6.8.0-1020.22

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1072.78~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1135.145~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1020.22~22.04.1

  • ubuntulinux-aws-fips

    all | < 5.4.0-1135.145+fips1 | < 5.15.0-1072.78+fips1

  • ubuntulinux-aws-hwe

    all

  • ubuntulinux-azure

    all | all | < 5.4.0-1140.147 | < 5.15.0-1075.84 | < 6.8.0-1020.23

  • ubuntulinux-azure-4.15

    all

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1078.87~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1140.147~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1020.23~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    all | < 5.4.0-1140.147+fips1 | < 5.15.0-1075.84+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1095.102 | < 5.15.0-1056.58

  • ubuntulinux-fips

    all | < 5.4.0-1109.119 | < 5.15.0-125.135+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    all | all | < 5.4.0-1139.148 | < 5.15.0-1071.79 | < 6.8.0-1019.21

  • ubuntulinux-gcp-4.15

    all

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1071.79~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1139.148~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1019.21~22.04.1

  • ubuntulinux-gcp-fips

    all | < 5.4.0-1139.148+fips1 | < 5.15.0-1071.79+fips1

Showing first 50 affected entries in server-rendered view.

References (32)