Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1690549

Re: [PATCH] ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()
Date 2017-07-18 20:30 +0200
Message-ID <u4FpU-5Rx-5@gated-at.bofh.it> (permalink)
References <u4bBx-3PU-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alexander Potapenko <glider@google.com>
Date: Mon, 17 Jul 2017 12:35:58 +0200

> KMSAN reported use of uninitialized memory in skb_set_hash_from_sk(),
> which originated from the TCP request socket created in
> cookie_v6_check():
 ...
> Similar error is reported for cookie_v4_check().
> 
> Signed-off-by: Alexander Potapenko <glider@google.com>
> Fixes: 58d607d3e52f ("tcp: provide skb->hash to synack packets")

Applied and queued up for -stable, thanks!

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] ipv4: ipv6: initialize treq->txhash in  cookie_v[46]_check() David Miller <davem@davemloft.net> - 2017-07-18 20:30 +0200

csiph-web