]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: CVE-2017-8824: use-after-free in DCCP code
authorMohamed Ghannam <simo.ghannam@gmail.com>
Tue, 5 Dec 2017 20:58:35 +0000 (20:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 23:08:53 +0000 (18:08 -0500)
commit3cc79e75f9464f8c2994c2c2e006f418616da1bd
treed4587f7c9475921120c56fa9e11d5ec0ea3d074d
parente0d64aa70be1e035e1259fc360e45ce0b21cdd97
dccp: CVE-2017-8824: use-after-free in DCCP code

Whenever the sock object is in DCCP_CLOSED state,
dccp_disconnect() must free dccps_hc_tx_ccid and
dccps_hc_rx_ccid and set to NULL.

Signed-off-by: Mohamed Ghannam <simo.ghannam@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/proto.c