[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240905225030.2026-1-hdanton@sina.com>
Date: Fri, 6 Sep 2024 06:50:30 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+8811381d455e3e9ec788@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [net?] KASAN: slab-use-after-free Read in unix_stream_read_actor (2)
On Wed, 04 Sep 2024 08:13:24 -0700
> syzbot found the following issue on:
>
> HEAD commit: fbdaffe41adc Merge branch 'am-qt2025-phy-rust'
> git tree: net-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16d3fc53980000
#syz test
--- x/net/unix/af_unix.c
+++ y/net/unix/af_unix.c
@@ -2634,6 +2634,7 @@ static int unix_stream_recv_urg(struct u
if (!(state->flags & MSG_PEEK))
WRITE_ONCE(u->oob_skb, NULL);
+ __skb_unlink(oob_skb, &sk->sk_receive_queue);
spin_unlock(&sk->sk_receive_queue.lock);
unix_state_unlock(sk);
--
Powered by blists - more mailing lists