linux_dsm_epyc7002/drivers/crypto/chelsio/chtls
Dan Carpenter f70b359b38 crypto: chtls - use after free in chtls_pt_recvmsg()
We call chtls_free_skb() but then we dereference it on the next lines.
Also "skb" can't be NULL, we just dereferenced it on the line before.

I have moved the free down a couple lines to fix this issue.

Fixes: 17a7d24aa8 ("crypto: chtls - generic handling of data and hdr")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-06-15 23:06:45 +08:00
..
chtls_cm.c crypto: chtls - generic handling of data and hdr 2018-05-27 00:11:33 +08:00
chtls_cm.h crypto: chtls - structure and macro for Inline TLS 2018-03-31 23:37:32 -04:00
chtls_hw.c crypto: chtls - key len correction 2018-05-31 00:13:58 +08:00
chtls_io.c crypto: chtls - use after free in chtls_pt_recvmsg() 2018-06-15 23:06:45 +08:00
chtls_main.c crypto: chtls - free beyond end rspq_skb_cache 2018-05-31 00:13:59 +08:00
chtls.h crypto: chtls - wait for memory sendmsg, sendpage 2018-05-31 00:13:58 +08:00
Makefile crypto: chtls - Makefile Kconfig 2018-03-31 23:37:33 -04:00