diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2025-07-25 08:13:31 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-15 12:17:04 +0200 |
| commit | 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc (patch) | |
| tree | 27b91ad6872e9ce1f08d693fe6039a97962d8d04 /include/net/aligned_data.h | |
| parent | 015ef163d65496ae3ba6192c96140a22743f0353 (diff) | |
ksmbd: fix Preauh_HashValue race condition
commit 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6 upstream.
If client send multiple session setup requests to ksmbd,
Preauh_HashValue race condition could happen.
There is no need to free sess->Preauh_HashValue at session setup phase.
It can be freed together with session at connection termination phase.
Cc: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-27661
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
