]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'net-fix-uaf-of-sk_dst_get-sk-dev'
authorJakub Kicinski <kuba@kernel.org>
Thu, 18 Sep 2025 01:10:24 +0000 (18:10 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 18 Sep 2025 01:10:25 +0000 (18:10 -0700)
commite218ae40241c162a752200efec92030d4de1b503
tree7be50d092f843bb35adac6f55fe43f58e97388fd
parent6b957c0a36f5a68d9b210ed2db67fc191d873ba4
parent893c49a78d9f85e4b8081b908fb7c407d018106a
Merge branch 'net-fix-uaf-of-sk_dst_get-sk-dev'

Kuniyuki Iwashima says:

====================
net: Fix UAF of sk_dst_get(sk)->dev.

syzbot caught use-after-free of sk_dst_get(sk)->dev,
which was not fetched under RCU nor RTNL. [0]

Patch 1 ~ 5, 7 fix UAF in smc, tcp, ktls, mptcp
Patch 6 fixes dst ref leak in mptcp

[0]: https://lore.kernel.org/68c237c7.050a0220.3c6139.0036.GAE@google.com

v1: https://lore.kernel.org/20250911030620.1284754-1-kuniyu@google.com
====================

Link: https://patch.msgid.link/20250916214758.650211-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>