CVEfocus › CVE database › CVE-2020-25221

CVE-2020-25221

CVSS 7.8 HighEPSS 0.7% (higher than 47% of CVEs)Published 2020-09-10Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
14Will not fix
107Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04linux-oem-5.6Not affected
vulnerable_code_not_present
Ubuntu 20.04linux-raspi2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 20.04linux-riscvNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-aws-5.0Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-aws-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-azureWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-azure-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-azure-edgeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-gcpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-gcp-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-gcp-edgeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-gke-4.15Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-gke-5.0Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-gke-5.3Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-hwe-edgeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-oemNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-oem-osp1Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-oracle-5.0Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-oracle-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 18.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-raspi2-5.3Not affected
vulnerable_code_not_present
Ubuntu 16.04linuxNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-aws-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-azureNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-gcpNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hwe-edgeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-25221
Ubuntu 16.04linux-kvmNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-oemWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 16.04linux-oracleNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 16.04linux-snapdragonNot affected
vulnerable_code_not_present
Ubuntu 14.04linuxFix pendingUBUNTU-CVE-2020-25221
Ubuntu 14.04linux-awsFix pendingUBUNTU-CVE-2020-25221
Ubuntu 14.04linux-azureFix pendingUBUNTU-CVE-2020-25221
Ubuntu 14.04linux-lts-xenialFix pendingUBUNTU-CVE-2020-25221
Debian 14linuxFixed5.8.7-1DEBIAN-CVE-2020-25221
Debian 13linuxFixed5.8.7-1DEBIAN-CVE-2020-25221
Debian 12linuxFixed5.8.7-1DEBIAN-CVE-2020-25221
Red Hat Enterprise Linux 8bpftoolNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-abi-stablelistsNot affected
Red Hat Enterprise Linux 8kernel-abi-whitelistsNot affected
Red Hat Enterprise Linux 8kernel-coreNot affected
Red Hat Enterprise Linux 8kernel-cross-headersNot affected
Red Hat Enterprise Linux 8kernel-debugNot affected
Red Hat Enterprise Linux 8kernel-debug-coreNot affected
Red Hat Enterprise Linux 8kernel-debug-develNot affected
Red Hat Enterprise Linux 8kernel-debug-modulesNot affected
Red Hat Enterprise Linux 8kernel-debug-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-debug-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-develNot affected
Red Hat Enterprise Linux 8kernel-docNot affected
Red Hat Enterprise Linux 8kernel-headersNot affected
Red Hat Enterprise Linux 8kernel-ipaclones-internalNot affected
Red Hat Enterprise Linux 8kernel-modulesNot affected
Red Hat Enterprise Linux 8kernel-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 8kernel-rt-coreNot affected
Red Hat Enterprise Linux 8kernel-rt-debugNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-coreNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-develNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-kvmNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-modulesNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-rt-develNot affected
Red Hat Enterprise Linux 8kernel-rt-kvmNot affected
Red Hat Enterprise Linux 8kernel-rt-modulesNot affected
Red Hat Enterprise Linux 8kernel-rt-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-rt-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-rt-selftests-internalNot affected
Red Hat Enterprise Linux 8kernel-selftests-internalNot affected
Red Hat Enterprise Linux 8kernel-toolsNot affected
Red Hat Enterprise Linux 8kernel-tools-libsNot affected
Red Hat Enterprise Linux 8kernel-tools-libs-develNot affected
Red Hat Enterprise Linux 8kernel-zfcpdumpNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-coreNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-develNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modulesNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modules-internalNot affected
Red Hat Enterprise Linux 8perfNot affected
Red Hat Enterprise Linux 8python3-perfNot affected
Red Hat Enterprise Linux 7bpftoolNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-abi-whitelistsNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernel-bootwrapperNot affected
Red Hat Enterprise Linux 7kernel-debugNot affected
Red Hat Enterprise Linux 7kernel-debug-develNot affected
Red Hat Enterprise Linux 7kernel-develNot affected
Red Hat Enterprise Linux 7kernel-docNot affected
Red Hat Enterprise Linux 7kernel-headersNot affected
Red Hat Enterprise Linux 7kernel-kdumpNot affected
Red Hat Enterprise Linux 7kernel-kdump-develNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 7kernel-rt-debugNot affected
Red Hat Enterprise Linux 7kernel-rt-debug-develNot affected
Red Hat Enterprise Linux 7kernel-rt-debug-kvmNot affected
Red Hat Enterprise Linux 7kernel-rt-develNot affected
Red Hat Enterprise Linux 7kernel-rt-docNot affected
Red Hat Enterprise Linux 7kernel-rt-kvmNot affected
Red Hat Enterprise Linux 7kernel-rt-traceNot affected
Red Hat Enterprise Linux 7kernel-rt-trace-develNot affected
Red Hat Enterprise Linux 7kernel-rt-trace-kvmNot affected
Red Hat Enterprise Linux 7kernel-toolsNot affected
Red Hat Enterprise Linux 7kernel-tools-libsNot affected
Red Hat Enterprise Linux 7kernel-tools-libs-develNot affected
Red Hat Enterprise Linux 7perfNot affected
Red Hat Enterprise Linux 7python-perfNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 6kernel-abi-whitelistsNot affected
Red Hat Enterprise Linux 6kernel-bootwrapperNot affected
Red Hat Enterprise Linux 6kernel-debugNot affected
Red Hat Enterprise Linux 6kernel-debug-develNot affected
Red Hat Enterprise Linux 6kernel-develNot affected
Red Hat Enterprise Linux 6kernel-docNot affected
Red Hat Enterprise Linux 6kernel-firmwareNot affected
Red Hat Enterprise Linux 6kernel-headersNot affected
Red Hat Enterprise Linux 6kernel-kdumpNot affected
Red Hat Enterprise Linux 6kernel-kdump-develNot affected
Red Hat Enterprise Linux 6perfNot affected
Red Hat Enterprise Linux 6python-perfNot affected
Red Hat Enterprise Linux 5kernelNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.