Use After Free Affecting torvalds/linux package, versions [5.5, 5.10.235)[5.11.0, 5.15.179)[6.0.0, 6.1.131)[6.2.0, 6.6.79)[6.7.0, 6.12.16)[6.13.0, 6.13.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (3rd 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-10339387
  • published12 Jun 2025
  • disclosed26 Feb 2025
  • creditMichael Hoefler

Introduced: 26 Feb 2025

CVE-2025-21756  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.10.235, 5.15.179, 6.1.131, 6.6.79, 6.12.16, 6.13.4 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free through socket unbinding during a transport reassignment. After freeing the vsock object, an attacker can leverage it to gain a better primitive and escalate privileges on the system. While there are limiting factors including AppArmor which ensures a crash before it can be leveraged, it is still possible to abuse the dangling pointer by using a skc_net overwrite to defeat kASLR and land at a known offset in the vsock object.

CVSS Base Scores

version 4.0
version 3.1