Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2019 09:02:31 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Holm <pho@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/t...
Message-ID:  <6f06637f-6486-bd2c-eebe-f14924e11e38@FreeBSD.org>
In-Reply-To: <20190827143953.GA5092@x8.osted.lan>
References:  <201908270001.x7R01vUB052426@repo.freebsd.org> <20190827143953.GA5092@x8.osted.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/27/19 7:39 AM, Peter Holm wrote:
> On Tue, Aug 27, 2019 at 12:01:57AM +0000, John Baldwin wrote:
>> Author: jhb
>> Date: Tue Aug 27 00:01:56 2019
>> New Revision: 351522
>> URL: https://svnweb.freebsd.org/changeset/base/351522
>>
>> Log:
>>   Add kernel-side support for in-kernel TLS.
>>   
> 
> Could this be yours?
> 
> 20190827 15:55:34 all (496/668): sendfile12.sh
> Aug 27 15:56:16 mercat1 kernel: pid 50036 (swap), jid 0, uid 0, was killed: out of swap space
> panic: non-ext_pgs mbuf with TLS session

Possibly, though if sfio was freed and marked with 0xdeadc0de junk, then it
would trip over this assertion for any use-after-free.  I see in gdb that you
couldn't see sfio because of clang's poor debug info.  It would be really good
to try to find the contents of sfio to debug this further.

You should be able to find it via 'bp->b_caller1' in frame 14:

'p *(struct sf_io *)bp->b_caller1'

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f06637f-6486-bd2c-eebe-f14924e11e38>