Linux USB
 help / color / mirror / Atom feed
From: syzbot <syzbot+e69c25cf38a53d0cf64c@syzkaller.appspotmail.com>
To: gregkh@linuxfoundation.org, hdanton@sina.com,
	linux-kernel@vger.kernel.org,  linux-usb@vger.kernel.org,
	syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [usb?] BUG: corrupted list in usb_hcd_link_urb_to_ep (5)
Date: Sun, 05 Jul 2026 03:23:29 -0700	[thread overview]
Message-ID: <6a4a30a1.7b9523b0.16a4a.000b.GAE@google.com> (raw)
In-Reply-To: <69038243.a70a0220.5b2ed.0048.GAE@google.com>

syzbot has found a reproducer for the following issue on:

HEAD commit:    2b763db0c276 Add linux-next specific files for 20260703
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=11f96ffe580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=bc069df559a09463
dashboard link: https://syzkaller.appspot.com/bug?extid=e69c25cf38a53d0cf64c
compiler:       Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=14a9dffe580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=103d8b1c580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/48dad133dd60/disk-2b763db0.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/df274fd385d1/vmlinux-2b763db0.xz
kernel image: https://storage.googleapis.com/syzbot-assets/f3a54c0c16ec/bzImage-2b763db0.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e69c25cf38a53d0cf64c@syzkaller.appspotmail.com

list_add double add: new=ffff88801bf49818, prev=ffff88801bf49818, next=ffff888040cc4078.
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:37!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 7510 Comm: syz.2.757 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:__list_add_valid_or_report+0xa5/0x130 lib/list_debug.c:35
Code: 74 12 b0 01 5b 41 5c 41 5d 41 5e 41 5f 5d e9 02 d7 79 06 cc 48 c7 c7 60 9c cb 8b 4c 89 fe 4c 89 f2 48 89 d9 e8 6c a0 50 fc 90 <0f> 0b 48 c7 c7 40 9a cb 8b e8 5d a0 50 fc 90 0f 0b 48 c7 c7 00 9b
RSP: 0018:ffffc90005a3f320 EFLAGS: 00010246
RAX: 0000000000000058 RBX: ffff888040cc4078 RCX: aa19a771139add00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 1ffff11008198810 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000b47e15 R12: 1ffff110037e9303
R13: dffffc0000000000 R14: ffff88801bf49818 R15: ffff88801bf49818
FS:  00007fadf887e6c0(0000) GS:ffff888125b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0f79a3b540 CR3: 000000003c4c0000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __list_add_valid include/linux/list.h:96 [inline]
 __list_add include/linux/list.h:158 [inline]
 list_add_tail include/linux/list.h:191 [inline]
 usb_hcd_link_urb_to_ep+0x1d2/0x330 drivers/usb/core/hcd.c:1154
 dummy_urb_enqueue+0x299/0x760 drivers/usb/gadget/udc/dummy_hcd.c:1292
 usb_hcd_submit_urb+0x322/0x1b40 drivers/usb/core/hcd.c:1542
 cm109_submit_buzz_toggle drivers/input/misc/cm109.c:351 [inline]
 cm109_toggle_buzzer_async drivers/input/misc/cm109.c:484 [inline]
 cm109_input_ev+0x1d1/0x3b0 drivers/input/misc/cm109.c:615
 input_event_dispose+0x80/0x6b0 drivers/input/input.c:322
 input_inject_event+0x1fa/0x310 drivers/input/input.c:424
 kd_sound_helper+0x101/0x210 drivers/tty/vt/keyboard.c:257
 input_handler_for_each_handle+0x101/0x1c0 drivers/input/input.c:2540
 kd_mksound+0x96/0x130 drivers/tty/vt/keyboard.c:281
 handle_ascii drivers/tty/vt/vt.c:2382 [inline]
 do_con_trol drivers/tty/vt/vt.c:2699 [inline]
 do_con_write+0x2f5a/0x5540 drivers/tty/vt/vt.c:3325
 con_write+0x31/0x2e0 drivers/tty/vt/vt.c:3661
 process_output_block drivers/tty/n_tty.c:557 [inline]
 n_tty_write+0xd4f/0x11e0 drivers/tty/n_tty.c:2366
 iterate_tty_write drivers/tty/tty_io.c:1006 [inline]
 file_tty_write+0x50b/0x980 drivers/tty/tty_io.c:1081
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x61e/0xbb0 fs/read_write.c:687
 ksys_write+0x156/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fadf921de59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fadf887e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fadf94a5fa0 RCX: 00007fadf921de59
RDX: 000000000000045c RSI: 00002000000004c0 RDI: 0000000000000005
RBP: 00007fadf92b3e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fadf94a6038 R14: 00007fadf94a5fa0 R15: 00007ffcbb190028
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_add_valid_or_report+0xa5/0x130 lib/list_debug.c:35
Code: 74 12 b0 01 5b 41 5c 41 5d 41 5e 41 5f 5d e9 02 d7 79 06 cc 48 c7 c7 60 9c cb 8b 4c 89 fe 4c 89 f2 48 89 d9 e8 6c a0 50 fc 90 <0f> 0b 48 c7 c7 40 9a cb 8b e8 5d a0 50 fc 90 0f 0b 48 c7 c7 00 9b
RSP: 0018:ffffc90005a3f320 EFLAGS: 00010246
RAX: 0000000000000058 RBX: ffff888040cc4078 RCX: aa19a771139add00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 1ffff11008198810 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000b47e15 R12: 1ffff110037e9303
R13: dffffc0000000000 R14: ffff88801bf49818 R15: ffff88801bf49818
FS:  00007fadf887e6c0(0000) GS:ffff888125b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0f79a3b540 CR3: 000000003c4c0000 CR4: 00000000003526f0


---
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.

      parent reply	other threads:[~2026-07-05 10:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-30 15:20 [syzbot] [usb?] BUG: corrupted list in usb_hcd_link_urb_to_ep (5) syzbot
2026-01-04  7:03 ` syzbot
2026-07-05 10:23 ` 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=6a4a30a1.7b9523b0.16a4a.000b.GAE@google.com \
    --to=syzbot+e69c25cf38a53d0cf64c@syzkaller.appspotmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox