kern/91224: sending file descriptors via AF_UNIX socket crashes kernel

Vladimír Kotal vlada at devnull.cz
Mon Jan 2 10:09:10 PST 2006


On 2.1.2006, at 18:57, Robert Watson wrote:

>
> On Mon, 2 Jan 2006, Robert Watson wrote:
>
>> Synopsis: sending file descriptors via AF_UNIX socket crashes kernel
>>
>> State-Changed-From-To: open->feedback
>> State-Changed-By: rwatson
>> State-Changed-When: Mon Jan 2 17:54:04 UTC 2006
>> State-Changed-Why:
>> On 2005/11/10, I committed a fix for a number of bugs relating to
>> transfering UNIX domain sockets to the CVS HEAD as uipc_usrreq.c: 
>> 1.159,
>> and merged these to RELENG_6 as uipc_usrreq.c:1.155.2.2.  Could you
>> try upgrading to 6-STABLE and see if you still experience this  
>> problem?
>
> You'll also want kern_descrip.c:1.284 in HEAD or kern_descrip.c: 
> 1.243.2.8 which teaches closef() about the NULL thread pointer.   
> That was merged around 2005/11/16.
>

Yes, I have noticed the MFC in closef() just after I have submitted  
the bug. I don't think the kernel panic is possible with the (td !=  
NULL) check so this bug report can be marked as closed.


v.


More information about the freebsd-bugs mailing list