Use After Free Affecting torvalds/linux package, versions [4.13,4.14.237)[4.15,4.19.195)[4.20,5.4.126)[5.5,5.10.44)[5.11,5.12.11)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (52nd 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-20571728
  • published8 Oct 2026
  • disclosed21 May 2024
  • creditUnknown

Introduced: 21 May 2024

CVE-2021-47259  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.14.237, 4.19.195, 5.4.126, 5.10.44, 5.12.11 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the nfs4_init_client process. An attacker can achieve arbitrary kernel memory disclosure, arbitrary write, control-flow hijacking, or cause a kernel panic by mounting two different exports through two different NICs belonging to the same server, or by driving NFSv4 referral or migration to a trunking-matched address. This is only exploitable if the attacker can trigger NFSv4 referral/submount automounts or migration on an already-mounted export.

Note: The Linux kernel project assigns a CVE to every bug fix it ships, whether or not the bug has been shown to be exploitable. This advisory was generated from that process and has not been individually assessed for exploitability. See the kernel's CVE process documentation: https://github.com/torvalds/linux/blob/master/Documentation/process/cve.rst

CVSS Base Scores

version 4.0
version 3.1