{"id":"CVE-2023-52677","summary":"riscv: Check if the code to patch lies in the exit section","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: Check if the code to patch lies in the exit section\n\nOtherwise we fall through to vmalloc_to_page() which panics since the\naddress does not lie in the vmalloc region.","modified":"2026-05-18T05:56:51.907957454Z","published":"2024-05-17T14:24:42.051Z","related":["USN-6818-2","USN-6819-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52677.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1d7a03052846f34d624d0ab41a879adf5e85c85f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/420370f3ae3d3b883813fd3051a38805160b2b9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/890cfe5337e0aaf03ece1429db04d23c88da72e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8db56df4a954b774bdc68917046a685a9fa2e4bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/938f70d14618ec72e10d6fcf8a546134136d7c13"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52677.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52677"},{"type":"PACKAGE","url":"https://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":"043cb41a85de1c0e944da61ad7a264960e22c865"},{"fixed":"938f70d14618ec72e10d6fcf8a546134136d7c13"},{"fixed":"890cfe5337e0aaf03ece1429db04d23c88da72e7"},{"fixed":"8db56df4a954b774bdc68917046a685a9fa2e4bc"},{"fixed":"1d7a03052846f34d624d0ab41a879adf5e85c85f"},{"fixed":"420370f3ae3d3b883813fd3051a38805160b2b9f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52677.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.0"},{"fixed":"5.15.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.7.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52677.json"}}],"schema_version":"1.7.5"}