Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbbLIP7s (ORCPT ); Wed, 9 Dec 2015 10:59:48 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:34896 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751873AbbLIP7p (ORCPT ); Wed, 9 Dec 2015 10:59:45 -0500 Message-ID: <1449676782.9768.9.camel@edumazet-glaptop2.roam.corp.google.com> Subject: Re: [PATCH net] ipv6: sctp: clone options to avoid use after free From: Eric Dumazet To: David Laight Cc: Eric Dumazet , Marcelo Ricardo Leitner , Dmitry Vyukov , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev , LKML , Vlad Yasevich , Neil Horman , "linux-sctp@vger.kernel.org" , syzkaller , Kostya Serebryany , Alexander Potapenko , Sasha Levin Date: Wed, 09 Dec 2015 07:59:42 -0800 In-Reply-To: <063D6719AE5E284EB5DD2968C1650D6D1CBE9A61@AcuExch.aculab.com> References: <20151209145917.GA3884@mrl.redhat.com> <1449674706.9768.5.camel@edumazet-glaptop2.roam.corp.google.com> <063D6719AE5E284EB5DD2968C1650D6D1CBE9A61@AcuExch.aculab.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1052 Lines: 26 On Wed, 2015-12-09 at 15:49 +0000, David Laight wrote: > > SCTP is lacking proper np->opt cloning at accept() time. > > > > TCP and DCCP use ipv6_dup_options() helper, do the same in SCTP. > > > > We might later factorize this code in a common helper to avoid > > future mistakes. > > I'm wondering what the real impact of this and the other recent > SCTP bugs/patches is on real workloads? > We have enough trouble getting our customers to use kernels > later that the 2.6.18 based RHEL5 - without having to persuade > them to use kernels that contain very recent fixes. It all depends if your customers let (hostile ?) people run programs on the boxes. I wont run the program on my laptop just for the fun of making it crash, but I guess Cloud providers might be worried, once exploits are public. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/