Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 2015 17:14:02 +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-GHpWMFxfj6@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 #3 from commit-hook@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.



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