[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 12 Dec 2018 15:48:20 +0100
From: Jan Kara <jack@...e.cz>
To: Anatoly Trosinenko <anatoly.trosinenko@...il.com>
Cc: Jan Kara <jack@...e.com>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: Unlinking a file on a broken UDF image causes kernel BUG
Hi,
On Sun 14-10-18 18:27:25, Anatoly Trosinenko wrote:
> When unlinking a file on a fuzzed UDF image, the kernel BUG is triggered.
>
> How to reproduce (with kvm-xfstests):
>
> 1) Checkout udf/for_next (commit 3df77b04f)
> 2) Copy x86_64-config-4.14 to .config, execute `make olddefconfig`,
> then enable UDF support and compile the kernel
> 3) Copy the attached reproducer to
> /tmp/kvm-xfstests-$USER/dump_udf.img (1 Mb uncompressed)
> 4) Run `kvm-xfstests shell`
> 5) Inside the shell:
Thanks for report and sorry it took so long for me to get to this. Attached
patch fixes the issue for me.
Unless someone objects, I'm going to merge the patch to my tree and push it
to Linus in the coming merge window.
Honza
--
Jan Kara <jack@...e.com>
SUSE Labs, CR
View attachment "0001-udf-Fix-BUG-on-corrupted-inode.patch" of type "text/x-patch" (1125 bytes)
Powered by blists - more mailing lists