Linux Kernel ksmbd smbDirect Data Transfer Validation Vulnerability

Vulnerability

A vulnerability in the Linux kernel's ksmbd component has been addressed. This issue involved the smb_direct_data_transfer structure, where invalid data_offset and data_length values could lead to out-of-bounds problems. The vulnerability has been fixed by adding validation for these fields in the 'recv_done' function.

Impact

The vulnerability could have caused out-of-bounds issues, potentially leading to memory corruption or other unintended behavior.

Reproduction

The vulnerability could be reproduced by sending an smb_direct_data_transfer message with invalid data_offset and data_length values. This would trigger the 'recv_done' function to process the message without proper validation, causing an out-of-bounds condition.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archive.

Added: Oct 4, 2025, 8:31 AM
Updated: Oct 4, 2025, 8:31 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.6
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.