[Bug 246945] ntfs-3g crashes after accessing files through nullfs mount (from jail)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 2 21:14:46 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246945

            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 at FreeBSD.org
          Reporter: silver.edge.1942 at gmail.com

1) I've got an external USB HDD at /dev/da1 with NTFS partition on /dev/da1p2
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 
/usr/local/jails/myjail/blockchain

3) In jail: execute: bitcoin-qt --datadir=/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=0x7fffffffe6a0,
fi=0x7fffffffe630) at fuse.c:3374
3374            fi->fh = dh->fh;

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


More information about the freebsd-ports-bugs mailing list