From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f78.google.com (mail-ot1-f78.google.com [209.85.210.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABDAD4503E0 for ; Thu, 30 Jul 2026 18:25:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785435943; cv=none; b=Xr3kL3PypVzxMgI+3C35b0/9jJZFiV8TFpqGNY4Vhfkrbfkm3yrk+pGtqlRNM9A+PBZ05reC7h2ysrc782cUd2HKqgny3qRu7CI9Qh3vSL0r3/pwQNoPRyyX2+gUPA+ze3/Mjdizvl1ut7yjEWeSVnm9u7AiVDgSlZgUYoNohSQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785435943; c=relaxed/simple; bh=rx1Rbkxf7dOQR2hVf242JKONy+wJFDSYFcRrcmCXkZw=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=h1/v6IxD3X7HoynZEueTH/VZU5TdHmsSXFJGDyAwUWeAw4sVyTStmAi4WHNkCd7XleVXT+2qBS1wLlXZ1hql7FflA0T2N29pkgNV8+HMbYSLzT5pCrQMLW4G3FIXcLkGfenkMrW4SnEls1mHL3FyOZBWKPnjFiQurXx+HR7UiV4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.210.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-ot1-f78.google.com with SMTP id 46e09a7af769-7e9e0e71e05so275049a34.2 for ; Thu, 30 Jul 2026 11:25:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785435938; x=1786040738; h=content-transfer-encoding:content-type:to:from:subject:message-id :in-reply-to:date:mime-version:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=m/ikOX6mD5Ud2DPL59LJKitqSOik6VNobq0x7AYqNmI=; b=n+UsT6bRvxw47ktBJs6MpiGvTYTbgmIlZiXu3huRlI46XlEqe8rmhIJR8Ll29FgYc6 u/HbU4ZSJXREtnp4UmaDcRGK10wHt2u7LoOVpIOGzgnz9pzg+MbFnZ4KSLHB1+ppBWYJ Pq6fESsGGI8eSXkubh3OBRqPPYyVnoAorJcapV8tcxuH9zfWpFehF54LfXnxwvnhvPHS 5K2C62/BN/lTK5Yg5L/HMrCLdjkGcoiC7BOmQMPx3CpdSjCUf4w22rdj9XwsqI2Kt2Dc H5ugQe+FQ5XbZBJQdirDMXhPLLnXH+TgT9cCjLsDx5j/vSgb/d92h1pyOhpKMu/r8hRL UvOA== X-Gm-Message-State: AOJu0YxdJM/kCTagdDMiseyeUQ/W+QMuvyjj0A2HZi6CWIFEJHeuara7 zqBZb2xm2+8fG2FjGSrJ1fC3VRsM1VNAGqw50y0AGZQ2EDmfZDZqKVW1GXarQRIKwhSCj7M7Kk+ d/1yIHLAUrDCogd7F40vdOO9dkCrro8m4Vpwt0Ted5dz6x99+Sb2h4buZIiup8g== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6808:4fdf:b0:4a4:2424:eb14 with SMTP id 5614622812f47-4ad878e1909mr3457016b6e.24.1785435937821; Thu, 30 Jul 2026 11:25:37 -0700 (PDT) Date: Thu, 30 Jul 2026 11:25:37 -0700 In-Reply-To: <6a68b182.4c659fcc.19cd90.0020.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a6b9721.77639fcc.3d4fd0.000e.GAE@google.com> Subject: Forwarded: Re: [syzbot] [usb?] general protection fault in f_midi2_stop_eps From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com. *** Subject: Re: [syzbot] [usb?] general protection fault in f_midi2_stop_eps Author: pimyn@google.com please #syz test On Tue, Jul 28, 2026 at 3:41=E2=80=AFPM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 3dab139d4795 Merge tag 'rust-fixes-7.2-2' of git://git.ke= r.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=3D137366b958000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Dcb17729fb04b1= e3a > dashboard link: https://syzkaller.appspot.com/bug?extid=3Dbbb6dad313f4aaa= 8da6b > compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e25= 5-1~exp1~20260613092250.77), Debian LLD 22.1.8 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D1369b746580= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D134a72ea58000= 0 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/647c579a2eab/dis= k-3dab139d.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/8800001c8ee2/vmlinu= x-3dab139d.xz > kernel image: https://storage.googleapis.com/syzbot-assets/337d386facb0/b= zImage-3dab139d.xz > > IMPORTANT: if you fix the issue, please add the following tag to the comm= it: > Reported-by: syzbot+bbb6dad313f4aaa8da6b@syzkaller.appspotmail.com > > Oops: general protection fault, probably for non-canonical address 0xdfff= fc00000000ee: 0000 [#1] SMP KASAN PTI > KASAN: null-ptr-deref in range [0x0000000000000770-0x0000000000000777] > CPU: 0 UID: 0 PID: 16 Comm: ktimers/0 Not tainted syzkaller #0 PREEMPT_{R= T,(full)} > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS G= oogle 07/16/2026 > RIP: 0010:f_midi2_free_ep_reqs drivers/usb/gadget/function/f_midi2.c:1166= [inline] > RIP: 0010:f_midi2_stop_eps+0x28e/0x4d0 drivers/usb/gadget/function/f_midi= 2.c:1246 > Code: 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 27 af e7 fa 41 b= f 70 07 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 48 89 44 24 18 <42> 0f b6 04 28= 84 c0 0f 85 12 02 00 00 41 8b 1f 31 ff 89 de e8 e9 > RSP: 0018:ffffc900001576f8 EFLAGS: 00010206 > RAX: 00000000000000ee RBX: ffff88802eae0120 RCX: ffff88801caa8000 > RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000100 > RBP: ffff88802eae0100 R08: ffffffff8faf9337 R09: 1ffffffff1f5f266 > R10: dffffc0000000000 R11: fffffbfff1f5f267 R12: ffff88802eae0770 > R13: dffffc0000000000 R14: ffff88802eae0128 R15: 0000000000000770 > FS: 0000000000000000(0000) GS:ffff888125c42000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 000055557b4714e8 CR3: 0000000035be2000 CR4: 00000000003526f0 > Call Trace: > > f_midi2_set_alt+0x11c/0xf00 drivers/usb/gadget/function/f_midi2.c:1296 > composite_setup+0x1ffd/0x3480 drivers/usb/gadget/composite.c:1933 > configfs_composite_setup+0xbd/0x100 drivers/usb/gadget/configfs.c:1877 > dummy_timer+0x2ea8/0x4b30 drivers/usb/gadget/udc/dummy_hcd.c:1937 > __run_hrtimer kernel/time/hrtimer.c:2032 [inline] > __hrtimer_run_queues+0x3eb/0xaf0 kernel/time/hrtimer.c:2096 > hrtimer_run_softirq+0x18f/0x260 kernel/time/hrtimer.c:2113 > handle_softirqs+0x1d9/0x6c0 kernel/softirq.c:622 > __do_softirq kernel/softirq.c:656 [inline] > run_ktimerd+0x69/0x100 kernel/softirq.c:1151 > smpboot_thread_fn+0x57c/0xa80 kernel/smpboot.c:160 > kthread+0x388/0x470 kernel/kthread.c:436 > ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 > ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 > > Modules linked in: > ---[ end trace 0000000000000000 ]--- > RIP: 0010:f_midi2_free_ep_reqs drivers/usb/gadget/function/f_midi2.c:1166= [inline] > RIP: 0010:f_midi2_stop_eps+0x28e/0x4d0 drivers/usb/gadget/function/f_midi= 2.c:1246 > Code: 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 27 af e7 fa 41 b= f 70 07 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 48 89 44 24 18 <42> 0f b6 04 28= 84 c0 0f 85 12 02 00 00 41 8b 1f 31 ff 89 de e8 e9 > RSP: 0018:ffffc900001576f8 EFLAGS: 00010206 > RAX: 00000000000000ee RBX: ffff88802eae0120 RCX: ffff88801caa8000 > RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000100 > RBP: ffff88802eae0100 R08: ffffffff8faf9337 R09: 1ffffffff1f5f266 > R10: dffffc0000000000 R11: fffffbfff1f5f267 R12: ffff88802eae0770 > R13: dffffc0000000000 R14: ffff88802eae0128 R15: 0000000000000770 > FS: 0000000000000000(0000) GS:ffff888125c42000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 000055557b4714e8 CR3: 0000000035be2000 CR4: 00000000003526f0 > ---------------- > Code disassembly (best guess): > 0: 89 f0 mov %esi,%eax > 2: 48 c1 e8 03 shr $0x3,%rax > 6: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) > b: 74 08 je 0x15 > d: 4c 89 f7 mov %r14,%rdi > 10: e8 27 af e7 fa call 0xfae7af3c > 15: 41 bf 70 07 00 00 mov $0x770,%r15d > 1b: 4d 03 3e add (%r14),%r15 > 1e: 4c 89 f8 mov %r15,%rax > 21: 48 c1 e8 03 shr $0x3,%rax > 25: 48 89 44 24 18 mov %rax,0x18(%rsp) > * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping in= struction > 2f: 84 c0 test %al,%al > 31: 0f 85 12 02 00 00 jne 0x249 > 37: 41 8b 1f mov (%r15),%ebx > 3a: 31 ff xor %edi,%edi > 3c: 89 de mov %ebx,%esi > 3e: e8 .byte 0xe8 > 3f: e9 .byte 0xe9 > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > > If the report is already addressed, let syzbot know by replying with: > #syz fix: exact-commit-title > > If you want syzbot to run the reproducer, reply with: > #syz test: git://repo/address.git branch-or-commit-hash > If you attach or paste a git patch, syzbot will apply it before testing. > > If you want to overwrite report's subsystems, reply with: > #syz set subsystems: new-subsystem > (See the list of subsystem names on the web dashboard) > > If the report is a duplicate of another one, reply with: > #syz dup: exact-subject-of-another-report > > If you want to undo deduplication, reply with: > #syz undup > > -- > You received this message because you are subscribed to the Google Groups= "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion visit https://groups.google.com/d/msgid/syzkaller= -bugs/6a68b182.4c659fcc.19cd90.0020.GAE%40google.com. --=20 =E2=B2=A0=E2=B2=9F=E2=B2=93=E2=B2=99=E2=B2=8F=E2=B2=9B =E2=B2=84=E2=B2=89= =E2=B2=B1=E2=B2=A3=E2=B2=85=E2=B2=93=E2=B2=9F=E2=B2=A5 - Pimyn Girgis Software Engineer Kernel Dynamic Analysis pimyn@google.com