lkml.org 
[lkml]   [2017]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] tun: bail out from tun_get_user() if the skb is empty
From
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.

\
 
 \ /
  Last update: 2017-09-28 17:43    [W:0.030 / U:1.376 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site