CVE-2024-35988 riscv: Fix TASK_SIZE on 64-bit NOMMU

Medium 5.5 Published Updated

Incorrect TASK_SIZE definition in 64-bit NOMMU Linux kernels causes spurious failures in userspace access routines, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-35988?

CVE-2024-35988 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 20 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

riscv: Fix TASK_SIZE on 64-bit NOMMU

On NOMMU, userspace memory can come from anywhere in physical RAM. The current definition of TASK_SIZE is wrong if any RAM exists above 4G, causing spurious failures in the userspace access routines.

Which versions are affected by CVE-2024-35988?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-35988?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-35988 being exploited?

There is no known exploitation of CVE-2024-35988 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-35988, DEBIAN-CVE-2024-35988, GHSA-cqwh-fpfr-9p4j, UBUNTU-CVE-2024-35988.

Is CVE-2024-35988 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free