Vendors › Linux

CVE-2024-40915

N/A (no CVSS assigned) EPSS 0.2% Linux · arch

Linux kernel: riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context

A kernel vulnerability in the arch code (arch/riscv/mm/pageattr.c), assigned CVE-2024-40915: riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context. Introduced in kernel 5.7; Fixed in 6.1.95 / 6.6.35 / 6.9.6 / 6.10.

Published2024-07-12
Updated2024-07-12
AffectedLinux kernel 5.7 and later, before the fix (fixed in 6.1.95 / 6.6.35 / 6.9.6 / 6.10)
FixUpdate to kernel 6.1.95 / 6.6.35 / 6.9.6 / 6.10 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2024-40915

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-40915———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.