[Bug 241070] dumpon: dumpon opens geom devices non-exclusively

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 5 02:43:59 UTC 2019


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

            Bug ID: 241070
           Summary: dumpon: dumpon opens geom devices non-exclusively
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: asomers at FreeBSD.org

dumpon opens geom devices non-exclusively.  This might be required in order to
share a device for swap and dump purposes.  However, it's also dangerous as it
allows a single device to be used as both a dump device and a storage device.

Steps to reproduce:

> sudo dumpon vtbd1
> sudo zpool create foo vtbd1

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


More information about the freebsd-bugs mailing list