From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932148AbcANBpy (ORCPT ); Wed, 13 Jan 2016 20:45:54 -0500 Received: from mail-qg0-f43.google.com ([209.85.192.43]:35035 "EHLO mail-qg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755539AbcANBpv (ORCPT ); Wed, 13 Jan 2016 20:45:51 -0500 Subject: Re: net/sctp: use-after-free in __sctp_connect To: YUAN Jia , "'Dmitry Vyukov'" , Vlad Yasevich , Neil Horman , "David S. Miller" , "linux-sctp@vger.kernel.org" , netdev , LKML , Eric Dumazet References: <07B7943445653648AD9B4DBB916BB48F04FDFD85@cnshjmbx01> Cc: syzkaller , Kostya Serebryany , Alexander Potapenko , Sasha Levin From: Marcelo Ricardo Leitner Message-ID: <5696FDC9.6030508@gmail.com> Date: Wed, 13 Jan 2016 23:45:45 -0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <07B7943445653648AD9B4DBB916BB48F04FDFD85@cnshjmbx01> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em 13-01-2016 23:37, YUAN Jia escreveu: > Hi Dmitry, > > I've tested your program, but found nothing happens. So, I suspect it may cause kernel crash only on some special kernel version? > I was just using kernel of 4.2.3. What about you? > > Richard Please don't top-post. Note that it doesn't necessarily crashes the system. syzkaller is using kasan to detect such type of invalid accesses, which in some conditions may lead to crashes, weird behavior or just nothing at all. It all depends on how much the memory was already changed after it was freed. > -----Original Message----- > From: linux-sctp-owner@vger.kernel.org [mailto:linux-sctp-owner@vger.kernel.org] On Behalf Of Dmitry Vyukov > Sent: 2016年1月13日 17:53 > To: Vlad Yasevich; Neil Horman; David S. Miller; linux-sctp@vger.kernel.org; netdev; LKML; Eric Dumazet; Marcelo Ricardo Leitner > Cc: syzkaller; Kostya Serebryany; Alexander Potapenko; Sasha Levin > Subject: net/sctp: use-after-free in __sctp_connect > ... > > On commit 03891f9c853d5c4473224478a1e03ea00d70ff8d (Jan 11). This is the git commit/(version) he was using --^ Marcelo