riscv: Fix TASK_SIZE on 64-bit NOMMU
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6bd33e1ece528f67646db33bf97406b747dafda0 · < 6065e736f82c817c9a597a31ee67f0ce4628e948| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel defines TASK_SIZE incorrectly on 64-bit RISC-V NOMMU systems when physical RAM exists above 4G. This can cause spurious failures in userspace access routines. The input does not describe an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running Linux on 64-bit RISC-V NOMMU systems with RAM above 4G should check their kernels; affected versions were not specified.