lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ