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.0: 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/E:P/U:Clear
CVE-ID: CVE-2020-25221
CWE-ID: CWE-672
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

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.


How to mitigate CVE-2020-25221

Install updates from vendor's website.

Sources