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: <20250703043448.2287-1-hdanton@sina.com>
Date: Thu,  3 Jul 2025 12:34:47 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+86b6d7c8bcc66747c505@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [usb?] KASAN: slab-out-of-bounds Read in mon_bin_event

> Date: Wed, 02 Jul 2025 10:42:25 -0700
> syzbot found the following issue on:
> 
> HEAD commit:    1343433ed389 Add linux-next specific files for 20250630
> git tree:       linux-next
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=1370d770580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=66357ac5b0466f16
> dashboard link: https://syzkaller.appspot.com/bug?extid=86b6d7c8bcc66747c505
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=129b2ebc580000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1770d770580000

#syz test

--- l/drivers/usb/mon/mon_bin.c
+++ y/drivers/usb/mon/mon_bin.c
@@ -603,6 +603,8 @@ static void mon_bin_event(struct mon_rea
 	}
 
 	if (length != 0) {
+		if (length > urb->transfer_buffer_length)
+			length = urb->transfer_buffer_length;
 		length = mon_bin_get_data(rp, offset, urb, length,
 				&ep->flag_data);
 		if (length > 0) {
--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ