Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4986207ybc; Fri, 15 Nov 2019 13:03:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwg1rHfvr7Ee8QT4nLp5oKb87PXzNWV+pVGRfJBNec0jftgbCKpzS7LQXBjzuxM7J7W1Fm5 X-Received: by 2002:adf:e40e:: with SMTP id g14mr18811894wrm.264.1573851817050; Fri, 15 Nov 2019 13:03:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573851817; cv=none; d=google.com; s=arc-20160816; b=vGEZQRS3EYWNWyu075zpTBtq5kUi7znl6BL+f1D68ARwPgOtgfLYfm7DvdJI/GMnf3 Fnpv0EyZ1obY9s5CPDhc+fRDIax2W4d6FQjGBtiuR1ZiI5A/xIVm24DtomFm5NNz4In1 +EFv0FxeAmuWHgggu/LeCKK3lThvdPL/956SCJ/Cj/zCivQvfcsQ6ZpKrfcom9iQyNTp W6gPVwtO70q+os18GX4p6JUI0ZnPlveym27rzDzEwBKTMAR+imWBJcGr06bVVBMCpoFC wHlUKDyBwEp3tmiXK4ohfWVqZ/U7BXc+dNIhYVnqi3vvTBevgJfj2ef8XVgpoAjh3Hao L7Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8q4l2/ghOeqURCMTd8+MTbcqPe7CeeWDvkm4xW3opao=; b=l4dfNECh3h0uB/M4EF7fD04e242LFMea7q1OVQ57r6LgWQ3yAVpNQQ0gotlVfb+WXx PXmzx8A2KId/PBup0dWVxZAym+Gy5ZJ5/d1PzH3EY/hgDfdubcjyaA6ErvC7azCiu2C3 X9bgIa9n482SG0z8yFvtEtdZhc9Xwiz3HPljDjNx3XvUwiVc/ccJdJGRRrq1LogS1X8s S6G254XIl2KN8/0/6FiHg3y3Vjn9TUzg8yruwNT6jA+EdVx/vQQDWnSdM3LRKTPg/UFZ u4yI7bW5Zlfah0N/aUIpLgy8jtBCQJj9qIGZF0ICM907MIfXYXaVY9yEbwyPhKurFkfG eENg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si6832198edr.80.2019.11.15.13.03.11; Fri, 15 Nov 2019 13:03:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbfKOVCE (ORCPT + 99 others); Fri, 15 Nov 2019 16:02:04 -0500 Received: from sauhun.de ([88.99.104.3]:43742 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbfKOVCE (ORCPT ); Fri, 15 Nov 2019 16:02:04 -0500 Received: from localhost (p54B33606.dip0.t-ipconnect.de [84.179.54.6]) by pokefinder.org (Postfix) with ESMTPSA id 185802C03E3; Fri, 15 Nov 2019 22:02:02 +0100 (CET) Date: Fri, 15 Nov 2019 22:02:01 +0100 From: Wolfram Sang To: Wen Yang Cc: zhiche.yy@alibaba-inc.com, xlpang@linux.alibaba.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: core: fix use after free in of_i2c_notify Message-ID: <20191115210201.GB8973@kunai> References: <20191108083648.56503-1-wenyang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline In-Reply-To: <20191108083648.56503-1-wenyang@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 08, 2019 at 04:36:48PM +0800, Wen Yang wrote: > We can't use "adap" after it has been freed. >=20 > Fixes: 5bf4fa7daea6 ("i2c: break out OF support into separate file") > Signed-off-by: Wen Yang > Cc: Wolfram Sang > Cc: linux-i2c@vger.kernel.org > Cc: linux-kernel@vger.kernel.org Applied to for-current, thanks! --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl3PEkkACgkQFA3kzBSg KbaqzBAAoQV5GxF7KrMUwnwhRzNrDaYURGV+A1ny13BABQ40jF9rK8gRwDGurOg1 NG765QeVNZBNUIsOYlJsUxfJb5MdMIDhDS1+O4TizvEodpJVu9z9j4fMfxvxKGtW prFwnUxvFYVySpfo2zbreBgQ1zX1DO0J1TX50wxnm53IXcl4lqz/KKKNH5J3EYmc vs68S/3iwjU50xGFecnmBlojog35sXWtXZbLu0FXrR5R0lqzMOS30jzeHi6SoIzw giL+CQoDqbLv2ucQXFsSI4PIhTVEniSgr1lOiouNkAMEkfTH/ByhugNtQZkh8QcZ KjfwmKXTcbzngK0QubQOQo7v2sAxIs7fPoi6HUrFeTWKaw6LRjQ/u3jAR0ag84i8 WO2oN0PYu7DEeI1fNkfeX1jeFU2nCF6poBs/xaMNd08mtFRN8WETb8/CCHcqpDbO VxWyDqeKorF8/OQWn9YxMuRPwGhFnL0nhwRn6fgHL5eCW2+6ct+tYL+r4jUROGk2 eYRSw+iuYUodcjGdc1Y3VBoNgfREIuLR11ITp/evegrwGPm6UNy3TGCobVyY3AWR 6oXoLO8A0FkbW5Cy5FhdLr1SHmKrfKXUaP6aw96Er+FqysHQRE50zJi48+ev7gjT e1L66WOhy7QXfn9wP0cyuoSKl5HjjrLPzhlwE2u4D0ZTm5ZSv+I= =ug3Z -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2--