From: syzbot <syzbot+abbfd103085885cf16a2@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Forwarded: Re: [syzbot] [usb?] KASAN: slab-out-of-bounds Read in usbtmc_interrupt
Date: Wed, 22 Apr 2026 14:34:58 -0700 [thread overview]
Message-ID: <69e93f02.050a0220.24bfd3.0045.GAE@google.com> (raw)
In-Reply-To: <689ff5f6.050a0220.e29e5.0032.GAE@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: Re: [syzbot] [usb?] KASAN: slab-out-of-bounds Read in usbtmc_interrupt
Author: halves@igalia.com
#syz test
--- a/drivers/usb/class/usbtmc.c
+++ b/drivers/usb/class/usbtmc.c
@@ -2452,7 +2452,7 @@ static int usbtmc_probe(struct usb_interface *intf,
kref_get(&data->kref);
/* allocate buffer for interrupt in */
- data->iin_buffer = kmalloc(data->iin_wMaxPacketSize,
+ data->iin_buffer = kmalloc(max(2, data->iin_wMaxPacketSize),
GFP_KERNEL);
if (!data->iin_buffer) {
retcode = -ENOMEM;
prev parent reply other threads:[~2026-04-22 21:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-16 3:07 [syzbot] [usb?] KASAN: slab-out-of-bounds Read in usbtmc_interrupt syzbot
2025-08-16 5:18 ` Hillf Danton
2025-08-16 5:43 ` syzbot
2025-08-17 2:08 ` Hillf Danton
2025-08-17 2:33 ` syzbot
2025-08-17 2:49 ` Hillf Danton
2025-08-17 3:19 ` syzbot
2025-08-17 4:11 ` Hillf Danton
2025-08-17 4:33 ` syzbot
2025-08-17 5:00 ` Hillf Danton
2025-08-17 5:30 ` syzbot
2025-08-17 6:07 ` Hillf Danton
2025-08-17 6:56 ` syzbot
2026-04-22 21:34 ` syzbot [this message]
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=69e93f02.050a0220.24bfd3.0045.GAE@google.com \
--to=syzbot+abbfd103085885cf16a2@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.