NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/57904: ntfs code accepts any mask passed by -m option from mount_ntfs



>Number:         57904
>Category:       kern
>Synopsis:       ntfs code accepts any mask passed by -m option from mount_ntfs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 03 22:35:00 +0000 2024
>Originator:     Ricardo Branco
>Release:        NetBSD 10.0_RC3
>Organization:
>Environment:
>Description:
The ntfs code accepts any value passed from the -m option to `mount_ntfs`.

>How-To-Repeat:
$ mkntfs -fF ~/ntfs.img
$ sudo vnconfig vnd0 ~/ntfs.img
$ sudo mount_ntfs -m 010555 /dev/vnd0 /mnt
$ ls -l /mnt 
?r-xr-xr-x  1 root  wheel  0 Feb  3 23:15 /mnt

Bug fixed in FreeBSD:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=114856

>Fix:
https://github.com/NetBSD/src/pull/32



Home | Main Index | Thread Index | Old Index