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: <20241128112948.1850-1-hdanton@sina.com>
Date: Thu, 28 Nov 2024 19:29:48 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+9f9ccb1c9235f3d44d53@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in __timer_delete

On Wed, 27 Nov 2024 10:59:25 -0800
> syzbot found the following issue on:
> 
> HEAD commit:    2c22dc1ee3a1 Merge tag 'mailbox-v6.13' of git://git.kernel..
> git tree:       upstream
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=16143778580000

#syz test

--- x/net/bluetooth/sco.c
+++ y/net/bluetooth/sco.c
@@ -192,7 +192,6 @@ static struct sco_conn *sco_conn_add(str
 			conn->hcon = hcon;
 			sco_conn_unlock(conn);
 		}
-		sco_conn_put(conn);
 		return conn;
 	}
 
@@ -201,6 +200,7 @@ static struct sco_conn *sco_conn_add(str
 		return NULL;
 
 	kref_init(&conn->ref);
+	kref_get(&conn->ref);
 	spin_lock_init(&conn->lock);
 	INIT_DELAYED_WORK(&conn->timeout_work, sco_sock_timeout);
 
--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ