Linux Sound subsystem development
 help / color / mirror / Atom feed
From: syzbot ci <syzbot+ci4a0a685a2ad8288a@syzkaller.appspotmail.com>
To: 25031212351@stu.xidian.edu.cn, byu@xidian.edu.cn,
	 linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
	perex@perex.cz,  stable@vger.kernel.org, tiwai@suse.de,
	wencheng@xidian.edu.cn
Cc: syzbot@lists.linux.dev, syzkaller-bugs@googlegroups.com
Subject: [syzbot ci] Re: ALSA: line6: Stop URBs synchronously via sync_stop callback
Date: Thu, 26 Nov 2026 22:23:47 -0800	[thread overview]
Message-ID: <6b0921f3.1492ceaa.187240.0078.GAE@google.com> (raw)
In-Reply-To: <20261122090454.6217-1-25031212351@stu.xidian.edu.cn>

syzbot ci has tested the following series

[v4] ALSA: line6: Stop URBs synchronously via sync_stop callback
https://lore.kernel.org/all/20261122090454.6217-1-25031212351@stu.xidian.edu.cn
* [PATCH v4] ALSA: line6: Stop URBs synchronously via sync_stop callback

and found the following issue:
general protection fault in line6_kill_audio_urbs

Full report is available here:
https://ci.syzbot.org/series/142062cf-1e2f-45f6-889f-e755c6f0dfc7

***

general protection fault in line6_kill_audio_urbs

tree:      torvalds
URL:       https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
base:      9437ee8b6cf607e883b36e44bd755968daaebd48
arch:      amd64
compiler:  Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8
config:    https://ci.syzbot.org/builds/fa7bddbf-e0c4-41e2-9f96-995d29f44c33/config
syz repro: https://ci.syzbot.org/findings/3b9dd218-32a8-4b85-8604-77328ada3c3e/syz_repro

snd_usb_toneport 1-1:0.0: cannot get proper max packet size
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 994 Comm: kworker/0:3 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:line6_kill_audio_urbs+0x1eb/0x320 sound/usb/line6/pcm.c:133
Code: 4c 8b 24 24 4c 89 e5 48 c1 ed 03 42 80 7c 35 00 00 74 08 4c 89 e7 e8 d4 96 92 f8 4d 8b 24 24 4a 8d 3c 23 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 05 e8 b9 96 92 f8 4d 8b 24 1c 4d 85 e4 74 0f e8
RSP: 0018:ffffc9000632ec10 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88810d8e0000 RSI: 0000000000000010 RDI: 0000000000000000
RBP: 1ffff11023131427 R08: ffffffff91be37bf R09: 1ffffffff237c6f7
R10: dffffc0000000000 R11: fffffbfff237c6f8 R12: 0000000000000000
R13: 0000000000000001 R14: dffffc0000000000 R15: ffff88811898a000
FS:  0000000000000000(0000) GS:ffff88818bdf6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bf9470d0a0 CR3: 0000000117d14000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 line6_pcm_disconnect+0x1c/0x30 sound/usb/line6/pcm.c:515
 line6_disconnect+0x166/0x260 sound/usb/line6/driver.c:844
 line6_probe+0x9f5/0xcd0 sound/usb/line6/driver.c:818
 usb_probe_interface+0x751/0xe00 drivers/usb/core/driver.c:399
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x254/0xae0 drivers/base/dd.c:707
 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:869
 driver_probe_device+0x4f/0x240 drivers/base/dd.c:899
 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1027
 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
 __device_attach+0x2bd/0x430 drivers/base/dd.c:1131
 device_initial_probe+0x9c/0x100 drivers/base/dd.c:1190
 __bus_probe_device+0x126/0x220 drivers/base/bus.c:614
 device_add+0x7d7/0xb80 drivers/base/core.c:3778
 usb_set_configuration+0x1bb5/0x2260 drivers/usb/core/message.c:2280
 usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:250
 usb_probe_device+0x1c3/0x3b0 drivers/usb/core/driver.c:293
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x254/0xae0 drivers/base/dd.c:707
 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:869
 driver_probe_device+0x4f/0x240 drivers/base/dd.c:899
 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1027
 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
 __device_attach+0x2bd/0x430 drivers/base/dd.c:1131
 device_initial_probe+0x9c/0x100 drivers/base/dd.c:1190
 __bus_probe_device+0x126/0x220 drivers/base/bus.c:614
 device_add+0x7d7/0xb80 drivers/base/core.c:3778
 usb_new_device+0x9aa/0x1690 drivers/usb/core/hub.c:2713
 hub_port_connect drivers/usb/core/hub.c:5585 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5725 [inline]
 port_event drivers/usb/core/hub.c:5889 [inline]
 hub_event+0x28e8/0x4d30 drivers/usb/core/hub.c:5971
 process_one_work kernel/workqueue.c:3497 [inline]
 process_scheduled_works+0xc5d/0x1650 kernel/workqueue.c:3580
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3661
 kthread+0x38b/0x480 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
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:line6_kill_audio_urbs+0x1eb/0x320 sound/usb/line6/pcm.c:133
Code: 4c 8b 24 24 4c 89 e5 48 c1 ed 03 42 80 7c 35 00 00 74 08 4c 89 e7 e8 d4 96 92 f8 4d 8b 24 24 4a 8d 3c 23 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 05 e8 b9 96 92 f8 4d 8b 24 1c 4d 85 e4 74 0f e8
RSP: 0018:ffffc9000632ec10 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88810d8e0000 RSI: 0000000000000010 RDI: 0000000000000000
RBP: 1ffff11023131427 R08: ffffffff91be37bf R09: 1ffffffff237c6f7
R10: dffffc0000000000 R11: fffffbfff237c6f8 R12: 0000000000000000
R13: 0000000000000001 R14: dffffc0000000000 R15: ffff88811898a000
FS:  0000000000000000(0000) GS:ffff88818bdf6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bf9470d0a0 CR3: 0000000117d14000 CR4: 00000000000006f0
----------------
Code disassembly (best guess):
   0:	4c 8b 24 24          	mov    (%rsp),%r12
   4:	4c 89 e5             	mov    %r12,%rbp
   7:	48 c1 ed 03          	shr    $0x3,%rbp
   b:	42 80 7c 35 00 00    	cmpb   $0x0,0x0(%rbp,%r14,1)
  11:	74 08                	je     0x1b
  13:	4c 89 e7             	mov    %r12,%rdi
  16:	e8 d4 96 92 f8       	call   0xf89296ef
  1b:	4d 8b 24 24          	mov    (%r12),%r12
  1f:	4a 8d 3c 23          	lea    (%rbx,%r12,1),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	74 05                	je     0x36
  31:	e8 b9 96 92 f8       	call   0xf89296ef
  36:	4d 8b 24 1c          	mov    (%r12,%rbx,1),%r12
  3a:	4d 85 e4             	test   %r12,%r12
  3d:	74 0f                	je     0x4e
  3f:	e8                   	.byte 0xe8


***

If these findings have caused you to resend the series or submit a
separate fix, please add the following tag to your commit message:
  Tested-by: syzbot@syzkaller.appspotmail.com

---
This report is generated by a bot. It may contain errors.
syzbot ci engineers can be reached at syzkaller@googlegroups.com.

  parent reply	other threads:[~2026-11-27  6:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21 10:40 [PATCH v3] ALSA: line6: Kill URBs before releasing the PCM buffer YuanZhe Liu
2026-11-22  8:16 ` Takashi Iwai
2026-11-22  9:04   ` [PATCH v4] ALSA: line6: Stop URBs synchronously via sync_stop callback YuanZhe Liu
2026-11-22  9:20     ` sashiko-bot
2026-11-27  6:23     ` syzbot ci [this message]
2026-11-27  7:17       ` [syzbot ci] " YuanZhe Liu
2026-11-22  9:34   ` [PATCH v5] " YuanZhe Liu
2026-11-22  9:51     ` sashiko-bot
2026-11-22 10:40   ` [PATCH v6] " YuanZhe Liu
2026-11-22 10:56     ` sashiko-bot
2026-11-23  8:58     ` Takashi Iwai

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=6b0921f3.1492ceaa.187240.0078.GAE@google.com \
    --to=syzbot+ci4a0a685a2ad8288a@syzkaller.appspotmail.com \
    --cc=25031212351@stu.xidian.edu.cn \
    --cc=byu@xidian.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=stable@vger.kernel.org \
    --cc=syzbot@lists.linux.dev \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tiwai@suse.de \
    --cc=wencheng@xidian.edu.cn \
    /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