CVE-2020-25221

kernel: incorrect vsyscall page reference counting in get_gate_page function in mm/gup.c

Published Sep 10, 2020 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-17911 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.
History

No history.

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

  • CWE-672

    Operation on a Resource after Expiration or Release

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 3:33 PM
Reserved
Sep 10, 2020, 12:00 AM
Status
Modified
Published
Sep 10, 2020, 2:15 PM
Modified
Jun 17, 2026, 3:06 AM
Severity
Moderate
Public date
Sep 8, 2020, 12:00 AM