# CVE-2023-52677: riscv: Check if the code to patch lies in the exit section

- 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-17 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-52677, DEBIAN-CVE-2023-52677
- Record: https://cvemate.com/vulnerability/CVE-2023-52677 · JSON: https://cvemate.com/vulnerability/CVE-2023-52677/json

## Description

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

riscv: Check if the code to patch lies in the exit section

Otherwise we fall through to vmalloc_to_page() which panics since the
address does not lie in the vmalloc region.
```

## 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.227%, percentile 14.29%, 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 108)

- debian linux (Debian): \< 6.1.76-1 \| \< 6.6.15-1
- ubuntu linux (Ubuntu): \< 5.15.0-102.112
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1057.63
- 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-1057.63~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-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1057.63+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1060.69
- 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-1060.69~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/938f70d14618ec72e10d6fcf8a546134136d7c13>
- <https://git.kernel.org/stable/c/890cfe5337e0aaf03ece1429db04d23c88da72e7>
- <https://git.kernel.org/stable/c/8db56df4a954b774bdc68917046a685a9fa2e4bc>
- <https://git.kernel.org/stable/c/1d7a03052846f34d624d0ab41a879adf5e85c85f>
- <https://git.kernel.org/stable/c/420370f3ae3d3b883813fd3051a38805160b2b9f>
- <https://ubuntu.com/security/CVE-2023-52677>
- <https://www.cve.org/CVERecord?id=CVE-2023-52677>
- <https://git.kernel.org/linus/420370f3ae3d3b883813fd3051a38805160b2b9f>
- <https://ubuntu.com/security/notices/USN-6818-1>
- <https://ubuntu.com/security/notices/USN-6819-1>
- <https://ubuntu.com/security/notices/USN-6818-2>
- <https://ubuntu.com/security/notices/USN-6819-2>
- <https://ubuntu.com/security/notices/USN-6819-3>
- <https://ubuntu.com/security/notices/USN-6818-3>
- <https://ubuntu.com/security/notices/USN-6818-4>
- <https://ubuntu.com/security/notices/USN-6819-4>
- <https://security-tracker.debian.org/tracker/CVE-2023-52677>

---

Data as of 2026-12-05T04:11:56.186Z. 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
