All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Steve French <sfrench@samba.org>, Paulo Alcantara <pc@manguebit.com>
Cc: linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] cifs: Fix validation of WSL-style special files
Date: Sun,  8 Jun 2025 19:01:14 +0200	[thread overview]
Message-ID: <20250608170119.6813-1-pali@kernel.org> (raw)

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(-)

-- 
2.20.1


             reply	other threads:[~2025-06-08 17:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-08 17:01 Pali Rohár [this message]
2025-06-08 17:01 ` [PATCH 1/5] cifs: Remove duplicate fattr->cf_dtype assignment from wsl_to_fattr() function Pali Rohár
2025-06-08 17:01 ` [PATCH 2/5] cifs: Fix validation of EAs for WSL reparse points Pali Rohár
2025-06-08 17:01 ` [PATCH 3/5] cifs: Fix validation of SMB2_OP_QUERY_WSL_EA response size Pali Rohár
2025-06-08 21:49   ` Paulo Alcantara
2025-06-08 22:15     ` Pali Rohár
2025-06-08 23:10       ` Paulo Alcantara
2025-06-09 22:49         ` Pali Rohár
2025-06-08 17:01 ` [PATCH 4/5] cifs: Query EA $LXMOD in cifs_query_path_info() for WSL reparse points Pali Rohár
2025-06-08 17:01 ` [PATCH 5/5] cifs: Validate presence of EA $LXMOD " Pali Rohár

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250608170119.6813-1-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pc@manguebit.com \
    --cc=sfrench@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.