Operation on a Resource after Expiration or Release Affecting torvalds/linux package, versions [5.7.0,5.8.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3004767
  • published26 Jan 2022
  • disclosed10 Sept 2020
  • creditUnknown

Introduced: 10 Sep 2020

CVE-2020-25221  (opens in a new tab)
CWE-672  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.8.7 or higher.

Overview

Affected versions of this package are vulnerable to Operation on a Resource after Expiration or Release 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.

References

CVSS Base Scores

version 3.1