limit sk_filter trim to payload
Get series with b4
b4 am 1468361937-102786-1-git-send-email-willemdebruijn.kernel@gmail.comVersions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rose: limit sk_filter trim to payloadinclude/ net/ net/ | +12 | 1 reply | |
| 2/2 | dccp: limit sk_filter trim to payloadinclude/ net/ net/ +1 more | +13 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Borkmann |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/2] limit sk_filter trim to payload
From: Willem de Bruijn <[email protected]>
Sockets can apply a filter to incoming packets to drop or trim them. Fix two codepaths that call skb_pull/__skb_pull after sk_filter without checking for packet length.
Reading beyond skb->tail after trimming happens in more codepaths, but safety of reading in the linear segment is based on minimum allocation size (MAX_HEADER, GRO_MAX_HEAD, ..).
Willem de Bruijn (2):
rose: limit sk_filter trim to payload
dccp: limit sk_filter trim to payload
include/linux/filter.h | 6 +++++- include/net/sock.h | 8 +++++++- net/core/filter.c | 10 +++++----- net/core/sock.c | 7 ++++--- net/dccp/ipv4.c | 2 +- net/dccp/ipv6.c | 2 +- net/rose/rose_in.c | 3 ++- 7 files changed, 25 insertions(+), 13 deletions(-)
Signature · 1 line
2.8.0.rc3.226.g39d4020