[Bug 221846] [regression] panic after r313351 due to NULL pointer dereference

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 27 07:07:51 UTC 2017


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

            Bug ID: 221846
           Summary: [regression] panic after r313351 due to NULL pointer
                    dereference
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: eugen at freebsd.org
          Keywords: regression

The revision https://svnweb.freebsd.org/base?view=revision&revision=313351
replaced ``if (h == NULL) return'' with KASSERT for ``h != NULL''.

Now "graid label" shell command that leads to
``root_mount_rel(mdi->mdio_rootmount)'' call with NULL argument making kernel
panic due to ``LIST_REMOVE(h, list)'' in the root_mount_rel() code.

This needs to be fixed somehow.

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


More information about the freebsd-bugs mailing list