net: start to replace copy_from_sockptr()
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: add copy_safe_from_sockptr() helperinclude/ | +25 | 1 reply | Applied |
| 2/3 | mISDN: fix MISDN_TIME_STAMP handlingdrivers/ | +5 | 0 replies | Applied |
| 3/3 | nfc: llcp: fix nfc_llcp_setsockopt() unsafe copiesnet/ | +6 | 1 reply | Applied |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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