Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3600421imm; Mon, 2 Jul 2018 02:00:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpehnFTY+5QFNydYEdJ5t8quxOAFTxa8el6p6OWMX8H5CvPTvOcju6WHPFds9HBgY3VxMYKv X-Received: by 2002:a62:6882:: with SMTP id d124-v6mr24468989pfc.122.1530522051426; Mon, 02 Jul 2018 02:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530522051; cv=none; d=google.com; s=arc-20160816; b=emNhEqu+9jA6xtdswE4k2+gHdfUE0qZiIfbgfuS4sbKXZlUi0FfDkNuKZS0KggVuEL A+qQ/4JJGfhXg9OZj7vDW1O7/qUcbqUfvnsspDc1We5elKUjL2xfP3gR3LD6wPtTaCQz 1Uzzq5h3Ul4o4nSskZfKN72r/tFuJ/bcToBMjEd0T/cHMd9RuHbiLJY9Fpin3hXznK7i +G7NoCKJ9s6/dcACaMmAiCDUsnVnr073vjBjRIL+acdOOLMwLyaL78CCDX6XusLde9Ak od5htmjjhhtq2iVRX+bmpIexGt6EU2t5vbgWJDdJCVM7dJ7Q+ESyQ/Mgt5Pz0i3EpTMC rOWw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:arc-authentication-results; bh=Q34IDmNiJV1nBxKJsNz+4VlYbOOuwwxILSxxBAEQKDY=; b=Za0ab3l4Qj9PuvtH+bWjIbHZL24voffCP/K/aty8mndS5MKWVBUbLqmw8qmm75FfW/ V7HsPScaAX8IpungTkLtl/qTJ4oRdc3bJA8D3luabj6eJs/1/IxehBIM/3WGtPhzo96Q hdLPOguVNwpT3MDR+6ruNZbqWAiKo+LtFqiaxVsx8zEICJSgm5Hhj5l4F0QBNP0/Jwfj rK/ig++eXifAfjE0NGhlaPxrvjq+u9JBOTFfmywt/LzC50u7szujPJilGT9LLaiOXZN4 Vr2baTUfBC41k4nUdZEf2ZnpxmTGpSHGJUjzX89/uiKnzPfyXOuS3TcXJEoERSAUvfS2 478Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GSSBt5uF; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8-v6si15170084pls.69.2018.07.02.02.00.36; Mon, 02 Jul 2018 02:00:51 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GSSBt5uF; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932378AbeGBHl5 (ORCPT + 99 others); Mon, 2 Jul 2018 03:41:57 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36945 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753270AbeGBHlj (ORCPT ); Mon, 2 Jul 2018 03:41:39 -0400 Received: by mail-oi0-f66.google.com with SMTP id k81-v6so14600064oib.4; Mon, 02 Jul 2018 00:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Q34IDmNiJV1nBxKJsNz+4VlYbOOuwwxILSxxBAEQKDY=; b=GSSBt5uFyQg/nfryomj+Ymx0wtG8/Zt3PZvHL6PXrRMU3bf/lLBYFACsmRRqRfXYgX IeIJUFwrVlu/zVV0C5whhb/iyTpG0u1Kkib4RmqqFAgQn0Rqo7Ic5vkfONNHZkwDeLcZ 3ZquQkme6DpsexBYOid5yx8/y1S1gwqcNbDmbHFXO8yzZSbbvZ3sb2y1b5x04IUHMFdd ZWegxh0knn5InWwgCXDRLrr03YTzc+56jj2hAtYoyPOCLPbn6ueS2UUtNqXAmQ/ypo/I 7HqWPcPFP4+Br+a6aZnzzezzHWcqi4z+Qu67Fo3U1S1PgbY0FfJvFAG5jkHFZT6kzVoy V7xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Q34IDmNiJV1nBxKJsNz+4VlYbOOuwwxILSxxBAEQKDY=; b=VkaWTpMYh7Qk+5Vp30CODZlRKPXVlxge41jVUoKArMHLBePeddpwrJ1lMKv1zTHv5D +djpAzH1bf186uHGnXHqCkU1HFgnlYaoYsmG5fizlyQz/pEgnUQwAKryuCfNiN29DNkE 8MDZHD6kQy/bBGpdaGAC2SthnRL5eH3qrWOp/LdckZU2Xk6PBHB0P1JMeyEBooYgWSVg 0PAOqQ6MP8Vymb+8xU4cR+OMvEbGajOjggOplNi8p2V6uyyKK8jrEzaqgiWaToCLrckn vRVx8qXkxlqHfH07PKbBR156ayEFxXi+rSSiXfOgykMLJq0BWpR0LBzaypubFXI1KBjc WD+g== X-Gm-Message-State: APt69E0YFsEMa27KRr8TEVuQA4I26MDwMpfFHBQ1HOkMrK9cic5Ruv5M //BTj0Wu9yx9w59lyQypvf6TaF7sG4fqoxqw2CY= X-Received: by 2002:aca:808:: with SMTP id 8-v6mr14938378oii.198.1530517298647; Mon, 02 Jul 2018 00:41:38 -0700 (PDT) MIME-Version: 1.0 References: <20180603184955.zrowxp4y3ij66y5n@eaf> <20180608152557.GB11958@amd> <20180629184542.jwxhruxgp5xv2abt@eaf> In-Reply-To: <20180629184542.jwxhruxgp5xv2abt@eaf> From: Anatoly Trosinenko Date: Mon, 2 Jul 2018 10:41:27 +0300 Message-ID: Subject: Re: Mounting corrupted HFS+ causes kernel NULL pointer dereference To: "Ernesto A. Fernandez" Cc: pavel@ucw.cz, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Tetsuo Handa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank you, now (with just this patch applied on top of v4.18-rc2) it just (asynchronously?) writes `hfsplus: b-tree write err: -5, ino: 3` to dmesg and does not segfaults. =D0=BF=D1=82, 29 =D0=B8=D1=8E=D0=BD. 2018 =D0=B3. =D0=B2 21:45, Ernesto A. = Fern=C3=A1ndez : > > Hi again: > > A patch for your original report has already been added to the -mm tree. > > On Tue, Jun 12, 2018 at 09:43:26PM +0300, Anatoly Trosinenko wrote: > > Now, when mounting the attached hfsplus_16mb_segv to /mnt and > > performing `dd if=3D/dev/zero of=3D/mnt/xyz bs=3D567879 count=3D1` I ge= t > > > > [ 1.646451] BUG: unable to handle kernel NULL pointer dereference > > at 0000000000000043 > > I just sent you a patch for this second report. It's really simple, so > it would be great if you could take a look at it and review it yourself. > Otherwise it's not very likely to get picked up. > > Thanks, > Ernest --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=90=D0=BD=D0=B0=D1=82=D0=BE=D0=BB=D0=B8=D0=B9 =D0=A2=D1=80=D0=BE=D1=81= =D0=B8=D0=BD=D0=B5=D0=BD=D0=BA=D0=BE e-mail: anatoly.trosinenko@gmail.com