Vendors › Linux

CVE-2025-21673

Critical (9.8) EPSS 0.8% Linux · fs

Linux kernel: smb: client: fix double free of TCP_Server_Info::hostname

A vulnerability in the Linux kernel fs subsystem (fs/smb/client/connect.c), assigned CVE-2025-21673. The issue was introduced in kernel 5.16 and is fixed in 6.6.74, 6.12.11, 6.13. Updating to a fixed stable release resolves it.

Published2025-01-31
Updated2026-08-05
AffectedLinux kernel 5.16 and later, before the fix (fixed in 6.6.74, 6.12.11, 6.13)
FixUpdate to kernel 6.6.74, 6.12.11, 6.13 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2025-21673

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-21673CWE-415Memory CorruptionCode ExecutionNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.