Skip to content

net: start to replace copy_from_sockptr()

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: add copy_safe_from_sockptr() helperinclude/linux/sockptr.h+25 -01 replyApplied
2/3mISDN: fix MISDN_TIME_STAMP handlingdrivers/isdn/mISDN/socket.c+5 -50 repliesApplied
3/3nfc: llcp: fix nfc_llcp_setsockopt() unsafe copiesnet/nfc/llcp_sock.c+6 -61 replyApplied

Reviews trailers per patch

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

PatchKrzysztof Kozlowski
1/3
2/3
3/3R-b

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 net 0/3] net: start to replace copy_from_sockptr()

We got several syzbot reports about unsafe copy_from_sockptr() calls. After fixing some of them, it appears that we could use a new helper to factorize all the checks in one place.

This series targets net tree, we can later start converting many call sites in net-next.

Eric Dumazet (3):
net: add copy_safe_from_sockptr() helper
mISDN: fix MISDN_TIME_STAMP handling
nfc: llcp: fix nfc_llcp_setsockopt() unsafe copies

 drivers/isdn/mISDN/socket.c | 10 +++++-----
 include/linux/sockptr.h     | 25 +++++++++++++++++++++++++
 net/nfc/llcp_sock.c         | 12 ++++++------
 3 files changed, 36 insertions(+), 11 deletions(-)
Signature · 1 line
2.44.0.478.gd926399ef9-goog