Operation on a Resource after Expiration or Release in Linux kernel - CVE-2020-25221

 

Operation on a Resource after Expiration or Release in Linux kernel - CVE-2020-25221

Published: April 7, 2021 / Updated: August 23, 2021


Vulnerability identifier: #VU51946
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-25221
CWE-ID: CWE-672
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to incorrect reference counting caused by gate page mishandling of the struct page that backs the vsyscall page in get_gate_page() function  in mm/gup.c. A local user can trigger refcount underflow and escalate privileges on the system.


Affected software

Linux kernel

How to mitigate CVE-2020-25221

Install updates from vendor's website.

Linux kernel - update to 5.8.7

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins