Re: Mounting corrupted HFS+ causes kernel NULL pointer dereference
From: Anatoly Trosinenko
Date: Mon Jul 02 2018 - 03:42:01 EST
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.
ÐÑ, 29 ÐÑÐ. 2018 Ð. Ð 21:45, Ernesto A. FernÃndez
<ernesto.mnd.fernandez@xxxxxxxxx>:
>
> 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=/dev/zero of=/mnt/xyz bs=567879 count=1` I get
> >
> > [ 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
--
Ð ÑÐÐÐÐÐÐÐÐ,
ÐÐÐÑÐÐÐÐ ÐÑÐÑÐÐÐÐÐÐ
e-mail: anatoly.trosinenko@xxxxxxxxx