RE: [PATCH] fs: NTFS read-write driver GPL implementation by Paragon Software.

From: Konstantin Komarov
Date: Thu Aug 20 2020 - 06:39:10 EST


From: Aurélien Aptel <aaptel@xxxxxxxx>
Sent: Friday, August 14, 2020 6:30 PM
> I've tried this using libntfs-3g mkfs.ntfs
>
> # mkfs.ntfs /dev/vb1
> # mount -t ntfs3 /dev/vb1 /mnt
>
> This already triggered UBSAN:
> Then I've tried to copy /etc into it:
> ...
> # cp -rp /etc /mnt
>
> But this triggered a NULL ptr deref:
>
> BUG: kernel NULL pointer dereference, address: 0000000000000028

Thanks! This will be fixed in v2. To give some context: we use our mkfs utility in tests, coupled with a Windows-native one as a reference. P.S. Already have extended this approach with the current mkfs.ntfs utility as well.