# CVE-2024-35988: riscv: Fix TASK\_SIZE on 64-bit NOMMU

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-20 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-35988, DEBIAN-CVE-2024-35988
- Record: https://cvemate.com/vulnerability/CVE-2024-35988 · JSON: https://cvemate.com/vulnerability/CVE-2024-35988/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.21%, percentile 11.877%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 121)

- debian linux (Debian): \< 6.1.90-1 \| \< 6.8.9-1
- ubuntu linux (Ubuntu): \< 5.15.0-116.126 \| \< 6.8.0-40.40
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1065.71 \| \< 6.8.0-1013.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1065.71~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1013.14~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1065.71+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1068.77 \| \< 6.8.0-1012.14
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1068.77~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 25)

- <https://git.kernel.org/stable/c/04bf2e5f95c1a52e28a7567a507f926efe31c3b6>
- <https://git.kernel.org/stable/c/52e8a42b11078d2aad4b9ba96503d77c7299168b>
- <https://git.kernel.org/stable/c/4201b8c8f2c32af321fb50867e68ac6c1cbed4be>
- <https://git.kernel.org/stable/c/a0f0dbbb1bc49fa0de18e92c36492ff6d804cdaa>
- <https://git.kernel.org/stable/c/efdcfa554b6eb228943ef1dd4d023c606be647d2>
- <https://git.kernel.org/stable/c/6065e736f82c817c9a597a31ee67f0ce4628e948>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://ubuntu.com/security/CVE-2024-35988>
- <https://www.cve.org/CVERecord?id=CVE-2024-35988>
- <https://git.kernel.org/linus/6065e736f82c817c9a597a31ee67f0ce4628e948>
- <https://ubuntu.com/security/notices/USN-6898-1>
- <https://ubuntu.com/security/notices/USN-6898-2>
- <https://ubuntu.com/security/notices/USN-6898-3>
- <https://ubuntu.com/security/notices/USN-6898-4>
- <https://ubuntu.com/security/notices/USN-6917-1>
- <https://ubuntu.com/security/notices/USN-6919-1>
- <https://ubuntu.com/security/notices/USN-6927-1>
- <https://ubuntu.com/security/notices/USN-6949-1>
- <https://ubuntu.com/security/notices/USN-6952-1>

---

Data as of 2026-12-05T04:23:40.285Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
