[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170322.124053.395077714485086280.davem@davemloft.net>
Date: Wed, 22 Mar 2017 12:40:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: glider@...gle.com
Cc: dvyukov@...gle.com, kcc@...gle.com, edumazet@...gle.com,
soheil@...gle.com, kuznet@....inr.ac.ru,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv6: make sure to initialize sockc.tsflags before
first use
From: Alexander Potapenko <glider@...gle.com>
Date: Tue, 21 Mar 2017 17:14:27 +0100
> In the case udp_sk(sk)->pending is AF_INET6, udpv6_sendmsg() would
> jump to do_append_data, skipping the initialization of sockc.tsflags.
> Fix the problem by moving sockc.tsflags initialization earlier.
>
> The bug was detected with KMSAN.
>
> Signed-off-by: Alexander Potapenko <glider@...gle.com>
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists