ksmbd: a bunch of patches that is being reviewed
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest9 patches 7 repliesIn review
- v35 patches 20 repliesSuperseded
- v2 posting 2/27 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 3 patches | 8 replies | Superseded | |
| v1 | 3 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- use work->response_sz for out_buf_len calculation in smb2_ioctl.
- move smb2_neg size check to above to validate NegotiateContextOffset field.
- remove unneeded dialect checks in smb2_sess_setup() and smb2_handle_negotiate().
- split smb2_set_info patch into two patches(declaring smb2_file_basic_info and buffer check)
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | ksmbd: add the check to vaildate if stream protocol length exceeds maximum valuefs/ fs/ fs/ | +8 | 0 replies | |
| 2/9 | ksmbd: add validation in smb2_ioctlfs/ fs/ fs/ | +83 | 0 replies | |
| 3/9 | ksmbd: use correct basic info level in set_file_basic_info()fs/ fs/ | +15 | 0 replies | |
| 4/9 | ksmbd: add request buffer validation in smb2_set_infofs/ | +107 | 0 replies | |
| 5/9 | ksmbd: check strictly data area in ksmbd_smb2_check_message()fs/ | +47 | 0 replies | |
| 6/9 | ksmbd: add validation in smb2 negotiatefs/ fs/ | +68 | 0 replies | |
| 7/9 | ksmbd: add buffer validation for SMB2_CREATE_CONTEXTfs/ fs/ fs/ | +74 | 0 replies | |
| 8/9 | ksmbd: remove the leftover of smb2.0 dialect supportfs/ fs/ fs/ +1 more | +12 | 0 replies | |
| 9/9 | ksmbd: remove NTLMv1 authenticationfs/ fs/ fs/ | +0 | 0 replies |
Reviews trailers per patch
7 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Hyunchul Lee | Ralph Boehme |
|---|---|---|
| 1/9 | A-b | |
| 2/9 | A-b | |
| 3/9 | R-b | |
| 4/9 | A-b | R-b |
| 5/9 | A-b | R-b |
| 6/9 | R-b | |
| 7/9 | R-b | |
| 8/9 | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/9] ksmbd: a bunch of patches that is being reviewed
v2:
- update comments of smb2_get_data_area_len().
- fix wrong buffer size check in fsctl_query_iface_info_ioctl().
- fix 32bit overflow in smb2_set_info.
v3:
- add buffer check for ByteCount of smb negotiate request.
- Moved buffer check of to the top of loop to avoid unneeded behavior when out_buf_len is smaller than network_interface_info_ioctl_rsp.
- get correct out_buf_len which doesn't exceed max stream protocol length.
- subtract single smb2_lock_element for correct buffer size check in
ksmbd_smb2_check_message().
v4:
- use work->response_sz for out_buf_len calculation in smb2_ioctl.
- move smb2_neg size check to above to validate NegotiateContextOffset field.
- remove unneeded dialect checks in smb2_sess_setup() and smb2_handle_negotiate().
- split smb2_set_info patch into two patches(declaring smb2_file_basic_info and buffer check)
Hyunchul Lee (1):
ksmbd: add buffer validation for SMB2_CREATE_CONTEXT
Namjae Jeon (8):
ksmbd: add the check to vaildate if stream protocol length exceeds
maximum value
ksmbd: add validation in smb2_ioctl
ksmbd: use correct basic info level in set_file_basic_info()
ksmbd: add request buffer validation in smb2_set_info
ksmbd: check strictly data area in ksmbd_smb2_check_message()
ksmbd: add validation in smb2 negotiate
ksmbd: remove the leftover of smb2.0 dialect support
ksmbd: remove NTLMv1 authentication
fs/ksmbd/auth.c | 205 ------------------------ fs/ksmbd/connection.c | 10 +- fs/ksmbd/crypto_ctx.c | 16 -- fs/ksmbd/crypto_ctx.h | 8 - fs/ksmbd/oplock.c | 41 +++-- fs/ksmbd/smb2misc.c | 98 ++++++------ fs/ksmbd/smb2ops.c | 5 - fs/ksmbd/smb2pdu.c | 364 ++++++++++++++++++++++++++++++------------ fs/ksmbd/smb2pdu.h | 10 +- fs/ksmbd/smb_common.c | 44 +++-- fs/ksmbd/smb_common.h | 4 +- fs/ksmbd/smbacl.c | 21 ++- fs/ksmbd/vfs.c | 2 +- fs/ksmbd/vfs.h | 2 +- 14 files changed, 412 insertions(+), 418 deletions(-)
Signature · 1 line
2.25.1