Skip to content

cifs: Fix validation of WSL-style special files

Pali Rohár linux-cifs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cifs: Remove duplicate fattr->cf_dtype assignment from wsl_to_fattr() functionfs/smb/client/reparse.c+0 -10 replies
2/5cifs: Fix validation of EAs for WSL reparse pointsfs/smb/client/reparse.c+20 -70 replies
3/5cifs: Fix validation of SMB2_OP_QUERY_WSL_EA response sizefs/smb/client/smb2pdu.h+9 -104 replies
4/5cifs: Query EA $LXMOD in cifs_query_path_info() for WSL reparse pointsfs/smb/client/smb1ops.c+60 -20 replies
5/5cifs: Validate presence of EA $LXMOD for WSL reparse pointsfs/smb/client/reparse.c+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] cifs: Fix validation of WSL-style special files

This patch series fixes validation of WSL special files by Linux SMB client, to be compatible with WSL subsystem.

Pali Rohár (5):
cifs: Remove setting duplicate fattr->cf_dtype from wsl_to_fattr()
function
cifs: Fix validation of EAs for WSL reparse points
cifs: Fix validation of SMB2_OP_QUERY_WSL_EA response size
cifs: Query EA $LXMOD in cifs_query_path_info() for WSL reparse points
cifs: Validate presence of EA $LXMOD for WSL reparse points

 fs/smb/client/reparse.c | 40 ++++++++++++++++++++------
 fs/smb/client/smb1ops.c | 62 +++++++++++++++++++++++++++++++++++++++--
 fs/smb/client/smb2pdu.h | 19 ++++++-------
 3 files changed, 101 insertions(+), 20 deletions(-)
Signature · 1 line
2.20.1