net: mctp: struct sock lifetime fixes
Status from this message: This series was applied to netdev/net.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: mctp: add an explicit reference from a mctp_sk_key to socknet/ | +8 | 0 replies | Applied |
| 2/4 | net: mctp: move expiry timer delete to unhashnet/ | +6 | 0 replies | Applied |
| 3/4 | net: mctp: hold key reference when looking up a general keynet/ | +7 | 0 replies | Applied |
| 4/4 | net: mctp: mark socks as dead on unhash, prevent re-addnet/ net/ | +7 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/4] net: mctp: struct sock lifetime fixes
This series is a set of fixes for the sock lifetime handling in the AF_MCTP code, fixing a uaf reported by Noam Rathaus <[email protected]>.
The Fixes: tags indicate the original patches affected, but some tweaking to backport to those commits may be needed; I have a separate branch with backports to 5.15 if that helps with stable trees.
Of course, any comments/queries most welcome.
Cheers,
Jeremy
---
Jeremy Kerr (3):
net: mctp: add an explicit reference from a mctp_sk_key to sock
net: mctp: move expiry timer delete to unhash
net: mctp: mark socks as dead on unhash, prevent re-add
Paolo Abeni (1):
net: mctp: hold key reference when looking up a general key
net/mctp/af_mctp.c | 10 +++++++--- net/mctp/route.c | 34 +++++++++++++++++++++------------- 2 files changed, 28 insertions(+), 16 deletions(-)
Signature · 1 line
2.35.1