Commit 44a3059
ksmbd: fix Preauh_HashValue race condition
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>1 parent ecd9d6b commit 44a3059
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1852 | 1852 | | |
1853 | 1853 | | |
1854 | 1854 | | |
1855 | | - | |
1856 | | - | |
1857 | 1855 | | |
1858 | 1856 | | |
1859 | 1857 | | |
| |||
1880 | 1878 | | |
1881 | 1879 | | |
1882 | 1880 | | |
1883 | | - | |
1884 | | - | |
1885 | 1881 | | |
1886 | 1882 | | |
1887 | 1883 | | |
| |||
0 commit comments