2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/chelsio/inline_crypto/chtls
Vinay Kumar Yadav da1a039bcf chelsio/chtls: fix writing freed memory
When chtls_sock *csk is freed, same memory can be allocated
to different csk in chtls_sock_create().
csk->cdev = NULL; statement might ends up modifying wrong
csk, eventually causing kernel panic.
removing (csk->cdev = NULL) statement as it is not required.

Fixes: 3a0a978389 ("crypto/chtls: Fix chtls crash in connection cleanup")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-20 17:29:17 -07:00
..
chtls_cm.c chelsio/chtls: fix writing freed memory 2020-10-20 17:29:17 -07:00
chtls_cm.h
chtls_hw.c
chtls_io.c chelsio/chtls: correct function return and return type 2020-10-20 17:29:17 -07:00
chtls_main.c
chtls.h
Makefile