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: <tencent_868A4B88749176DD66923DF7368C96523709@qq.com>
Date: Sun, 16 Nov 2025 16:02:27 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+9aa47cd4633a3cf92a80@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in mgmt_pending_remove

#syz test

diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 262bf984d2aa..33e725798c34 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -9474,7 +9474,9 @@ void mgmt_index_removed(struct hci_dev *hdev)
 	if (hci_test_quirk(hdev, HCI_QUIRK_RAW_DEVICE))
 		return;
 
+	hci_dev_lock(hdev);
 	mgmt_pending_foreach(0, hdev, true, cmd_complete_rsp, &match);
+	hci_dev_unlock(hdev);
 
 	if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
 		mgmt_index_event(MGMT_EV_UNCONF_INDEX_REMOVED, hdev, NULL, 0,


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ