[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b7711597-2aab-4097-8772-bbf3c8a50215@mail.ustc.edu.cn>
Date: Mon, 24 Jun 2024 16:30:26 +0800
From: lcx <lichunxiaona@...l.ustc.edu.cn>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: WARNING in usbtmc_probe/usb_submit_urb
Dear Linux maintainers and reviewers:
We would like to report a linux kernel bug, found by a modified version of syzkaller.
Kernel Version: a3e18a540541325a8c8848171f71e0d45ad30b2c(6.10-rc3)
Kernel Config: see attach, config
reproducing program: see attach, repro.c
Feel free to email us if any other information is needed. Hope the provided materials will help finding and fixing the bug.
-------------------------
The full log crash log are as follows:
Syzkaller hit 'WARNING in usbtmc_probe/usb_submit_urb' bug.
usb 1-1: config 0 descriptor??
usb 1-1: usb_control_msg returned -71
usbtmc 1-1:0.0: can't read capabilities
------------[ cut here ]------------
usb 1-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 0 PID: 771 at drivers/usb/core/urb.c:503 usb_submit_urb+0xbf9/0x1490 drivers/usb/core/urb.c:503
Modules linked in:
CPU: 0 PID: 771 Comm: kworker/0:2 Not tainted 6.10.0-rc3-00021-g2ef5971ff345-dirty #4
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0xbf9/0x1490 drivers/usb/core/urb.c:503
Code: 84 36 02 00 00 e8 97 16 2c fb 4c 89 f7 e8 df 3c f4 fe 45 89 e8 89 e9 4c 89 fa 48 89 c6 48 c7 c7 00 47 3e 8b e8 68 89 f1 fa 90 <0f> 0b 90 90 e9 61 fa ff ff e8 69 16 2c fb 49 81 c5 c8 05 00 00 e9
RSP: 0018:ffffc90003b87010 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888017a59800 RCX: 0000000000000000
RDX: ffff8880183c8000 RSI: ffffffff814af1dc RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: ffffed1005905171
R10: ffff88802c828b8b R11: 0000000000000001 R12: ffff888017a5985c
R13: 0000000000000003 R14: ffff88801539a0a8 R15: ffff88801f75e220
FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f00c72d30a0 CR3: 000000000cd74000 CR4: 00000000000006f0
Call Trace:
<TASK>
usbtmc_probe+0xd21/0x1a90 drivers/usb/class/usbtmc.c:2454
usb_probe_interface+0x2ac/0x910 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x208/0xa10 drivers/base/dd.c:656
__driver_probe_device+0x1b4/0x420 drivers/base/dd.c:798
driver_probe_device+0x4a/0x150 drivers/base/dd.c:828
__device_attach_driver+0x197/0x2b0 drivers/base/dd.c:956
bus_for_each_drv+0x151/0x1d0 drivers/base/bus.c:457
__device_attach+0x1bf/0x460 drivers/base/dd.c:1028
bus_probe_device+0x171/0x1b0 drivers/base/bus.c:532
device_add+0x1050/0x1930 drivers/base/core.c:3721
usb_set_configuration+0xf9c/0x1aa0 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0x99/0xe0 drivers/usb/core/generic.c:254
usb_probe_device+0xd0/0x380 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x208/0xa10 drivers/base/dd.c:656
__driver_probe_device+0x1b4/0x420 drivers/base/dd.c:798
driver_probe_device+0x4a/0x150 drivers/base/dd.c:828
__device_attach_driver+0x197/0x2b0 drivers/base/dd.c:956
bus_for_each_drv+0x151/0x1d0 drivers/base/bus.c:457
__device_attach+0x1bf/0x460 drivers/base/dd.c:1028
bus_probe_device+0x171/0x1b0 drivers/base/bus.c:532
device_add+0x1050/0x1930 drivers/base/core.c:3721
usb_new_device+0xd70/0x1a00 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+0x2894/0x4960 drivers/usb/core/hub.c:5903
process_one_work+0x93e/0x1970 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x63b/0xe70 kernel/workqueue.c:3393
kthread+0x2ab/0x390 kernel/kthread.c:389
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
</TASK>
Content of type "text/html" skipped
View attachment "config" of type "text/plain" (260180 bytes)
View attachment "repro.c" of type "text/plain" (16078 bytes)
Powered by blists - more mailing lists