From: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
To: <linux-cifs@vger.kernel.org>, <zhangxiaoxu5@huawei.com>,
<sfrench@samba.org>, <pc@cjr.nz>, <lsahlber@redhat.com>,
<sprasad@microsoft.com>, <rohiths@microsoft.com>,
<smfrench@gmail.com>, <tom@talpey.com>, <linkinjeon@kernel.org>,
<hyc.lee@gmail.com>
Subject: [PATCH v6 0/5] Fix some bug in FSCTL_VALIDATE_NEGOTIATE_INFO handler
Date: Wed, 14 Sep 2022 10:17:36 +0800 [thread overview]
Message-ID: <20220914021741.2672982-1-zhangxiaoxu5@huawei.com> (raw)
v5->v6: use 'static' for 'smbx_neg_dialects'
v4->v5: reorder the patch;
add check in smb2_ioctl() to ensure no oob read to DialectCount
v3->v4: Fix the wrong sizeof validate_negotiate_info_req in ksmbd
v2->v3: refactor the dialects in struct validate_negotiate_info_req to
variable array
v1->v2: fix some bug in ksmbd when handle FSCTL_VALIDATE_NEGOTIATE_INFO
message
Zhang Xiaoxu (5):
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
ksmbd: Fix wrong return value in smb2_ioctl()
ksmbd: Fix FSCTL_VALIDATE_NEGOTIATE_INFO message length check in
smb2_ioctl()
cifs: Add neg dialects info to smb version values
cifs: Refactor dialects in validate_negotiate_info_req to variable
array
fs/cifs/cifsglob.h | 2 ++
fs/cifs/smb2ops.c | 35 ++++++++++++++++++++++
fs/cifs/smb2pdu.c | 61 +++++++--------------------------------
fs/ksmbd/smb2pdu.c | 14 +++++----
fs/smbfs_common/smb2pdu.h | 3 +-
5 files changed, 58 insertions(+), 57 deletions(-)
--
2.31.1
next reply other threads:[~2022-09-14 1:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 2:17 Zhang Xiaoxu [this message]
2022-09-14 2:17 ` [PATCH v6 1/5] cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message Zhang Xiaoxu
2022-09-14 2:17 ` [PATCH v6 2/5] ksmbd: Fix wrong return value in smb2_ioctl() Zhang Xiaoxu
2022-09-15 18:43 ` Tom Talpey
2022-09-14 2:17 ` [PATCH v6 3/5] ksmbd: Fix FSCTL_VALIDATE_NEGOTIATE_INFO message length check " Zhang Xiaoxu
2022-09-15 18:45 ` Tom Talpey
2022-09-16 0:26 ` Namjae Jeon
2022-09-16 11:20 ` zhangxiaoxu (A)
2022-09-18 23:45 ` Namjae Jeon
2022-09-14 2:17 ` [PATCH v6 4/5] cifs: Add neg dialects info to smb version values Zhang Xiaoxu
2022-09-15 18:47 ` Tom Talpey
[not found] ` <CAH2r5ms+TnR4Y1LMWmNm5XdjV-4JSBq1+tsP6ERXq6NzwvWAig@mail.gmail.com>
2022-09-16 12:33 ` zhangxiaoxu (A)
2022-09-14 2:17 ` [PATCH v6 5/5] cifs: Refactor dialects in validate_negotiate_info_req to variable array Zhang Xiaoxu
2022-09-15 18:56 ` Tom Talpey
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=20220914021741.2672982-1-zhangxiaoxu5@huawei.com \
--to=zhangxiaoxu5@huawei.com \
--cc=hyc.lee@gmail.com \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=lsahlber@redhat.com \
--cc=pc@cjr.nz \
--cc=rohiths@microsoft.com \
--cc=sfrench@samba.org \
--cc=smfrench@gmail.com \
--cc=sprasad@microsoft.com \
--cc=tom@talpey.com \
/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.