CVE-2020-25221 json
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 count…
published 2020-09-10 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-17911
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 5.8.7
- linux Debian 14, Debian 13, Debian 12 5.8.7-1
debian advisories DEBIAN-CVE-2020-25221
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-25221 updated cvss 7.8
kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-672 Operation on a Resource after Expiration or Release
- Technology feeds
References
-
openwall.com
/lists/oss-security/2020/09/08/4
mailing-list, patch, third-party-advisory
-
git.kernel.org
/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2
issue-tracking, patch, vendor-advisory
-
git.kernel.org
/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73a
issue-tracking, patch, vendor-advisory
-
cdn.kernel.org
/pub/linux/kernel/v5.x/ChangeLog-5.8.7
release-notes, vendor-advisory
-
openwall.com
/lists/oss-security/2020/09/10/4
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20201001-0003/
third-party-advisory
Sources
- CVE List CVE-2020-25221
- NVD CVE-2020-25221
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.