syzbot


BUG: unable to handle kernel paging request in osq_lock

Status: closed as dup on 2019/08/19 18:33
Subsystems: media
[Documentation on labels]
Reported-by: syzbot+e5c9afc3e1eed1dfc2b0@syzkaller.appspotmail.com
First crash: 2079d, last: 2074d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: unable to handle kernel paging request in au0828_usb_disconnect kernel 42 1985d 2068d
Discussions (6)
Title Replies (including bot) Last reply
BUG: unable to handle kernel paging request in osq_lock 1 (2) 2019/08/19 18:32
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 2-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 kernel paging request at fffffffc4505fb58
#PF error: [normal kernel read fault]
PGD 1167e067 P4D 1167e067 PUD 0 
Oops: 0000 [#1] SMP KASAN PTI
CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.1.0-rc5-319617-gd34f951 #4
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+0xfd/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 60 c0 39 91 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 60 c0 39 91 48 b8 00 00 00 00 00 fc ff df 48 89 d6 48
RSP: 0018:ffff8880a861f0e8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880ad12dfc0 RCX: 1fffffff88a0bf6b
RDX: ffff8880ad12dfc8 RSI: 0000000000000004 RDI: fffffffc4505fb58
RBP: ffffffff9679875f R08: 0000000000000000 R09: ffffed1012bbbb1e
R10: ffffed1012bbbb1d R11: ffff888095ddd8eb R12: ffff8880ad12dfd0
R13: 000000000002dfc0 R14: ffff8880a84de200 R15: ffff888095ddd8e8
FS:  0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffc4505fb58 CR3: 000000007e4be000 CR4: 00000000001406e0
Call Trace:
 mutex_optimistic_spin kernel/locking/mutex.c:630 [inline]
 __mutex_lock_common kernel/locking/mutex.c:928 [inline]
 __mutex_lock+0x27d/0x12b0 kernel/locking/mutex.c:1072
 au0828_usb_disconnect+0xa3/0x130 drivers/media/usb/au0828/au0828-core.c:194
 au0828_usb_probe.cold+0x121/0x7d8 drivers/media/usb/au0828/au0828-core.c:661
 usb_probe_interface+0x31d/0x820 drivers/usb/core/driver.c:361
 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
 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
 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
 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
 __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
 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514
 device_add+0xad2/0x16e0 drivers/base/core.c:2106
 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+0x1398/0x3b00 drivers/usb/core/hub.c:5432
 process_one_work+0x90f/0x1580 kernel/workqueue.c:2269
 worker_thread+0x9b/0xe20 kernel/workqueue.c:2415
 kthread+0x313/0x420 kernel/kthread.c:253
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Modules linked in:
CR2: fffffffc4505fb58
---[ end trace 3882ec19046dd6b5 ]---
RIP: 0010:decode_cpu kernel/locking/osq_lock.c:34 [inline]
RIP: 0010:osq_lock+0xfd/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 60 c0 39 91 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 60 c0 39 91 48 b8 00 00 00 00 00 fc ff df 48 89 d6 48
RSP: 0018:ffff8880a861f0e8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880ad12dfc0 RCX: 1fffffff88a0bf6b
RDX: ffff8880ad12dfc8 RSI: 0000000000000004 RDI: fffffffc4505fb58
RBP: ffffffff9679875f R08: 0000000000000000 R09: ffffed1012bbbb1e
R10: ffffed1012bbbb1d R11: ffff888095ddd8eb R12: ffff8880ad12dfd0
R13: 000000000002dfc0 R14: ffff8880a84de200 R15: ffff888095ddd8e8
FS:  0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffc4505fb58 CR3: 000000007e4be000 CR4: 00000000001406e0

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/22 16:29 https://github.com/google/kasan.git usb-fuzzer d34f9519daaa 0a77c33c .config console log report ci2-upstream-usb
2019/04/22 10:46 https://github.com/google/kasan.git usb-fuzzer d34f9519daaa 0a77c33c .config console log report ci2-upstream-usb
2019/04/20 10:06 https://github.com/google/kasan.git usb-fuzzer d34f9519daaa b0e8efcb .config console log report ci2-upstream-usb
2019/04/20 03:47 https://github.com/google/kasan.git usb-fuzzer d34f9519daaa b0e8efcb .config console log report ci2-upstream-usb
2019/04/19 04:03 https://github.com/google/kasan.git usb-fuzzer d34f9519daaa b0e8efcb .config console log report ci2-upstream-usb
2019/04/18 19:18 https://github.com/google/kasan.git usb-fuzzer d34f9519daaa b0e8efcb .config console log report ci2-upstream-usb
2019/04/18 04:58 https://github.com/google/kasan.git usb-fuzzer d34f9519daaa b0e8efcb .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.