From owner-freebsd-bugs@freebsd.org Fri Feb 24 14:00:36 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6D13CEB889 for ; Fri, 24 Feb 2017 14:00:36 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from smtp.rlwinm.de (smtp.rlwinm.de [148.251.233.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93CD887C; Fri, 24 Feb 2017 14:00:36 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from crest.lan.bultmann.eu (unknown [87.253.189.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.rlwinm.de (Postfix) with ESMTPSA id 59DAA7230; Fri, 24 Feb 2017 15:00:34 +0100 (CET) To: freebsd-bugs@FreeBSD.org, rwatson@FreeBSD.org From: Jan Bramkamp Subject: [Bug 131876] - [socket] FD leak by receiving SCM_RIGHTS by recvmsg with small control message buffer Message-ID: <0d8f447c-6efb-9dc4-53bc-4f07dd2404c6@rlwinm.de> Date: Fri, 24 Feb 2017 15:00:33 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2017 14:00:36 -0000 A few days ago i ran into the bug reported the first time in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=131876 some 8 year ago. The bug is still open, but I doubt that Robert Watson statement from 8 year ago that he just spend some time in the UNIX domain socket code is still accurate. Depending on his mail setup there is a good chance the mail got sorted in the 8 year old thread. Is there someone familiar with the file descriptor passing code in the kernel willing to look at the bug report? -- Jan Bramkamp