Skip to content
OpenAdvisories
Unscored CVE-2020-25221 EUVD-2020-17911GHSA-442r-3r9f-48cm

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 Sep 10, 2020 · Updated Aug 4, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.8.7-1 —
Debian 13 linux 5.8.7-1 —
Debian 12 linux 5.8.7-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS linux-raspi2 No fix yet —
Ubuntu 18.04 LTS linux-gcp +10 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS linux +3 No fix yet —

References