CVE-2024-35988
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35988 affects the Linux kernel's RISC-V architecture implementation. The vulnerability was discovered in May 2024 and involves an incorrect definition of TASK_SIZE on 64-bit NOMMU systems. On NOMMU systems, userspace memory can come from anywhere in physical RAM, and the current definition of TASK_SIZE was incorrect if any RAM exists above 4G, causing spurious failures in the userspace access routines (Kernel Git).

Technical details

The vulnerability stems from an incorrect definition of TASK_SIZE in the RISC-V architecture's memory management code. The original implementation defined TASK_SIZE as 0xffffffffUL, which was insufficient for systems with RAM above 4GB. The fix changes this to _AC(-1, UL) to properly handle the full address space (Kernel Git).

Impact

The vulnerability can cause spurious failures in userspace access routines when running on RISC-V 64-bit systems with NOMMU configuration and RAM existing above 4GB (NVD).

Exploitability

The vulnerability requires a specific hardware configuration (RISC-V 64-bit with NOMMU) and the presence of RAM above 4GB to be exploitable. No active exploits have been reported in the wild (Ubuntu).

Mitigation and workarounds

The issue has been fixed in multiple Linux kernel versions. Ubuntu has released patches for various kernel versions including 6.8.0-40.40 for 24.04 LTS and 5.15.0-116.126 for 22.04 LTS. The fix involves updating the TASK_SIZE definition in the kernel source code (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-core
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management