netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* REGRESSION in nfnetlink on 3.18.x (bisected)
@ 2014-12-20 23:33 Andre Tomt
  2014-12-20 23:51 ` Andre Tomt
  2014-12-22 11:56 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 6+ messages in thread
From: Andre Tomt @ 2014-12-20 23:33 UTC (permalink / raw)
  To: netfilter-devel, netdev

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-08 10:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-20 23:33 REGRESSION in nfnetlink on 3.18.x (bisected) Andre Tomt
2014-12-20 23:51 ` Andre Tomt
2014-12-22 11:56 ` Pablo Neira Ayuso
2014-12-22 23:23   ` Andre Tomt
2015-01-07 22:03     ` Andre Tomt
2015-01-08 10:47       ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).