syzbot


BUG: unable to handle kernel paging request in au0828_usb_disconnect

Status: closed as dup on 2019/08/21 17:11
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+15e91d49c4c757c3d363@syzkaller.appspotmail.com
First crash: 2046d, last: 1961d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: slab-out-of-bounds Read in au0828_rc_unregister (2) media 11 2017d 2028d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
BUG: unable to handle kernel paging request in osq_lock media 7 2051d 2055d 0/28 closed as dup on 2019/08/19 18:33
Discussions (6)
Title Replies (including bot) Last reply
BUG: unable to handle kernel paging request in au0828_usb_disconnect 1 (2) 2019/08/21 17:10
Reminder: 35 open syzbot bugs in media subsystem 1 (1) 2019/07/24 01:39
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35
Reminder: 47 open syzbot bugs in usb subsystem 1 (1) 2019/07/09 19:01
Reminder: 28 open syzbot bugs in media subsystem 1 (1) 2019/06/27 03:53
Reminder: 42 open syzbot bugs in usb subsystem 1 (1) 2019/06/25 03:44

Sample crash report:
au0828: recv_control_msg() Failed receiving control message, error -71.
au8522_writereg: writereg error (reg == 0x106, val == 0x0001, ret == -5)
usb 6-1: selecting invalid altsetting 5
au0828: Failure setting usb interface0 to as5
au0828: au0828_usb_probe() au0828_analog_register failed to register on V4L2
BUG: unable to handle page fault for address: fffffffbcc1ec0b8
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 6a22067 P4D 6a22067 PUD 0 
Oops: 0000 [#1] SMP KASAN
CPU: 0 PID: 2750 Comm: kworker/0:4 Not tainted 5.2.0-rc6+ #15
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:decode_cpu /kernel/locking/osq_lock.c:34 [inline]
RIP: 0010:osq_lock+0xf8/0x5a0 /kernel/locking/osq_lock.c:111
Code: 48 63 e8 48 b8 00 00 00 00 00 fc ff df 48 8d 3c ed 40 78 8f 86 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 2c 04 00 00 48 8d 53 08 <4c> 03 2c ed 40 78 8f 86 48 b8 00 00 00 00 00 fc ff df 48 89 d6 48
RSP: 0018:ffff8881ae49f0d8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8881db2338c0 RCX: 1fffffff7983d817
RDX: ffff8881db2338c8 RSI: 0000000000000004 RDI: fffffffbcc1ec0b8
RBP: ffffffff88b1e90f R08: 0000000000000000 R09: ffffed10396e9b31
R10: ffffed10396e9b30 R11: ffff8881cb74d983 R12: ffff8881db2338d0
R13: 00000000000338c0 R14: ffff8881ae489800 R15: ffff8881cb74d980
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffbcc1ec0b8 CR3: 00000001cd503000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 mutex_optimistic_spin /kernel/locking/mutex.c:631 [inline]
 __mutex_lock_common /kernel/locking/mutex.c:929 [inline]
 __mutex_lock+0x278/0x12b0 /kernel/locking/mutex.c:1073
 au0828_usb_disconnect+0x9e/0x120 /drivers/media/usb/au0828/au0828-core.c:182
 au0828_usb_probe.cold+0x62/0x84d /drivers/media/usb/au0828/au0828-core.c:755
 usb_probe_interface+0x305/0x7a0 /drivers/usb/core/driver.c:361
 really_probe+0x281/0x660 /drivers/base/dd.c:509
 driver_probe_device+0x104/0x210 /drivers/base/dd.c:670
 __device_attach_driver+0x1c2/0x220 /drivers/base/dd.c:777
 bus_for_each_drv+0x15c/0x1e0 /drivers/base/bus.c:454
 __device_attach+0x217/0x360 /drivers/base/dd.c:843
 bus_probe_device+0x1e4/0x290 /drivers/base/bus.c:514
 device_add+0xae6/0x16f0 /drivers/base/core.c:2111
 usb_set_configuration+0xdf6/0x1670 /drivers/usb/core/message.c:2023
 generic_probe+0x9d/0xd5 /drivers/usb/core/generic.c:210
 usb_probe_device+0x99/0x100 /drivers/usb/core/driver.c:266
 really_probe+0x281/0x660 /drivers/base/dd.c:509
 driver_probe_device+0x104/0x210 /drivers/base/dd.c:670
 __device_attach_driver+0x1c2/0x220 /drivers/base/dd.c:777
 bus_for_each_drv+0x15c/0x1e0 /drivers/base/bus.c:454
 __device_attach+0x217/0x360 /drivers/base/dd.c:843
 bus_probe_device+0x1e4/0x290 /drivers/base/bus.c:514
 device_add+0xae6/0x16f0 /drivers/base/core.c:2111
 usb_new_device.cold+0x6a4/0xe61 /drivers/usb/core/hub.c:2536
 hub_port_connect /drivers/usb/core/hub.c:5098 [inline]
 hub_port_connect_change /drivers/usb/core/hub.c:5213 [inline]
 port_event /drivers/usb/core/hub.c:5359 [inline]
 hub_event+0x1abd/0x3550 /drivers/usb/core/hub.c:5441
 process_one_work+0x905/0x1570 /kernel/workqueue.c:2269
 process_scheduled_works /kernel/workqueue.c:2331 [inline]
 worker_thread+0x7ab/0xe20 /kernel/workqueue.c:2417
 kthread+0x30b/0x410 /kernel/kthread.c:255
 ret_from_fork+0x24/0x30 /arch/x86/entry/entry_64.S:352
Modules linked in:
CR2: fffffffbcc1ec0b8
---[ end trace 8b975198360e7103 ]---
RIP: 0010:decode_cpu /kernel/locking/osq_lock.c:34 [inline]
RIP: 0010:osq_lock+0xf8/0x5a0 /kernel/locking/osq_lock.c:111
Code: 48 63 e8 48 b8 00 00 00 00 00 fc ff df 48 8d 3c ed 40 78 8f 86 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 2c 04 00 00 48 8d 53 08 <4c> 03 2c ed 40 78 8f 86 48 b8 00 00 00 00 00 fc ff df 48 89 d6 48
RSP: 0018:ffff8881ae49f0d8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8881db2338c0 RCX: 1fffffff7983d817
RDX: ffff8881db2338c8 RSI: 0000000000000004 RDI: fffffffbcc1ec0b8
RBP: ffffffff88b1e90f R08: 0000000000000000 R09: ffffed10396e9b31
R10: ffffed10396e9b30 R11: ffff8881cb74d983 R12: ffff8881db2338d0
R13: 00000000000338c0 R14: ffff8881ae489800 R15: ffff8881cb74d980
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffbcc1ec0b8 CR3: 00000001cd503000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (42):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/20 23:58 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 1656845f .config console log report ci2-upstream-usb
2019/07/13 18:00 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 e6fb0f13 .config console log report ci2-upstream-usb
2019/07/07 04:02 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config console log report ci2-upstream-usb
2019/07/06 16:58 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config console log report ci2-upstream-usb
2019/07/04 17:57 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 deef5fbc .config console log report ci2-upstream-usb
2019/07/02 02:42 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 cccc4302 .config console log report ci2-upstream-usb
2019/07/01 04:56 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 699d6448 .config console log report ci2-upstream-usb
2019/07/01 04:29 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 699d6448 .config console log report ci2-upstream-usb
2019/06/29 11:39 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 7509bf36 .config console log report ci2-upstream-usb
2019/06/24 08:35 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 472f0082 .config console log report ci2-upstream-usb
2019/06/23 08:52 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 34bf9440 .config console log report ci2-upstream-usb
2019/06/22 19:22 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 34bf9440 .config console log report ci2-upstream-usb
2019/06/21 02:25 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 34bf9440 .config console log report ci2-upstream-usb
2019/06/20 15:17 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 34bf9440 .config console log report ci2-upstream-usb
2019/06/18 03:33 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 442206d7 .config console log report ci2-upstream-usb
2019/06/17 19:39 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 442206d7 .config console log report ci2-upstream-usb
2019/06/16 19:11 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 442206d7 .config console log report ci2-upstream-usb
2019/06/16 17:22 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 442206d7 .config console log report ci2-upstream-usb
2019/06/16 03:08 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 442206d7 .config console log report ci2-upstream-usb
2019/06/15 22:20 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 442206d7 .config console log report ci2-upstream-usb
2019/06/14 09:53 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 998ccc76 .config console log report ci2-upstream-usb
2019/06/13 03:56 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 3f4e812b .config console log report ci2-upstream-usb
2019/06/12 14:04 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 794a1ad7 .config console log report ci2-upstream-usb
2019/06/10 21:01 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 0159583c .config console log report ci2-upstream-usb
2019/06/10 13:56 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 0159583c .config console log report ci2-upstream-usb
2019/06/09 06:40 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 0159583c .config console log report ci2-upstream-usb
2019/06/08 21:28 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 0159583c .config console log report ci2-upstream-usb
2019/06/08 21:02 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 0159583c .config console log report ci2-upstream-usb
2019/06/08 17:41 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 0159583c .config console log report ci2-upstream-usb
2019/06/08 09:55 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 0159583c .config console log report ci2-upstream-usb
2019/06/07 15:26 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f cf9c3a50 .config console log report ci2-upstream-usb
2019/06/07 13:49 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 698773cb .config console log report ci2-upstream-usb
2019/06/05 08:07 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f bfb4a51e .config console log report ci2-upstream-usb
2019/06/04 12:57 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f e41a20c5 .config console log report ci2-upstream-usb
2019/05/31 20:18 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f a8482b78 .config console log report ci2-upstream-usb
2019/05/31 19:15 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f a8482b78 .config console log report ci2-upstream-usb
2019/05/10 14:34 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 018207ef .config console log report ci2-upstream-usb
2019/05/09 04:45 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 1ab4c999 .config console log report ci2-upstream-usb
2019/05/07 21:58 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce a7383bfa .config console log report ci2-upstream-usb
2019/05/05 18:29 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce d28f4ce5 .config console log report ci2-upstream-usb
2019/05/02 16:12 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 1852eb18 .config console log report ci2-upstream-usb
2019/04/27 12:53 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce b617407b .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.