CVE-2024-46792

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46792
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46792.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46792
Downstream
Published
2024-09-18T07:12:47Z
Modified
2025-10-22T02:33:59.853623Z
Summary
riscv: misaligned: Restrict user access to kernel memory
Details

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

riscv: misaligned: Restrict user access to kernel memory

rawcopy{to,from}user() do not call accessok(), so this code allowed userspace to access any virtual memory address.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7c83232161f609bbc452a1255f823f41afc411dd
Fixed
a3b6ff6c896aee5ef9b581e40d0045ff04fcbc8c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7c83232161f609bbc452a1255f823f41afc411dd
Fixed
b686ecdeacf6658e1348c1a32a08e2e72f7c0f00

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.10.8
v6.10.9
v6.11-rc1
v6.11-rc2
v6.6
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.10