Skip to content

Raw socket cleanups

Greg Kroah-Hartman netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mISDN: enforce CAP_NET_RAW for raw socketsdrivers/isdn/mISDN/socket.c+2 -00 replies
2/5appletalk: enforce CAP_NET_RAW for raw socketsnet/appletalk/ddp.c+5 -00 replies
3/5ax25: enforce CAP_NET_RAW for raw socketsnet/ax25/af_ax25.c+2 -00 replies
4/5ieee802154: enforce CAP_NET_RAW for raw socketsnet/ieee802154/socket.c+3 -02 replies
5/5nfc: enforce CAP_NET_RAW for raw socketsnet/nfc/llcp_sock.c+5 -20 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchStefan Schmidt
1/5
2/5
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Raw socket cleanups

Ori Nimron pointed out that there are a number of places in the kernel where you can create a raw socket, without having to have the CAP_NET_RAW permission.

To resolve this, here's a short patch series to test these odd and old protocols for this permission before allowing the creation to succeed

All patches are currently against the net tree.

thanks,

greg k-h

Ori Nimron (5):
mISDN: enforce CAP_NET_RAW for raw sockets
appletalk: enforce CAP_NET_RAW for raw sockets
ax25: enforce CAP_NET_RAW for raw sockets
ieee802154: enforce CAP_NET_RAW for raw sockets
nfc: enforce CAP_NET_RAW for raw sockets

 drivers/isdn/mISDN/socket.c | 2 ++
 net/appletalk/ddp.c         | 5 +++++
 net/ax25/af_ax25.c          | 2 ++
 net/ieee802154/socket.c     | 3 +++
 net/nfc/llcp_sock.c         | 7 +++++--
 5 files changed, 17 insertions(+), 2 deletions(-)
Signature · 1 line
2.23.0