{"id":"CVE-2024-26795","aliases":["CVE-2024-26795"],"related":[],"kind":"vulnerability","state":"published","title":"riscv: Sparse-Memory/vmemmap out-of-bounds fix","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: Sparse-Memory/vmemmap out-of-bounds fix\n\nOffset vmemmap so that the first page of vmemmap will be mapped\nto the first page of physical memory in order to ensure that\nvmemmap’s bounds will be respected during\npfn_to_page()/page_to_pfn() operations.\nThe conversion macros will produce correct SV39/48/57 addresses\nfor every possible/valid DRAM_BASE inside the physical memory limits.\n\nv2:Address Alex's comments","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: Sparse-Memory/vmemmap out-of-bounds fix\n\nOffset vmemmap so that the first page of vmemmap will be mapped\nto the first page of physical memory in order to ensure that\nvmemmap’s bounds will be respected during\npfn_to_page()/page_to_pfn() operations.\nThe conversion macros will produce correct SV39/48/57 addresses\nfor every possible/valid DRAM_BASE inside the physical memory limits.\n\nv2:Address Alex's comments","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: riscv: Sparse-Memory/vmemmap fuera de los límites corrige Offset vmemmap para que la primera página de vmemmap se asigne a la primera página de la memoria física para garantizar que vmemmap Los límites se respetarán durante las operaciones pfn_to_page()/page_to_pfn(). Las macros de conversión producirán direcciones SV39/48/57 correctas para cada DRAM_BASE posible/válida dentro de los límites de la memoria física. v2: Abordar los comentarios de Alex","source":"nvd"}],"published":"2024-04-04T08:20:25.063Z","modified":"2026-08-05T11:27:18.433Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d95f1a542c3df396137afa217ef9bd39cb8931ca","fixed":"5941a90c55d3bfba732b32208d58d997600b44ef","status":"affected"},{"type":"git","introduced":"d95f1a542c3df396137afa217ef9bd39cb8931ca","fixed":"8310080799b40fd9f2a8b808c657269678c149af","status":"affected"},{"type":"git","introduced":"d95f1a542c3df396137afa217ef9bd39cb8931ca","fixed":"a278d5c60f21aa15d540abb2f2da6e6d795c3e6e","status":"affected"},{"type":"git","introduced":"d95f1a542c3df396137afa217ef9bd39cb8931ca","fixed":"2a1728c15ec4f45ed9248ae22f626541c179bfbe","status":"affected"},{"type":"git","introduced":"d95f1a542c3df396137afa217ef9bd39cb8931ca","fixed":"a11dd49dcb9376776193e15641f84fcc1e5980c9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.15.151","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.81","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.21","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.9","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4","fixed":"5.10.212"},{"status":"affected","introduced":"5.11","fixed":"5.15.151"},{"status":"affected","introduced":"5.16","fixed":"6.1.81"},{"status":"affected","introduced":"6.2","fixed":"6.6.21"},{"status":"affected","introduced":"6.7","fixed":"6.7.9"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-17T19:27:22.580Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26795","url":"https://www.cve.org/CVERecord?id=CVE-2024-26795","licence":"CVE Terms of Use","modified":"2026-08-05T11:27:18.433Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26795","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26795","licence":"Public domain","modified":"2026-08-04T11:17:05.813Z"}],"updatedAt":"2026-11-25T22:58:38.744Z","epss":{"score":0.00239,"percentile":0.16075,"date":"2026-12-01T12:00:22.000Z"}}