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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-20T09:47:54.391Z
- Modified: 2026-10-15T01:18:18.317Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6bd33e1ece528f67646db33bf97406b747dafda0 before 04bf2e5f95c1a52e28a7567a507f926efe31c3b6; from 6bd33e1ece528f67646db33bf97406b747dafda0 before 52e8a42b11078d2aad4b9ba96503d77c7299168b; from 6bd33e1ece528f67646db33bf97406b747dafda0 before 4201b8c8f2c32af321fb50867e68ac6c1cbed4be; from 6bd33e1ece528f67646db33bf97406b747dafda0 before a0f0dbbb1bc49fa0de18e92c36492ff6d804cdaa; from 6bd33e1ece528f67646db33bf97406b747dafda0 before efdcfa554b6eb228943ef1dd4d023c606be647d2; from 6bd33e1ece528f67646db33bf97406b747dafda0 before 6065e736f82c817c9a597a31ee67f0ce4628e948; 5.5 (not affected: before 5.5; from 5.10.216 up to 5.10.*; from 5.15.158 up to 5.15.*; from 6.1.90 up to 6.1.*; from 6.6.30 up to 6.6.*; from 6.8.9 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.5 before 5.10.216; from 5.11 before 5.15.158; from 5.16 before 6.1.90; from 6.2 before 6.6.30; from 6.7 before 6.8.9; 6.9
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/04bf2e5f95c1a52e28a7567a507f926efe31c3b6> (patch)
- <https://git.kernel.org/stable/c/52e8a42b11078d2aad4b9ba96503d77c7299168b> (patch)
- <https://git.kernel.org/stable/c/4201b8c8f2c32af321fb50867e68ac6c1cbed4be> (patch)
- <https://git.kernel.org/stable/c/a0f0dbbb1bc49fa0de18e92c36492ff6d804cdaa> (patch)
- <https://git.kernel.org/stable/c/efdcfa554b6eb228943ef1dd4d023c606be647d2> (patch)
- <https://git.kernel.org/stable/c/6065e736f82c817c9a597a31ee67f0ce4628e948> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-35988](https://www.cve.org/CVERecord?id=CVE-2024-35988), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35988](https://nvd.nist.gov/vuln/detail/CVE-2024-35988), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35988 · Whole record: https://cve.day/CVE-2024-35988.json · Rebuilt by cve.day 2026-11-25T22:58:40.654Z
