From: Jason Baron Date: Thu, 03 Dec 2015 20:10:15 +0000 Subject: Re: use-after-free in sctp_do_sm Message-Id: <5660A1A7.3080301@akamai.com> List-Id: References: <20151203130525.GB4164@mrl.redhat.com> <566098BD.6010803@akamai.com> <1449172984.12092.0.camel@perches.com> In-Reply-To: <1449172984.12092.0.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Joe Perches , Aaron Conole , Dmitry Vyukov Cc: Eric Dumazet , syzkaller , Vladislav Yasevich , linux-sctp@vger.kernel.org, netdev , Kostya Serebryany , Alexander Potapenko , Sasha Levin On 12/03/2015 03:03 PM, Joe Perches wrote: > On Thu, 2015-12-03 at 14:32 -0500, Jason Baron wrote: >> On 12/03/2015 01:52 PM, Aaron Conole wrote: >>> I think that as a minimum, the following patch should be evaluted, >>> but am unsure to whom I should submit it (after I test): > [] >> Agreed - the intention here is certainly to have no side effects. It >> looks like 'no_printk()' is used in quite a few other places that would >> benefit from this change. So we probably want a generic >> 'really_no_printk()' macro. > > https://lkml.org/lkml/2012/6/17/231 > I don't see this in the tree. Also maybe we should just convert no_printk() to do what your 'eliminated_printk()'. So we can convert all users with this change? Thanks, -Jason