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


Groups > linux.kernel > #1741655

Re: [PATCH v3] tun: bail out from tun_get_user() if the skb is empty

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v3] tun: bail out from tun_get_user() if the skb is empty
Date 2017-09-28 17:50 +0200
Message-ID <uuJey-2kP-27@gated-at.bofh.it> (permalink)
References <uuDsv-7h4-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alexander Potapenko <glider@google.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@google.com>

Applied and queued up for -stable, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3] tun: bail out from tun_get_user() if the skb is empty Alexander Potapenko <glider@google.com> - 2017-09-28 11:40 +0200
  Re: [PATCH v3] tun: bail out from tun_get_user() if the skb is  empty David Miller <davem@davemloft.net> - 2017-09-28 17:50 +0200

csiph-web