[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140514.004047.1550271032303990926.davem@davemloft.net>
Date: Wed, 14 May 2014 00:40:47 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org, preobr@...gle.com
Subject: Re: [PATCH net] ipv6: fix calculation of option len in
ip6_append_data
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Sun, 11 May 2014 23:01:13 +0200
> tot_len does specify the size of struct ipv6_txoptions. We need opt_flen +
> opt_nflen to calculate the overall length of additional ipv6 extensions.
>
> I found this while auditing the ipv6 output path for a memory corruption
> reported by Alexey Preobrazhensky while he fuzzed an instrumented
> AddressSanitizer kernel with trinity. This may or may not be the cause
> of the original bug.
>
> Fixes: 4df98e76cde7c6 ("ipv6: pmtudisc setting not respected with UFO/CORK")
> Reported-by: Alexey Preobrazhensky <preobr@...gle.com>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists