svn commit: r273143 - head/sys/kern

Alexander Motin mav at FreeBSD.org
Wed Oct 15 19:09:11 UTC 2014


On 15.10.2014 21:48, NGie Cooper wrote:
> On Wed, Oct 15, 2014 at 11:36 AM, Alexander Motin <mav at freebsd.org> wrote:
>> Author: mav
>> Date: Wed Oct 15 18:36:34 2014
>> New Revision: 273143
>> URL: https://svnweb.freebsd.org/changeset/base/273143
>>
>> Log:
>>   Remove setting BIO_DONE flag for BIOs that have done() method.
>>
>>   This fixes use-after-free, caused by geom_disk, completing same BIO twice
>>   to save extra allocation, and getting BIO_DONE set after the first.
>>
>>   MFC after:    1 week
> 
> Hi mav,
>     This bug is present in stable/10 as well. Could you please merge
> it back to releng/10.1 before the release is cut?

I'll send request to re@ after required minimal three days. Though this
code was committed to head about a year ago, so not sure how big is this
problem.

-- 
Alexander Motin


More information about the svn-src-all mailing list