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

            Bug ID: 199705
           Summary: [patch] [geom] use-after-free bug in geli
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]
          Keywords: patch

Created attachment 156004
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156004&action=edit
patch for geli

In g_eli_auth_run() and g_eli_crypto_run(), crypto_dispatch() sends crypto
request. 
After the last child bio is served, the bp is freed in g_vfs_done(). 
Then in g_eli_auth_run() and g_eli_crypto_run(), there are uses of the freed bp 

if (bp->bio_error == 0)
          bp->bio_error = error;

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to