Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp304648ybi; Thu, 13 Jun 2019 16:34:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyb9G9mrK79xAHSoVujVYp3LV7RES6KhbYIMThnMa+uliQFVg8KdaGyBAdxf2EPVBV5Q+4A X-Received: by 2002:a17:90a:9306:: with SMTP id p6mr7730934pjo.6.1560468851681; Thu, 13 Jun 2019 16:34:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560468851; cv=none; d=google.com; s=arc-20160816; b=yU+Av77bglbr6Vd2D9ue1VmWi7RXjB8h5mdlBWGyXtjPiBWfJsVNi4vKpwth0GOXEi peHIWPnq/O5Vi7wA1GypLy33XWzI/SbWH2J5km8uEi1mtINjvqx8CFJv2FH2QCwG9UPT vnpNndrFnK8caHU2PtnX3AEqAXjhioT1327m8m7fgYoSmQyCve/SJCjmn330nX6krDw5 Ihgfr5JvUFRiyADNNayMx1CMnGoGsbn+lRWmj7kE+X+w4t+wzaaTM0OobX1qlqKxKCGG 33XBbCjK+Sed2rANPs2FT5NaGXbp2WyCCGgg9DIII+VCw4DGbqEXugCbMUfccSrxpmjF oHoA== 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:mime-version :message-id:date:subject:cc:to:from; bh=dhw2IKNusop62OKit0lrXX1SP6AR/wnMxW3b+8cL3oI=; b=LYKPITaKxxcpyM7/hdIsevHmvsotT7B5ZFC/FE0QzGaTCdkhltbsb1NP0uF0kaLodv HszV6Hi60dDNT/jRidJH/8FzF+S/+8c+Uvbh1CdwxRdNsv7p8D9X4hUm1bT2/hb5l25r 8VzVmdrCMhqTQT1E18yUdUkBp3CIc6sCzvkjSQs165l5gOPTrLw2hrSEAfxkA6kCaAoh 4relONF3A3Z+hqLzIEo2OF4X5t6XZ0+TYQv9uZy/b5R5Cs7QUb7/0ZaJsq2f+FAYHNu6 lkDQUVlVHDe89yQ2xsA8VCfOjj6IWGLP2aKcfJvf7MpSgbR5VhPU0f1MkfEY/1qvgxCx weWQ== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w67si731472pfb.125.2019.06.13.16.33.57; Thu, 13 Jun 2019 16:34:11 -0700 (PDT) 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726797AbfFMXcY (ORCPT + 99 others); Thu, 13 Jun 2019 19:32:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44350 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726265AbfFMXcY (ORCPT ); Thu, 13 Jun 2019 19:32:24 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5DNC4fM061158; Thu, 13 Jun 2019 19:32:23 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 2t3xb2kmr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2019 19:32:23 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x5DNCwX7030472; Thu, 13 Jun 2019 23:32:22 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma03dal.us.ibm.com with ESMTP id 2t1x6frja6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2019 23:32:22 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5DNWKSD34931114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Jun 2019 23:32:20 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C4177BE054; Thu, 13 Jun 2019 23:32:20 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C088ABE058; Thu, 13 Jun 2019 23:32:19 +0000 (GMT) Received: from LeoBras.aus.stglabs.ibm.com (unknown [9.18.235.170]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 13 Jun 2019 23:32:19 +0000 (GMT) From: Leonardo Bras To: linux-block@vger.kernel.org Cc: Leonardo Bras , Jens Axboe , linux-kernel@vger.kernel.org Subject: [RFC PATCH 0/1] block/cfq : Include check to avoid NULL Pointer Date: Thu, 13 Jun 2019 20:31:58 -0300 Message-Id: <20190613233159.26687-1-leonardo@linux.ibm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-13_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=790 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906130176 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I believe to have found a NULL pointer dereference on the code, but as I am new to this code I would like the opinion of more experienced people. I am not sure if it is the right procedure to send it here, since this file is not on the tree since v4.20. But as it still affects many stable releases, I think it's worth the try. Please let me know if there is a better procedure on this. Leonardo Bras (1): block/cfq : Include check to avoid NULL Pointer Dereferencing block/cfq-iosched.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.20.1