[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170928.084252.253155943275207205.davem@davemloft.net>
Date: Thu, 28 Sep 2017 08:42:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: glider@...gle.com
Cc: edumazet@...gle.com, dvyukov@...gle.com,
syzkaller@...glegroups.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] tun: bail out from tun_get_user() if the skb is
empty
From: Alexander Potapenko <glider@...gle.com>
Date: Thu, 28 Sep 2017 11:32:37 +0200
> KMSAN (https://github.com/google/kmsan) reported accessing uninitialized
> skb->data[0] in the case the skb is empty (i.e. skb->len is 0):
...
> Make sure tun_get_user() doesn't touch skb->data[0] unless there is
> actual data.
...
> Signed-off-by: Alexander Potapenko <glider@...gle.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists