CVE-2020-25221
published 2020-09-10CVE-2020-25221: 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…
PriorityP339high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.67%
48.3th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.8.7-1 (bookworm) | linux 5.8.7-1 (bookworm) |
| linux | linux_kernel | >= 0 < 5.8.7-1 | 5.8.7-1 |
| linux | linux_kernel | >= 0 < 5.8.7-1 | 5.8.7-1 |
| linux | linux_kernel | >= 0 < 5.8.7-1 | 5.8.7-1 |
| linux | linux_kernel | >= 0 < 5.8.7-1 | 5.8.7-1 |
| linux | linux_kernel | >= 5.7.0 < 5.8.7 | 5.8.7 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-442r-3r9f-48cm: get_gate_page in mm/gup
ghsa_unreviewed·2022-05-24
CVE-2020-25221 [HIGH] CWE-672 GHSA-442r-3r9f-48cm: get_gate_page in mm/gup
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.
OSV
CVE-2020-25221: get_gate_page in mm/gup
osv·2020-09-10·CVSS 7.8
CVE-2020-25221 [HIGH] CVE-2020-25221: get_gate_page in mm/gup
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.
Red Hat
kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c
vendor_redhat·2020-09-08·CVSS 7.8
CVE-2020-25221 [HIGH] CWE-190 kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c
kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c
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.
A flaw was found in the get_gate_page in mm/gup.c in the Linux kernel, where it allows privilege escalation due to incorrect reference counting (caused by gate page mishandling) of the struct page that backs the vsyscall page. The result is a refcount underflow. This flaw is triggered by any 64-bit process that can use ptrace() or pro
Debian
CVE-2020-25221: linux - get_gate_page in mm/gup.c in the Linux kernel 5.7.x and 5.8.x before 5.8.7 allow...
vendor_debian·2020·CVSS 7.8
CVE-2020-25221 [HIGH] CVE-2020-25221: linux - get_gate_page in mm/gup.c in the Linux kernel 5.7.x and 5.8.x before 5.8.7 allow...
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.
Scope: local
bookworm: resolved (fixed in 5.8.7-1)
bullseye: resolved (fixed in 5.8.7-1)
forky: resolved (fixed in 5.8.7-1)
sid: resolved (fixed in 5.8.7-1)
trixie: resolved (fixed in 5.8.7-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-25221 kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c
bugzilla·2020-10-01·CVSS 7.8
CVE-2020-25221 [HIGH] CVE-2020-25221 kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c
CVE-2020-25221 kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c
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().
References:
https://www.openwall.com/lists/oss-security/2020/09/08/4
https://www.openwall.com/lists/oss-security/2020/09/10/4
Upstream patches:
https://git.kernel.org/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73a
https://git.kernel.org/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2
Discussion:
Created kernel tracking bugs for this issue
Bugzilla
CVE-2020-25221 kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c [fedora-all]
bugzilla·2020-10-01·CVSS 7.8
CVE-2020-25221 [HIGH] CVE-2020-25221 kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c [fedora-all]
CVE-2020-25221 kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this is
http://www.openwall.com/lists/oss-security/2020/09/10/4https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.7https://git.kernel.org/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73ahttps://git.kernel.org/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2https://security.netapp.com/advisory/ntap-20201001-0003/https://www.openwall.com/lists/oss-security/2020/09/08/4http://www.openwall.com/lists/oss-security/2020/09/10/4https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.7https://git.kernel.org/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73ahttps://git.kernel.org/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2https://security.netapp.com/advisory/ntap-20201001-0003/https://www.openwall.com/lists/oss-security/2020/09/08/4
2020-09-10
Published