# CVE-2020-25221: getgatepage in mm/gup.c in the Linux kernel 5.7.x and 5.8.x before 5.8.7 allows privilege escalation because of incorrect reference countin…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2020-09-10T13:39:59.000Z
- Modified: 2026-06-17T03:06:36.877Z
- Weaknesses: CWE-672
- Assigned by: mitre

## Description

get_gate_page in mm/gup.c in the Linux kernel 5.7.x and 5.8.x before 5.8.7 allows privilege escalation because of incorrect reference counting (caused by gate page mishandling) of the struct page that backs the vsyscall page. The result is a refcount underflow. This can be triggered by any 64-bit process that can use ptrace() or process_vm_readv(), aka CID-9fa2dd946743.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 5.7.0 before 5.8.7
- netapp cloud_backup: no versions given
- netapp solidfire,_enterprise_sds_&_hci_storage_node: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- netapp hci_compute_node: no versions given
- netapp solidfire_baseboard_management_controller: no versions given

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://www.openwall.com/lists/oss-security/2020/09/08/4> (mailing-list, patch, third-party-advisory)
- <https://git.kernel.org/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2> (issue-tracking, patch, vendor-advisory)
- <https://git.kernel.org/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73a> (issue-tracking, patch, vendor-advisory)
- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.7> (release-notes, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2020/09/10/4> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20201001-0003/> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-25221](https://www.cve.org/CVERecord?id=CVE-2020-25221), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-25221](https://nvd.nist.gov/vuln/detail/CVE-2020-25221), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-25221 · Whole record: https://cve.day/CVE-2020-25221.json · Rebuilt by cve.day 2026-11-25T22:57:54.588Z
