Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp296251pxk; Wed, 23 Sep 2020 03:33:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwcqbVzWwIzzZ5BRdXrDilhulU4Rl8r55eBHtC2Ww94s5dvRDJMWeS0obJ5eTti7HV7+th X-Received: by 2002:a17:906:8258:: with SMTP id f24mr9254178ejx.551.1600857184809; Wed, 23 Sep 2020 03:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600857184; cv=none; d=google.com; s=arc-20160816; b=i6YpHEtJ4sSDfE6B97U5Evjws7wXVBtMR9NLRaQL4KaHBytFdofScbwVLyZRxIufS5 c56I5uj3UpLIGdQnVAmY5QBLfKEq0eyF9WnCL3k7Rm329RF/gK0SCLc1nuIsHWd6NTYQ egCSITqW3YcebZF12qPhAMGy53sHagNXvBZw1EHi1DsFcpV6cyelDAqLuyLr5CQJf/Un sa5sFVTznWwH/lDQzq8MZB4CZXctRRctiWDT/5T9GhxcpYs7On9WP0atnegyWBJKVUii i8yx9ruWd3v4a9rilhwOBdtwod0tTCxsqJy+TfD894NGtvAaJTFvXukn9LnDUoHFQ7QC Kzlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JI/zqwqxLAG9o9M3uwdlp+Q2ESbf1KLswdxq+phSMss=; b=nfu3ZGX/e/N7eO7LNdk7A+RNtrifnQGoPZtslR1+TqWj1e4AJoIcIr1i7i1rY/Xp3x PtoNphT4pm8LijdMKee4bCdQO21eGi4uS5dhUaL4NjQeRgB3fV4UUQZS/F6KNlF8iQZA No8lDRNIljZ/x2OV4O0j5wdM6zG+u319p11Hn2vKaA/uL4Rsv+p7vxRkb6QKhxwoqDHQ 51sPfHzEq8R+2s+SHT17LR8/0fnA8B32iRiqNHPkDMtGRmZUUOo8Ub1VsLfUN3rUCjKc mSgHVG92HMkJCR1FLKDQ/R5H4nRZ2s1dP12xiGYqQBY1qNX7/QSVR0BqbbjrBS2w5LVm Aalg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u6yJI32v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si11473120ejt.659.2020.09.23.03.32.41; Wed, 23 Sep 2020 03:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u6yJI32v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726497AbgIWK3c (ORCPT + 99 others); Wed, 23 Sep 2020 06:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbgIWK3c (ORCPT ); Wed, 23 Sep 2020 06:29:32 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13F51C0613CE for ; Wed, 23 Sep 2020 03:29:32 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id s19so875211plp.3 for ; Wed, 23 Sep 2020 03:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=JI/zqwqxLAG9o9M3uwdlp+Q2ESbf1KLswdxq+phSMss=; b=u6yJI32vRYyXSnq/EAHe1ycM5E/UH402GHw9uEHyjFqkwGjw4LxgSg5iLS+DiRQ4+r o7Oeyl6s40YgiEk5lLE815dRP47+HbnUA46uteNZkALAUaMU9icgkCx5V4xe0cnUQ99d 71b4vGj6t937JuPHgrem0dQTIRFdtBXZomoi7lc8431D0L6a2Xeqc82fbvp82Orpl5Yv xJIV4wAoYiWMAXCsvj6cDs5aD51aFHi5y24p9NIRSNDyHU6AwnltjuqaIfChy9ZiQVJy XtBQWuz11V6nG0xekQREIqGo0xJovNXYI4Yy9cD1YOtH3Im1aHFRg2HZUJVsiXtR8gBT EISw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=JI/zqwqxLAG9o9M3uwdlp+Q2ESbf1KLswdxq+phSMss=; b=D7HjI9r/mFVvpc9XdAJn9S6juR6D0JsqkX6SoIeH1pPrpF0gd9reVBN2Dkcq0Z/rUO tNu/ABM83KLBIVfrGyqYXYv1depPgYtbc4ItikU1AYLbqTsHMQQVWgt0Q7A7WqjyevNo vdbpXgj4Xx1m8LMvP3L3/iDlXhJjZKrXhhEzc7QJgcOuqW0bD5uCMkcjQRBtZxc61C1Z PqBuwECt+kHdCnKppQz7ENBXjOIIYRWa7OU19yMwAyGtq3FLmP2Adud/2D6i5wUbKj+2 B2KElx2b3oQMn8Ks64mWCEzPWWclIhEk4yP7P8NU6nlCPywsqfwBgjObYW02c/Yv4zK0 bcuw== X-Gm-Message-State: AOAM531GCnge/Bi5r2EKo7ccLsVKmOBpBCntT6Fn6b++gDt8ohtsqFXQ 9McWaKEwGfAVPrDdVXxFvQ== X-Received: by 2002:a17:90b:46c4:: with SMTP id jx4mr2931642pjb.190.1600856971629; Wed, 23 Sep 2020 03:29:31 -0700 (PDT) Received: from PWN (n11212042027.netvigator.com. [112.120.42.27]) by smtp.gmail.com with ESMTPSA id x27sm18118583pfp.128.2020.09.23.03.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 03:29:30 -0700 (PDT) Date: Wed, 23 Sep 2020 06:29:25 -0400 From: Peilin Ye To: Jan Kara Cc: Jan Kara , Greg Kroah-Hartman , linux-kernel-mentees@lists.linuxfoundation.org, syzkaller-bugs@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [Linux-kernel-mentees] [PATCH] udf: Fix memory leak in udf_process_sequence() Message-ID: <20200923102925.GA288879@PWN> References: <0000000000004c1f4d05afcff2f4@google.com> <20200922154531.153922-1-yepeilin.cs@gmail.com> <20200923100405.GD6719@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200923100405.GD6719@quack2.suse.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Sep 23, 2020 at 12:04:05PM +0200, Jan Kara wrote: > On Tue 22-09-20 11:45:31, Peilin Ye wrote: > > udf_process_sequence() is leaking memory. Free `data.part_descs_loc` > > before returning. > > > > Cc: stable@vger.kernel.org > > Fixes: 7b78fd02fb19 ("udf: Fix handling of Partition Descriptors") > > Reported-and-tested-by: syzbot+128f4dd6e796c98b3760@syzkaller.appspotmail.com > > Link: https://syzkaller.appspot.com/bug?id=c5ec4e6f5d818f3c4afd4d59342468eec08a38da > > Signed-off-by: Peilin Ye > > Thanks for the patch but I've just yesterday written exactly the same patch > and merged it to my tree... Ah, no worries, happy to see the bug gets fixed! Peilin Ye