CVE-2025-71204 smb/server: fix refcount leak in parse_durable_handle_context()

High 7.5 Published Updated

A refcount leak in the Linux kernel SMB server can lead to resource exhaustion and denial of service during replay operations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-71204?

CVE-2025-71204 is a high-severity memory corruption vulnerability in Linux kernel, published on 14 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

smb/server: fix refcount leak in parse_durable_handle_context()

When the command is a replay operation and -ENOEXEC is returned, the refcount of ksmbd_file must be released.

Which versions are affected by CVE-2025-71204?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-71204?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-71204 being exploited?

There is no known exploitation of CVE-2025-71204 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-71204, DEBIAN-CVE-2025-71204, GHSA-rm73-jpvr-q26q, ROOT-OS-DEBIAN-13-CVE-2025-71204, ROOT-OS-UBUNTU-2204-CVE-2025-71204, ROOT-OS-UBUNTU-2404-CVE-2025-71204 and 1 more.

Is CVE-2025-71204 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free