syzbot


WARNING in usb_free_urb

Status: upstream: reported C repro on 2024/06/02 01:44
Subsystems: usb media
[Documentation on labels]
Reported-by: syzbot+b466336413a1fba398a5@syzkaller.appspotmail.com
First crash: 176d, last: 14h48m
Cause bisection: the cause commit could be any of (bisect log):
  51474ab44abf drm/bridge: aux-hpd-bridge: correct devm_drm_dp_hpd_bridge_add() stub
  89601f675b00 Merge tag 'usb-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly media report (Nov 2024) 0 (1) 2024/11/18 10:47
[syzbot] Monthly media report (Oct 2024) 0 (1) 2024/10/17 07:41
[syzbot] Monthly media report (Sep 2024) 0 (1) 2024/09/16 12:28
[syzbot] Monthly media report (Aug 2024) 0 (1) 2024/08/16 19:57
[syzbot] [media?] [usb?] WARNING in usb_free_urb 1 (3) 2024/06/02 03:45
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/06/12 01:35 20m retest repro upstream report log
2024/06/02 03:20 23m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log

Sample crash report:
smsmdtv:smscore_sendrequest_and_wait: sendrequest returned error -22
smsmdtv:smscore_set_device_mode: mode detect failed -22
smsmdtv:smscore_start_device: set device mode failed , rc -22
smsusb:smsusb_init_device: smscore_start_device(...) failed
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8 at mm/slub.c:4689 free_large_kmalloc+0x38/0x1c0 mm/slub.c:4689
Modules linked in:
CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.12.0-rc3-syzkaller-00183-g6efbea77b390 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: usb_hub_wq hub_event
RIP: 0010:free_large_kmalloc+0x38/0x1c0 mm/slub.c:4689
Code: 8b 04 25 28 00 00 00 48 89 44 24 08 48 8b 47 08 a8 01 0f 85 78 01 00 00 49 89 f6 0f 1f 44 00 00 49 f7 07 40 00 00 00 75 27 90 <0f> 0b 90 31 db 80 3d 6c 04 14 0e 00 75 21 c6 05 63 04 14 0e 01 48
RSP: 0018:ffffc900000d6ad0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff8737dd42 RCX: ffffea0000000000
RDX: 0000000000000000 RSI: ffff888076ee2000 RDI: ffffea0001dbb880
RBP: ffff888020ac2160 R08: ffffffff8142fe9c R09: 1ffff11004158420
R10: dffffc0000000000 R11: ffffed1004158421 R12: ffff88807bbb5000
R13: ffff888076ee2000 R14: ffff888076ee2000 R15: ffffea0001dbb880
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fae94897130 CR3: 0000000077708000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kfree+0x21c/0x440 mm/slub.c:4721
 urb_destroy drivers/usb/core/urb.c:25 [inline]
 kref_put include/linux/kref.h:65 [inline]
 usb_free_urb+0xd2/0x120 drivers/usb/core/urb.c:97
 smsusb_term_device+0x1d3/0x3c0 drivers/media/usb/siano/smsusb.c:352
 smsusb_init_device drivers/media/usb/siano/smsusb.c:497 [inline]
 smsusb_probe+0x1d00/0x2410 drivers/media/usb/siano/smsusb.c:575
 usb_probe_interface+0x645/0xbb0 drivers/usb/core/driver.c:399
 really_probe+0x2b8/0xad0 drivers/base/dd.c:658
 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
 driver_probe_device+0x50/0x430 drivers/base/dd.c:830
 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958
 bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:459
 __device_attach+0x333/0x520 drivers/base/dd.c:1030
 bus_probe_device+0x189/0x260 drivers/base/bus.c:534
 device_add+0x856/0xbf0 drivers/base/core.c:3675
 usb_set_configuration+0x1976/0x1fb0 drivers/usb/core/message.c:2210
 usb_generic_driver_probe+0x88/0x140 drivers/usb/core/generic.c:254
 usb_probe_device+0x1b8/0x380 drivers/usb/core/driver.c:294
 really_probe+0x2b8/0xad0 drivers/base/dd.c:658
 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
 driver_probe_device+0x50/0x430 drivers/base/dd.c:830
 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958
 bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:459
 __device_attach+0x333/0x520 drivers/base/dd.c:1030
 bus_probe_device+0x189/0x260 drivers/base/bus.c:534
 device_add+0x856/0xbf0 drivers/base/core.c:3675
 usb_new_device+0x104a/0x19a0 drivers/usb/core/hub.c:2651
 hub_port_connect drivers/usb/core/hub.c:5521 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
 port_event drivers/usb/core/hub.c:5821 [inline]
 hub_event+0x2d6d/0x5150 drivers/usb/core/hub.c:5903
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (282):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/18 06:46 upstream 6efbea77b390 666f77ed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in usb_free_urb
2024/05/29 01:32 upstream e0cce98fe279 c2e07261 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in usb_free_urb
2024/09/06 04:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9c0c11bb87b0 464ac2ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/12 01:23 upstream 2d5404caa8c7 97fe5517 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in usb_free_urb
2024/11/10 00:35 upstream da4373fbcf00 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in usb_free_urb
2024/11/02 14:17 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in usb_free_urb
2024/10/29 15:11 upstream e42b1a9a2557 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in usb_free_urb
2024/10/27 07:06 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in usb_free_urb
2024/10/20 03:57 upstream 9197b73fd7bb cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in usb_free_urb
2024/10/19 20:20 upstream 9197b73fd7bb cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in usb_free_urb
2024/10/18 23:32 upstream 4d939780b705 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in usb_free_urb
2024/10/22 03:19 upstream 42f7652d3eb5 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in usb_free_urb
2024/10/18 03:54 upstream 6efbea77b390 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in usb_free_urb
2024/11/20 16:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 237d4e0f4113 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/20 03:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 237d4e0f4113 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/19 14:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 237d4e0f4113 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/17 06:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 237d4e0f4113 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/17 02:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 237d4e0f4113 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/16 05:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aa03bda68af7 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/13 17:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 12bbabd3cab8 bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/10 02:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 226ff2e681d0 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/11/04 05:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c67e9601e29a f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/28 23:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/28 07:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/27 23:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/27 22:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/27 06:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/27 04:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/26 16:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/26 02:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/25 22:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 045e728d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/24 07:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/24 04:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/23 12:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/23 06:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/23 01:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/22 09:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/22 02:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/21 15:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c6d9e43954bf f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/20 17:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 07b887f8236e cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/19 22:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 07b887f8236e cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/19 09:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 07b887f8236e cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/17 23:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 07b887f8236e 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/17 13:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 07b887f8236e 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/16 13:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f47333c690e4 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/16 12:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f47333c690e4 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/15 04:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 64f3b5a6bc49 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/14 03:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d73dc7b182be 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/13 09:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a9fe2a8ac53 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
2024/10/13 04:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a9fe2a8ac53 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in usb_free_urb
* Struck through repros no longer work on HEAD.