What’s Vulnerable › Vulnerabilities

CVE-2025-39943: ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.194, 6.1.154, 6.12.49, 6.16.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39943 or the next vulnerability affects your stack