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: <20250205110528.1938-1-hdanton@sina.com>
Date: Wed,  5 Feb 2025 19:05:27 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+683f8cb11b94b1824c77@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in skb_queue_purge_reason (2)

On Tue, 04 Feb 2025 06:48:26 -0800
> syzbot has found a reproducer for the following issue on:
> 
> HEAD commit:    40b8e93e17bf Add linux-next specific files for 20250204
> git tree:       linux-next
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=12f74f64580000

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git  master

--- x/drivers/bluetooth/hci_mrvl.c
+++ y/drivers/bluetooth/hci_mrvl.c
@@ -97,11 +97,14 @@ static int mrvl_close(struct hci_uart *h
 	if (hu->serdev)
 		serdev_device_close(hu->serdev);
 
+	if (!mrvl)
+		goto out;
 	skb_queue_purge(&mrvl->txq);
 	skb_queue_purge(&mrvl->rawq);
 	kfree_skb(mrvl->rx_skb);
 	kfree(mrvl);
 
+out:
 	hu->priv = NULL;
 	return 0;
 }
--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ