From: Holger Eitzenberger <holger@eitzenberger.org>
To: netfilter-devel <netfilter-devel@vger.kernel.org>
Cc: netdev@vger.kernel.org, "Eric W. Biederman" <ebiederm@xmission.com>
Subject: [BUG NFQUEUE] NFQUEUE readers get -PERM from sys_sendto() if !root
Date: Thu, 21 Mar 2013 15:36:43 +0100 [thread overview]
Message-ID: <20130321143643.GH13505@imap.eitzenberger.org> (raw)
Hi,
after updating to kernel v3.8.4 I see that Netfilter NFQUEUE readers
get -EPERM from sys_sendto() at the time they try to inject the verdict
back to the kernel. This only occurs iff not running as 'root'.
The last working kernel is v3.7.7.
Skimming through the changeset since v3.7.7 the following changes
pop up:
userns: Require CAP_SYS_ADMIN for most uses of setns.
userns: Allow unprivileged use of setns.
So it could be related to my current namespace config, which is
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set
I rate this a major issue, as quite some of those programs
drop privileges for various reasons.
Is this a known issue? Well, I skimmed through the list, but didn't
find anything.
/Holger
next reply other threads:[~2013-03-21 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 14:36 Holger Eitzenberger [this message]
2013-03-21 15:19 ` [BUG NFQUEUE] NFQUEUE readers get -PERM from sys_sendto() if !root Holger Eitzenberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130321143643.GH13505@imap.eitzenberger.org \
--to=holger@eitzenberger.org \
--cc=ebiederm@xmission.com \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).