Skip to content

cifs: fix session state checks to avoid use-after-free issues

Winston Wen linux-cifs 1 version Applied

Status from this message: merged into cifs-2.6.git for-next, added cc: stable and RB

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 21 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3cifs: fix session state transition to avoid use-after-free issuefs/smb/client/connect.c+4 -313 replies
2/3cifs: fix session state check in reconnect to avoid use-after-free issuefs/smb/client/smb2pdu.c+6 -05 replies
3/3cifs: fix session state check in smb2_find_smb_sesfs/smb/client/smb2transport.c+7 -03 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchShyam Prasad N
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] cifs: fix session state checks to avoid use-after-free issues

The patchset has 3 patches that fix some problems related to session state check/transition to avoid use-after-free issues.

Winston Wen (3):
cifs: fix session state transition to avoid use-after-free issue
cifs: fix session state check in reconnect to avoid use-after-free issue
cifs: fix session state check in smb2_find_smb_ses

 fs/smb/client/connect.c       | 7 ++++---
 fs/smb/client/smb2pdu.c       | 6 ++++++
 fs/smb/client/smb2transport.c | 7 +++++++
 3 files changed, 17 insertions(+), 3 deletions(-)