diff options
author | Ronnie Sahlberg | 2021-08-25 21:16:56 +1000 |
---|---|---|
committer | Steve French | 2021-08-25 16:08:38 -0500 |
commit | 3998f0b8bc49ec784990971dc1f16bf367b19078 (patch) | |
tree | 46c557393299f2d0a2ec1e534de27240fa517e2e /crypto/pcbc.c | |
parent | 332c404a55ef3b39837e958284275622a2a4849d (diff) |
cifs: Do not leak EDEADLK to dgetents64 for STATUS_USER_SESSION_DELETED
RHBZ: 1994393
If we hit a STATUS_USER_SESSION_DELETED for the Create part in the
Create/QueryDirectory compound that starts a directory scan
we will leak EDEADLK back to userspace and surprise glibc and the application.
Pick this up initiate_cifs_search() and retry a small number of tries before we
return an error to userspace.
Cc: stable@vger.kernel.org
Reported-by: Xiaoli Feng <xifeng@redhat.com>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions