drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
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)
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.19.320, 5.10.224, 5.15.165, 5.4.282, 6.1.106, 6.10.5, 6.6.46
- CVEs
- CVE-2024-42259
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 21:39 UTC · Revision 1
Source evidence
drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
core-osv · Original sourcePublished 14 Aug 2024, 14:50 UTC
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)
osv:CVE-2024-42259
Kernel
Fixed versions: 4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.106, 6.6.46, 6.10.5
Complete source record
{
"id": "f4b34fead26b13d6761eaa4cb3daeb7d34fd86737848432ddcbd12f8741e8d84",
"url": "https://osv.dev/vulnerability/CVE-2024-42259",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/i915/gem: Fix Virtual Memory mapping boundaries calculation",
"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)",
"evidence": "osv:CVE-2024-42259",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.19.320",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.282",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.224",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.165",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.106",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.46",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-42259",
"aliases": [
"CVE-2024-42259"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c58305af1835095ddc25ee6f548ac05915e66ac5"
},
{
"fixed": "3e06073d24807f04b4694108a8474decb7b99e60"
},
{
"fixed": "a256d019eaf044864c7e50312f0a65b323c24f39"
},
{
"fixed": "50111a8098fb9ade621eeff82228a997d42732ab"
},
{
"fixed": "911f8055f175c82775d0fd8cedcd0b75413f4ba7"
},
{
"fixed": "e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b"
},
{
"fixed": "4b09513ce93b3dcb590baaaff2ce96f2d098312d"
},
{
"fixed": "ead9289a51ea82eb5b27029fcf4c34b2dd60cf06"
},
{
"fixed": "8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42259.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.9.0"
},
{
"fixed": "4.19.320"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.282"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.224"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.165"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.106"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.46"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42259.json"
}
}
],
"modified": "2026-10-28T02:30:39.961773728Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
"https://git.kernel.org/stable/c/3e06073d24807f04b4694108a8474decb7b99e60",
"https://git.kernel.org/stable/c/4b09513ce93b3dcb590baaaff2ce96f2d098312d",
"https://git.kernel.org/stable/c/50111a8098fb9ade621eeff82228a997d42732ab",
"https://git.kernel.org/stable/c/8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3",
"https://git.kernel.org/stable/c/911f8055f175c82775d0fd8cedcd0b75413f4ba7",
"https://git.kernel.org/stable/c/a256d019eaf044864c7e50312f0a65b323c24f39",
"https://git.kernel.org/stable/c/e8a68aa842d3f8dd04a46b9d632e5f67fde1da9b",
"https://git.kernel.org/stable/c/ead9289a51ea82eb5b27029fcf4c34b2dd60cf06",
"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://project-zero.issues.chromium.org/issues/42451707",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42259.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-42259",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42259.json"
}
},
"related_cves": [
{
"value": "CVE-2024-42259",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507403,
"published_at": "2024-08-14T14:50:49.844+00:00"
}