[Bug 199705] [patch] [geom] use-after-free bug in geli
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 6 17:14:03 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199705
--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:
Author: pjd
Date: Thu Aug 6 17:13:35 UTC 2015
New revision: 286373
URL: https://svnweb.freebsd.org/changeset/base/286373
Log:
After crypto_dispatch() bio might be already delivered and destroyed,
so we cannot access it anymore. Setting an error later lead to memory
corruption.
Assert that crypto_dispatch() was successful. It can fail only if we pass a
bogus crypto request, which is a bug in the program, not a runtime condition.
PR: 199705
Submitted by: luke.tw
Reviewed by: emaste
MFC after: 3 days
Changes:
head/sys/geom/eli/g_eli_integrity.c
head/sys/geom/eli/g_eli_privacy.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-geom
mailing list