From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 620B6C001DC for ; Mon, 17 Jul 2023 20:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231351AbjGQUyb convert rfc822-to-8bit (ORCPT ); Mon, 17 Jul 2023 16:54:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231305AbjGQUyW (ORCPT ); Mon, 17 Jul 2023 16:54:22 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F20D9D for ; Mon, 17 Jul 2023 13:54:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 15BB26342026; Mon, 17 Jul 2023 22:54:19 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id oo5kc-E4XfjD; Mon, 17 Jul 2023 22:54:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id AB00D613AFCD; Mon, 17 Jul 2023 22:54:18 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id a2qxEfyqq3k2; Mon, 17 Jul 2023 22:54:18 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 8B6EA6342026; Mon, 17 Jul 2023 22:54:18 +0200 (CEST) Date: Mon, 17 Jul 2023 22:54:18 +0200 (CEST) From: Richard Weinberger To: Stephan Wurm Cc: Miquel Raynal , Vignesh Raghavendra , linux-mtd , linux-kernel , Johannes Eigner Message-ID: <961736756.5775.1689627258484.JavaMail.zimbra@nod.at> In-Reply-To: References: <736980270.3262.1689586950735.JavaMail.zimbra@nod.at> <260741266.3681.1689591789332.JavaMail.zimbra@nod.at> Subject: Re: ubiblock: null pointer dereference using scatterlist in work_queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: ubiblock: null pointer dereference using scatterlist in work_queue Thread-Index: 3MOm7rPMjutbsmQ5JwaPKkQjaUaJKw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "Stephan Wurm" > [ 50.502309] 55nth call of ubi_ea_read_leb_sg > [ 64.939917] sgl[00000000] => 00000000: page_link=4025764322, offset=0, > length=512 Hmm, blk_rq_map_sg() returns non-zero, sg_nents() is also non-zero but the very first sg list entry is not virtually mapped. Thanks, //richard