From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Tomt Subject: REGRESSION in nfnetlink on 3.18.x (bisected) Date: Sun, 21 Dec 2014 00:33:51 +0100 Message-ID: <5496075F.3060204@tomt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: netfilter-devel@vger.kernel.org, netdev@vger.kernel.org Return-path: Received: from mail1.ugh.no ([178.79.162.34]:56415 "EHLO mail1.ugh.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbaLTXjL (ORCPT ); Sat, 20 Dec 2014 18:39:11 -0500 Sender: netdev-owner@vger.kernel.org List-ID: On at least Ubuntu 14.04 LTS and Ubuntu 14.10 "conntrack -E" has started failing with Linux 3.18.x. conntrack -L still works. 14.04 and 14.10 ships conntrack-utils version 1.4.1, but 1.4.2 does not work either. It fails with: > # conntrack -E > conntrack v1.4.2 (conntrack-tools): Can't open handler strace shows: > bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 > getsockname(3, {sa_family=AF_NETLINK, pid=14092, groups=00000000}, [12]) = 0 > bind(3, {sa_family=AF_NETLINK, pid=14092, groups=00000007}, 12) = -1 EINVAL (Invalid argument) Reverting 97840cb67ff5ac8add836684f011fd838518d698 - netfilter: nfnetlink: fix insufficient validation in nfnetlink_bind makes everything work again on my systems. I'm testing with > # modprobe nfnetlink > # modprobe nf_conntrack_netlink > # modprobe nf_conntrack_ipv4 > # conntrack -E