Received: by 10.223.164.202 with SMTP id h10csp2151807wrb; Mon, 27 Nov 2017 12:40:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMYvCXH0eJcpNAbmsAG10ZwH7TzbXEJ6Ya/EtloCAMGY31KBfEXfvCgvBWes24I4Cp+jItcp X-Received: by 10.84.252.10 with SMTP id x10mr33296176pll.216.1511815204888; Mon, 27 Nov 2017 12:40:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511815204; cv=none; d=google.com; s=arc-20160816; b=qnxb4Y9XI2iFfBFDgHPfvk+l25hPdk+P6KMUnYMwEs1BxwW2Vk+6bwPDpDPh7T2mXL t9EjXyehIFoTzcwlnEiIbDcGQv6Pl4RBCnU/iedlu3L1SsuJ9ma09j/Gcl/60vqsfebv YsANNOuM7CZ2vkDidkJObPgkZB/ZmXZfgPhuoA7LvzPGt22E0I1AUs0EOltUgOGjUUQd PMv6Jr5E8tB5VO8++Wqc/HWsGzkGySgwkYwNODsfikgIaRQ30b0xmyadSgSOrnZUcPBi Fwgdt/ZLHUg+vUlKki1fktyoMBMg7vzDlpiZ4SO5Ca1MaSJcWHnumhE2bxqvtigGhGFD ixqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:cc:references:to:subject :arc-authentication-results; bh=TjNCxDUhxeanlKQ9RAP5WVTVjfuLVEcyUVHyypy3quE=; b=QPv4BV8sZ/jIYZ4YxKl3e1q//1YQ1P0wE4IiS0YAuGcbZCisQwkQv85MLMFzzSAKBO TDU39lexAsqvGcxZ2Or/dku1miOTaNU5f5rc0k564Q9FFmgIcs9jNEdQt9E8f+Nl7e63 Pg3XrFZKAePqnmY1DE9DfyKRT0kE1wyRHpPsGXf46qHeY5xlS8xduXYwf9y7Prye3fro /5FIUcqomNrlpy/8PekD/ls4mi7ij6640WieclTkj6zZjAgNT8xKYj6NEaypQ1Zd+Zad Zg7R6NTgF9xayX8vC/bWq2qXWdvOPwWPLOkBjxfRMkebmEyJi5/xjIoISD2qEaxf38vz Jkug== 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; dmarc=fail (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 e9si22946380pgv.186.2017.11.27.12.39.52; Mon, 27 Nov 2017 12:40:04 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753176AbdK0UjJ (ORCPT + 78 others); Mon, 27 Nov 2017 15:39:09 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:49169 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752609AbdK0UjH (ORCPT ); Mon, 27 Nov 2017 15:39:07 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vARKd1dJ023370 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Nov 2017 20:39:02 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vARKd0pt021310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Nov 2017 20:39:00 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vARKd0tI014013; Mon, 27 Nov 2017 20:39:00 GMT Received: from [10.209.243.219] (/10.209.243.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 27 Nov 2017 12:39:00 -0800 Subject: Re: general protection fault in __rds_rdma_map To: linux-rdma@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <001a113f98d6216a60055efb17da@google.com> Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, rds-devel@oss.oracle.com From: Santosh Shilimkar Organization: Oracle Corporation Message-ID: Date: Mon, 27 Nov 2017 12:39:51 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <001a113f98d6216a60055efb17da@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/2017 10:30 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > e1d1ea549b57790a3d8cf6300e6ef86118d692a3 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C reproducer is attached > syzkaller reproducer is attached. See > https://urldefense.proofpoint.com/v2/url?u=https-3A__goo.gl_kgGztJ&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=hWpFvp_cTkkwMMULcvbV65orOO9Gv3OUaY0ATWhQwak&m=0pw38xYdDB2QuLTkc6b0N3240iyzMU13jwFZvLaxDSo&s=0kx55ufXFnBORomS71r4MtXomSqMRKhkHI1tGM3oPic&e= > > for information about syzkaller reproducers > > > kasan: GPF could be caused by NULL-ptr deref or user memory access > general protection fault: 0000 [#1] SMP KASAN > RDS: rds_bind could not find a transport for 224.0.0.2, load rds_tcp or > rds_rdma? Seems like the RDMA operation got triggered on the non RDMA transport lead to non populated rs->rs_transport->get_mr(). Also seems like the tests was running in the namespace and the RDMA transport doesn't yet support it. Thanks for reporting. Will look into fix internally. Regards, Santosh From 1585245029570124845@xxx Mon Nov 27 18:31:09 +0000 2017 X-GM-THRID: 1585245029570124845 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread