Message ID | 20181210075344.16731-1-shamir.rabinovitch@oracle.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 192E291E for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 10 Dec 2018 07:54:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F297D2851A for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 10 Dec 2018 07:54:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D221F286F6; Mon, 10 Dec 2018 07:54:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 739D42851A for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 10 Dec 2018 07:54:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726261AbeLJHyD (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Mon, 10 Dec 2018 02:54:03 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:39496 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbeLJHyD (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Mon, 10 Dec 2018 02:54:03 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wBA7iEwH163539; Mon, 10 Dec 2018 07:54:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2018-07-02; bh=VB4Xgl3G8ItRnzbtEV2JxKzpRFC9GEi7akaXShlH1qA=; b=0WcdJ6JMTvIsAO586PUMdMYmHf4szcVbNTD4IFV46xmil1ZUsIuC13h50jaXMrXKhEbq +La+G1WjuVf6UbonazGwZwHw+4/OjYIv6wNJeW1fd1LvwB1na6rwvHcz68x2O1bUKBEA coBdwE6bHKxD4XvXnGdBAx/nTXGlIPzyLCmxSnZycJ4njC0DhpmjSW5hMzYKE6r/H8iU 4VJjihki+NH5Lv46l9zl6ycwW9Q9LBsE9O+kT6vPPNm0S80CvHCDNschwdx9OaekGM92 VMVM5dtYFpLF0MzenK3dQFALt1+tRvx6A5A2c/V3NkM/PvRDJSJmbxCdDyv+Eihi6m9w Lg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2p85ctv994-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Dec 2018 07:54:01 +0000 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 wBA7rtJF018836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Dec 2018 07:53:55 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id wBA7rtkv012282; Mon, 10 Dec 2018 07:53:55 GMT Received: from localhost.localdomain (/10.175.0.73) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 09 Dec 2018 23:53:55 -0800 From: Shamir Rabinovitch <shamir.rabinovitch@oracle.com> To: linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com Cc: shamir.rabinovitch@oracle.com, gerd.rausch@oracle.com, santosh.shilimkar@oracle.com, davem@davemloft.net Subject: [PATCH rds linux-next 0/2] WARNING in rds_message_alloc_sgs Date: Mon, 10 Dec 2018 09:53:42 +0200 Message-Id: <20181210075344.16731-1-shamir.rabinovitch@oracle.com> X-Mailer: git-send-email 2.17.2 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9102 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=759 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812100074 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
WARNING in rds_message_alloc_sgs
|
expand
|
From: shamir rabinovitch <shamir.rabinovitch@oracle.com> This patch set fix google syzbot rds bug found in linux-next. The first patch solve the syzbot issue. The second patch fix issue mentioned by Leon Romanovsky that drivers should not call WARN_ON as result from user input. syzbot bug report can be foud here: https://lkml.org/lkml/2018/10/31/28 shamir rabinovitch (2): net/rds: fix warn in rds_message_alloc_sgs net/rds: remove user triggered WARN_ON in rds_sendmsg net/rds/message.c | 11 ++++++--- net/rds/rdma.c | 63 ++++++++++++++++++++++++----------------------- net/rds/rds.h | 20 ++++++++++++--- net/rds/send.c | 47 +++++++++++++++++++++++++++++------ 4 files changed, 95 insertions(+), 46 deletions(-)