Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3540344ybl; Mon, 3 Feb 2020 02:09:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwI0GJrLUY446irQ3Gc1o5tJurhGf78ZZhPIRE7PX6zAfH+yR8gESem0sAjnW1nFyLM6RtN X-Received: by 2002:a9d:5a09:: with SMTP id v9mr14741363oth.214.1580724590660; Mon, 03 Feb 2020 02:09:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580724590; cv=none; d=google.com; s=arc-20160816; b=fATl0mLc48j1Z0lczfVTfU/mLWx3M6RHVxiXGyOCzkBfIVQOVRRs/ciKnRFNzMKBwn KvMv4chsRrPNxC/SGR70xPzCf54rttx2QZzFZ2paSqT/M9jqtrOw61l0oBqBv+AmcMxA FClL3XOsL7hGtu/gU3AuFZbzIyt06/BYvdYhaS13Pwd+EylpZSHaj03N88/O447yknvS n4Y7ofl+Qw5+yFhIPNshQOJSRePNbXlD9/ipv8iIhPPYp/G5TDI92MimCNWxq1Jt3AN3 mpPltnqi5qt7vfWMSSw0p5S7UggSQeVYWOBMvFaVY8vZPd4ebs2944nReGwADpQ8O0k+ k3/Q== 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:dkim-signature; bh=8WgPDKN0FJnUuKUBLKIxeobzc7t0Hcs7X5V3wjF1qF0=; b=o8DTQ4jmdn4hlTlLvLntPu3E5fk+TqUX5cjWaVbNcwbjxl1adAikaxBxwBxfr8X49Z sDuwvbRTVeYObgc40H8+oYQNt1nqDX7Fbcm9/AAKxdew2Jnf/WcxEWbTrMilHaF335iD 2tAlQATvWH8552QPWePfqT2VFgVesulINE8/xX7zAyTdBJg1docrQrPXhl88hmwXEbJX q2QB8WuXBfY+wzpGFyqymgIBSyc6+iibwb9c/Xj2/5O9/JAc2EqBj+1s+E7iLzN+ufpI LpnM12nzL2TJliYObYCLEWc1gnUJg3Y/9ioIzasSF8oaGazNZAXS3fP0r/4GeYPbiQve Bung== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=LsHCgmGu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q65si7636736oic.123.2020.02.03.02.09.37; Mon, 03 Feb 2020 02:09:50 -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; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=LsHCgmGu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727879AbgBCJHA (ORCPT + 99 others); Mon, 3 Feb 2020 04:07:00 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:38768 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbgBCJG7 (ORCPT ); Mon, 3 Feb 2020 04:06:59 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 013934fr088127; Mon, 3 Feb 2020 09:06:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2019-08-05; bh=8WgPDKN0FJnUuKUBLKIxeobzc7t0Hcs7X5V3wjF1qF0=; b=LsHCgmGufai5qhkHeBqE7FZNDZB+nNdr1VIkClhVmmVBnP0vrrrqsyGzQXAsO5YvhFyn O6Ji/TwMEED9xLA0SHaIYYc/eBTR+NYfFiFHw8lAkc8B98IOBCPUKkRC59xP/eszz66x O3E9oCq0+zgIIUt3dpomej0ne1XSPTu+4Ru+KW9plKsJQz8IR+DWP3zppw1OKC95P0aF 5Y9vDip0WXiAYtY7Cp/+Ab6CoT2BGl3WgxAGwPm0SGNXNIXzF2hZLZ3gOVlBk637s9TC D79dARXZ5zRLAeITfA9pstDkGSIzuLpI35Awp5DJSMe+lViv+r4ybs7Klc14zSaRXNbS iQ== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2xw19q69g5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 03 Feb 2020 09:06:40 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 01393JHS177625; Mon, 3 Feb 2020 09:06:40 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2xwjt3e3un-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 03 Feb 2020 09:06:39 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 01396Ywj008538; Mon, 3 Feb 2020 09:06:35 GMT Received: from kadam (/41.210.143.134) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 03 Feb 2020 01:06:31 -0800 Date: Mon, 3 Feb 2020 12:06:19 +0300 From: Dan Carpenter To: Daniel Vetter Cc: syzbot , Dave Airlie , Alex Deucher , amd-gfx list , "Wilson, Chris" , Christian =?iso-8859-1?Q?K=F6nig?= , David Miller , dri-devel , Emil Velikov , "Anholt, Eric" , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Linux Kernel Mailing List , "open list:DMA BUFFER SHARING FRAMEWORK" , netdev , Rob Clark , Sean Paul , Sumit Semwal , syzkaller-bugs Subject: Re: KASAN: use-after-free Read in vgem_gem_dumb_create Message-ID: <20200203090619.GL1778@kadam> References: <000000000000ae2f81059d7716b8@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9519 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002030073 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9519 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002030073 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 02, 2020 at 02:19:18PM +0100, Daniel Vetter wrote: > On Fri, Jan 31, 2020 at 11:28 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit: 39bed42d Merge tag 'for-linus-hmm' of git://git.kernel.org.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=179465bee00000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=2646535f8818ae25 > > dashboard link: https://syzkaller.appspot.com/bug?extid=0dc4444774d419e916c8 > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16251279e00000 > > > > The bug was bisected to: > > > > commit 7611750784664db46d0db95631e322aeb263dde7 > > Author: Alex Deucher > > Date: Wed Jun 21 16:31:41 2017 +0000 > > > > drm/amdgpu: use kernel is_power_of_2 rather than local version > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11628df1e00000 > > final crash: https://syzkaller.appspot.com/x/report.txt?x=13628df1e00000 > > console output: https://syzkaller.appspot.com/x/log.txt?x=15628df1e00000 > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+0dc4444774d419e916c8@syzkaller.appspotmail.com > > Fixes: 761175078466 ("drm/amdgpu: use kernel is_power_of_2 rather than local version") > > Aside: This bisect line is complete nonsense ... I'm kinda at the > point where I'm assuming that syzbot bisect results are garbage, which > is maybe not what we want. I guess much stricter filtering for noise > is needed, dunno. > -Danile With race conditions the git bisect is often nonsense. regards, dan carpenter