Double Free Affecting torvalds/linux package, versions [5.14.19,5.15)[5.15.3,5.16)[5.16,6.1.191)[6.2,6.6.74)[6.7,6.12.11)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (37th 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-20698606
  • published10 Oct 2026
  • disclosed31 Jan 2025
  • creditUnknown

Introduced: 31 Jan 2025

CVE-2025-21673  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.15, 5.16, 6.1.191, 6.6.74, 6.12.11 or higher.

Overview

Affected versions of this package are vulnerable to Double Free in the cifs_put_tcp_session process. An attacker can cause kernel memory corruption, information disclosure, and potential privilege escalation by forcing repeated reconnects and manipulating DFS referral targets over the network, leading to a double free of the hostname field. This can result in arbitrary kernel memory exposure to userspace and system instability or crash.

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