Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 18:19:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-geom@FreeBSD.org
Subject:   [Bug 199705] [patch] [geom] use-after-free bug in geli
Message-ID:  <bug-199705-14739-Ed5ZT0XuXa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199705-14739@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199705-14739@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199705

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
Testing now.

I believe this will in practice be rare - let me know if you agree:

> crypto_dispatch()
> returns EINVAL if its argument or the callback function was NULL, and 0
> otherwise.

So aside from bugs elsewhere, crypto_dispatch should only ever return 0, and
we'd need a race with another thread that sets bp->bio_error in order to cause
an issue.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199705-14739-Ed5ZT0XuXa>