ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2ea086e35c3d726a3bacd0a971c1f02a50e98206 · < 5282491fc49d5614ac6ddcd012e5743eecb6a67c| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ksmbd smbdirect component did not validate the data_offset and data_length fields of an SMB Direct data transfer. Processing invalid values could cause an out-of-bounds access. The input does not specify authentication or user-interaction requirements.
Engineers running the Linux kernel with ksmbd smbdirect should check their installations; affected versions were not provided.