CVE-2025-38325 ksmbd: add free_transport ops in ksmbd connection

Critical 9.8 Published Updated

A missing free_transport operation in the Linux kernel ksmbd module causes a kernel oops, leading to denial of service.

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-38325?

CVE-2025-38325 is a critical vulnerability in Linux kernel, published on 10 Jul 2025. 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:

ksmbd: add free_transport ops in ksmbd connection

free_transport function for tcp connection can be called from smbdirect. It will cause kernel oops. This patch add free_transport ops in ksmbd connection, and add each free_transports for tcp and smbdirect.

Which versions are affected by CVE-2025-38325?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38325?

Apply the vendor's patch.

Is CVE-2025-38325 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38325, DEBIAN-CVE-2025-38325, GHSA-mf4c-hrq6-7vxq, UBUNTU-CVE-2025-38325.

Is CVE-2025-38325 in your software?

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

Check your SBOMs for free