syzbot


BUG: corrupted list in corrupted (2)

Status: closed as invalid on 2019/04/12 11:15
Subsystems: sound usb
[Documentation on labels]
First crash: 1894d, last: 1894d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in corrupted kernel C 4 2151d 2152d 0/27 closed as invalid on 2018/07/29 11:55
linux-4.19 BUG: corrupted list in corrupted C error 4 721d 1360d 0/1 upstream: reported C repro on 2020/09/27 07:51
upstream BUG: corrupted list in corrupted (3) usb C 1 1459d 1455d 0/27 closed as dup on 2020/06/24 12:45

Sample crash report:
snd_usb_toneport 5-1:0.0: set_interface failed
snd_usb_toneport 5-1:0.0: Line 6 POD Studio UX2 now disconnected
list_del corruption. next->prev should be ffff8880829b4868, but was ffff888099945ea8
snd_usb_toneport 2-1:0.0: set_interface failed
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:54!
snd_usb_toneport 2-1:0.0: Line 6 POD Studio UX2 now disconnected
invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 PID: 5445 Comm: kworker/1:4 Not tainted 5.1.0-rc4-319354-g9a33b36 #3
==================================================================
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
BUG: KASAN: use-after-free in __list_del_entry_valid+0xe0/0xef lib/list_debug.c:51
Workqueue: usb_hub_wq hub_event
Read of size 8 at addr ffff88809fe92228 by task kworker/0:0/5

RIP: 0010:__list_del_entry_valid.cold+0x48/0x55 lib/list_debug.c:54
CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.1.0-rc4-319354-g9a33b36 #3
Code: e8 30 e7 e9 fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 40 95 b3 8e e8 1c e7 e9 fd 0f 0b 48 89 ee 48 c7 c7 00 96 b3 8e e8 0b e7 e9 fd <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 89 fb 48 c7
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RSP: 0018:ffff888095fc7118 EFLAGS: 00010282
Workqueue: usb_hub_wq hub_event
RAX: 0000000000000054 RBX: ffff8880829b4770 RCX: 0000000000000000
Call Trace:
RDX: 0000000000000000 RSI: ffffffff815b1e42 RDI: ffffed1012bf8e15
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xe8/0x16e lib/dump_stack.c:113
RBP: ffff8880829b4868 R08: 0000000000000054 R09: ffffed1015a24fc9
R10: ffffed1015a24fc8 R11: ffff8880ad127e47 R12: ffff888214569ea8
R13: ffff88821a513c18 R14: ffff8880829b4770 R15: ffff8880829b4858
 print_address_description+0x6c/0x236 mm/kasan/report.c:187
FS:  0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000940004 CR3: 0000000098a72000 CR4: 00000000001406e0
 kasan_report.cold+0x1a/0x3c mm/kasan/report.c:317
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 __list_del_entry_valid+0xe0/0xef lib/list_debug.c:51
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 snd_info_free_entry+0x137/0x340 sound/core/info.c:795
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 snd_info_free_entry+0x137/0x340 sound/core/info.c:795
 snd_info_card_free+0x43/0x90 sound/core/info.c:606
 snd_info_card_free+0x43/0x90 sound/core/info.c:606
 snd_card_do_free sound/core/init.c:469 [inline]
 release_card_device+0x8b/0x100 sound/core/init.c:156
 snd_card_do_free sound/core/init.c:469 [inline]
 release_card_device+0x8b/0x100 sound/core/init.c:156
 device_release+0x7d/0x210 drivers/base/core.c:1064
 device_release+0x7d/0x210 drivers/base/core.c:1064
 kobject_cleanup lib/kobject.c:662 [inline]
 kobject_release lib/kobject.c:691 [inline]
 kref_put include/linux/kref.h:67 [inline]
 kobject_put+0x1df/0x4f0 lib/kobject.c:708
 kobject_cleanup lib/kobject.c:662 [inline]
 kobject_release lib/kobject.c:691 [inline]
 kref_put include/linux/kref.h:67 [inline]
 kobject_put+0x1df/0x4f0 lib/kobject.c:708
 put_device+0x21/0x30 drivers/base/core.c:2205
 put_device+0x21/0x30 drivers/base/core.c:2205
 snd_card_free_when_closed+0x3a/0x50 sound/core/init.c:493
 snd_card_free_when_closed+0x3a/0x50 sound/core/init.c:493
 line6_disconnect.cold+0xa3/0xbc sound/usb/line6/driver.c:833
 line6_disconnect.cold+0xa3/0xbc sound/usb/line6/driver.c:833
 line6_probe+0xb23/0x1150 sound/usb/line6/driver.c:799
 line6_probe+0xb23/0x1150 sound/usb/line6/driver.c:799
 usb_probe_interface+0x31d/0x820 drivers/usb/core/driver.c:361
 usb_probe_interface+0x31d/0x820 drivers/usb/core/driver.c:361
 really_probe+0x2da/0xb10 drivers/base/dd.c:509
 really_probe+0x2da/0xb10 drivers/base/dd.c:509
 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671
 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671
 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778
 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778
 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454
 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454
 __device_attach+0x223/0x3a0 drivers/base/dd.c:844
 __device_attach+0x223/0x3a0 drivers/base/dd.c:844
 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514
 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514
 device_add+0xad2/0x16e0 drivers/base/core.c:2106
 device_add+0xad2/0x16e0 drivers/base/core.c:2106
 usb_set_configuration+0xdf7/0x1740 drivers/usb/core/message.c:2021
 usb_set_configuration+0xdf7/0x1740 drivers/usb/core/message.c:2021
 generic_probe+0xa2/0xda drivers/usb/core/generic.c:210
 generic_probe+0xa2/0xda drivers/usb/core/generic.c:210
 usb_probe_device+0xc0/0x150 drivers/usb/core/driver.c:266
 usb_probe_device+0xc0/0x150 drivers/usb/core/driver.c:266
 really_probe+0x2da/0xb10 drivers/base/dd.c:509
 really_probe+0x2da/0xb10 drivers/base/dd.c:509
 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671
 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671
 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778
 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778
 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454
 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454
 __device_attach+0x223/0x3a0 drivers/base/dd.c:844
 __device_attach+0x223/0x3a0 drivers/base/dd.c:844
 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514
 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514
 device_add+0xad2/0x16e0 drivers/base/core.c:2106
 device_add+0xad2/0x16e0 drivers/base/core.c:2106
 usb_new_device.cold+0x537/0xccf drivers/usb/core/hub.c:2534
 usb_new_device.cold+0x537/0xccf drivers/usb/core/hub.c:2534
 hub_port_connect drivers/usb/core/hub.c:5089 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5204 [inline]
 port_event drivers/usb/core/hub.c:5350 [inline]
 hub_event+0x138e/0x3b00 drivers/usb/core/hub.c:5432
 hub_port_connect drivers/usb/core/hub.c:5089 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5204 [inline]
 port_event drivers/usb/core/hub.c:5350 [inline]
 hub_event+0x138e/0x3b00 drivers/usb/core/hub.c:5432
 process_one_work+0x90f/0x1580 kernel/workqueue.c:2269
 process_one_work+0x90f/0x1580 kernel/workqueue.c:2269
 worker_thread+0x9b/0xe20 kernel/workqueue.c:2415
 worker_thread+0x9b/0xe20 kernel/workqueue.c:2415
 kthread+0x313/0x420 kernel/kthread.c:253
 kthread+0x313/0x420 kernel/kthread.c:253
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Modules linked in:

---[ end trace 151321b510d44574 ]---
Allocated by task 17:
RIP: 0010:__list_del_entry_valid.cold+0x48/0x55 lib/list_debug.c:54
 set_track mm/kasan/common.c:87 [inline]
 __kasan_kmalloc mm/kasan/common.c:497 [inline]
 __kasan_kmalloc.constprop.0+0xbf/0xd0 mm/kasan/common.c:470
 kmalloc include/linux/slab.h:547 [inline]
 kzalloc include/linux/slab.h:742 [inline]
 snd_info_create_entry+0x56/0x400 sound/core/info.c:701
 snd_info_create_module_entry sound/core/info.c:737 [inline]
 create_subdir+0x27/0xa0 sound/core/info.c:454
 snd_info_card_create+0xcf/0x230 sound/core/info.c:528
Code: e8 30 e7 e9 fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 40 95 b3 8e e8 1c e7 e9 fd 0f 0b 48 89 ee 48 c7 c7 00 96 b3 8e e8 0b e7 e9 fd <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 89 fb 48 c7
 snd_card_new+0x61d/0x920 sound/core/init.c:255
RSP: 0018:ffff888095fc7118 EFLAGS: 00010282
 line6_probe+0x135/0x1150 sound/usb/line6/driver.c:736
RAX: 0000000000000054 RBX: ffff8880829b4770 RCX: 0000000000000000
 usb_probe_interface+0x31d/0x820 drivers/usb/core/driver.c:361
RDX: 0000000000000000 RSI: ffffffff815b1e42 RDI: ffffed1012bf8e15
 really_probe+0x2da/0xb10 drivers/base/dd.c:509
 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671
 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778
RBP: ffff8880829b4868 R08: 0000000000000054 R09: ffffed1015a24fc9
 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454
 __device_attach+0x223/0x3a0 drivers/base/dd.c:844
 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514
R10: ffffed1015a24fc8 R11: ffff8880ad127e47 R12: ffff888214569ea8
R13: ffff88821a513c18 R14: ffff8880829b4770 R15: ffff8880829b4858
FS:  0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000
 device_add+0xad2/0x16e0 drivers/base/core.c:2106
 usb_set_configuration+0xdf7/0x1740 drivers/usb/core/message.c:2021
 generic_probe+0xa2/0xda drivers/usb/core/generic.c:210
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 usb_probe_device+0xc0/0x150 drivers/usb/core/driver.c:266
 really_probe+0x2da/0xb10 drivers/base/dd.c:509
 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671
CR2: 0000000000940004 CR3: 0000000098a72000 CR4: 00000000001406e0
 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778
 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454
 __device_attach+0x223/0x3a0 drivers/base/dd.c:844
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514
 device_add+0xad2/0x16e0 drivers/base/core.c:2106
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 usb_new_device.cold+0x537/0xccf drivers/usb/core/hub.c:2534
 hub_port_connect drivers/usb/core/hub.c:5089 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5204 [inline]
 port_event drivers/usb/core/hub.c:5350 [inline]
 hub_event+0x138e/0x3b00 drivers/usb/core/hub.c:5432

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/12 03:08 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 8916f5e1 .config console log report syz ci2-upstream-usb
* Struck through repros no longer work on HEAD.