From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+86b6d7c8bcc66747c505@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [usb?] KASAN: slab-out-of-bounds Read in mon_bin_event
Date: Thu, 3 Jul 2025 12:34:47 +0800 [thread overview]
Message-ID: <20250703043448.2287-1-hdanton@sina.com> (raw)
In-Reply-To: <68656f81.a70a0220.5d25f.0447.GAE@google.com>
> 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) {
--
next prev parent reply other threads:[~2025-07-03 4:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-02 17:42 syzbot
2025-07-03 4:34 ` Hillf Danton [this message]
2025-07-03 9:47 ` syzbot
2025-07-20 19:16 ` syztest Arnaud Lecomte
2025-07-20 19:46 ` [syzbot] [usb?] KASAN: slab-out-of-bounds Read in mon_bin_event syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250703043448.2287-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+86b6d7c8bcc66747c505@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®