Skip to content

netlink patches

[email protected] netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netlink: kill netlink_set_nonrootinclude/linux/netlink.h lib/kobject_uevent.c net/core/rtnetlink.c +3 more+15 -230 replies
2/2netlink: fix possible spoofing from non-root processesnet/netlink/af_netlink.c+2 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] netlink patches

From: Pablo Neira Ayuso <[email protected]>

Hi,

The following two patches contain one update to replace netlink_set_nonroot and one RFC to resolve possible Netlink spoofing from the kernel itself by disabling one of the Netlink features (please, read [PATCH 2/2] for details).

The first patch removes the netlink_set_nonroot to use the recently added struct netlink_kernel_cfg passed to netlink_kernel_create.

The second tries to address netlink spoofing for non-root processes from the kernel while disabling the ability of two processes to communicate. Yes, this may be controversial I guess.

Specifically for the second patch, please, let me know if I'm missing anything that makes me reach bogus conclusions in the RFC patch.

Thanks!

Pablo Neira Ayuso (2):
netlink: kill netlink_set_nonroot
[RFC] netlink: fix possible spoofing from non-root processes

 include/linux/netlink.h    |    9 ++++-----
 lib/kobject_uevent.c       |    2 +-
 net/core/rtnetlink.c       |    2 +-
 net/netlink/af_netlink.c   |   21 ++++++++-------------
 net/netlink/genetlink.c    |    3 +--
 security/selinux/netlink.c |    2 +-
 6 files changed, 16 insertions(+), 23 deletions(-)
Signature · 1 line
1.7.10.4