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


Groups > linux.kernel > #1635826

Re: [PATCH] ipv4, ipv6: ensure raw socket message is big enough to hold an IP header

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
Date 2017-05-04 17:10 +0200
Message-ID <tDqye-595-25@gated-at.bofh.it> (permalink)
References <tD44G-73B-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alexander Potapenko <glider@google.com>
Date: Wed,  3 May 2017 17:06:58 +0200

> raw_send_hdrinc() and rawv6_send_hdrinc() expect that the buffer copied
> from the userspace contains the IPv4/IPv6 header, so if too few bytes are
> copied, parts of the header may remain uninitialized.
> 
> This bug has been detected with KMSAN.
> 
> 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] ipv4, ipv6: ensure raw socket message is big enough to hold an IP header Alexander Potapenko <glider@google.com> - 2017-05-03 17:10 +0200
  Re: [PATCH] ipv4, ipv6: ensure raw socket message is big enough to  hold an IP header David Miller <davem@davemloft.net> - 2017-05-04 17:10 +0200

csiph-web