Paulo Alcantara <pc@xxxxxxxxxxxxx> writes: > Skip sessions that are being teared down (status == SES_EXITING) to > avoid UAF. > > Signed-off-by: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx> > --- > fs/smb/client/smb2ops.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) As we can send encrypted session logoff when SMB2_SESSION_FLAG_ENCRYPT_DATA is set, then please ignore this one and patch 05/12.