[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_B71CE90EEE3ECDAC78E66E9C2FC96C1C950A@qq.com>
Date: Thu, 27 Jun 2024 20:52:31 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+c041b4ce3a6dfd1e63e2@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: [syzbot] [net?] KASAN: slab-use-after-free Write in l2tp_session_delete
delete tunnl session list
#syz test: linux-next 185d72112b95
diff --git a/net/l2tp/l2tp_ppp.c b/net/l2tp/l2tp_ppp.c
index 3596290047b2..1fd27c902d80 100644
--- a/net/l2tp/l2tp_ppp.c
+++ b/net/l2tp/l2tp_ppp.c
@@ -446,6 +446,7 @@ static int pppol2tp_release(struct socket *sock)
if (session) {
struct pppol2tp_session *ps;
+ list_del_init(&session->list);
l2tp_session_delete(session);
ps = l2tp_session_priv(session);
Powered by blists - more mailing lists