[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230124020106.743966-1-jk@codeconstruct.com.au>
Date: Tue, 24 Jan 2023 10:01:02 +0800
From: Jeremy Kerr <jk@...econstruct.com.au>
To: netdev@...r.kernel.org
Cc: Matt Johnston <matt@...econstruct.com.au>,
Paolo Abeni <pabeni@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Noam Rathaus <noamr@...-disclosure.com>
Subject: [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
<noamr@...-disclosure.com>.
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(-)
--
2.35.1
Powered by blists - more mailing lists