Re: Unlinking a file on a broken UDF image causes kernel BUG
From: Jan Kara
Date: Wed Dec 12 2018 - 09:48:28 EST
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.
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR