[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_C7923A5DABDDB2191E4F830DC6A58B8DEB07@qq.com>
Date: Thu, 27 Jun 2024 20:44:52 +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 f76698bd9a8c
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