Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2020 21:14:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246945] ntfs-3g crashes after accessing files through nullfs mount (from jail)
Message-ID:  <bug-246945-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246945

            Bug ID: 246945
           Summary: ntfs-3g crashes after accessing files through nullfs
                    mount (from jail)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: silver.edge.1942@gmail.com

1) I've got an external USB HDD at /dev/da1 with NTFS partition on /dev/da1=
p2
Mount it:
# ntfs-3g /dev/da1p2 /mnt/seagate

2) Let one of its directories be accessible from jail myjail:

# mount -t nullfs /mnt/seagate/Blockchain/Bitcoin=20
/usr/local/jails/myjail/blockchain

3) In jail: execute: bitcoin-qt --datadir=3D/blockchain - OK.
Close bitcoin-qt. Execute again - ntfs-3g crashed on host.

It's a null pointer dereference. I've attached the core file.
gdb says:

Core was generated by `ntfs-3g /dev/da1p2 /mnt/seagate/'.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000008002727f5 in get_dirhandle (llfi=3D0x7fffffffe6a0,
fi=3D0x7fffffffe630) at fuse.c:3374
3374            fi->fh =3D dh->fh;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246945-7788>