CVE-2024-46792Published Sep 18, 2024 · Sep 18Updated Oct 28
riscv: misaligned: Restrict user access to kernel memory
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
riscv: misaligned: Restrict user access to kernel memory
raw_copy_{to,from}_user() do not call access_ok(), so this code allowed userspace to access any virtual memory address.
From the CVE record · Linux
RISC-V misaligned handling in the Linux kernel used raw_copy_{to,from}_user() without calling access_ok(). A local userspace process could access any virtual memory address, including kernel memory.
Engineers running Linux on RISC-V systems should check their kernel versions; affected versions were not specified.