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


Groups > linux.kernel > #1715495

Re: [PATCH v3] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v3] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
Date 2017-08-19 01:10 +0200
Message-ID <ufYyS-1Tk-13@gated-at.bofh.it> (permalink)
References <ufb58-21P-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alexander Potapenko <glider@google.com>
Date: Wed, 16 Aug 2017 20:16:40 +0200

> KMSAN reported use of uninitialized sctp_addr->v4.sin_addr.s_addr and
> sctp_addr->v6.sin6_scope_id in sctp_v6_cmp_addr() (see below).
> Make sure all fields of an IPv6 address are initialized, which
> guarantees that the IPv4 fields are also initialized.
 ...
> Signed-off-by: Alexander Potapenko <glider@google.com>
> Reviewed-by: Xin Long <lucien.xin@gmail.com>
> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>

Applied and queued up for -stable, thanks.

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


Thread

[PATCH v3] sctp: fully initialize the IPv6 address in sctp_v6_to_addr() Alexander Potapenko <glider@google.com> - 2017-08-16 20:20 +0200
  Re: [PATCH v3] sctp: fully initialize the IPv6 address in  sctp_v6_to_addr() David Miller <davem@davemloft.net> - 2017-08-19 01:10 +0200

csiph-web