syzbot


general protection fault in release_nodes

Status: auto-closed as invalid on 2020/08/18 19:13
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+14b86b62abea65294f35@syzkaller.appspotmail.com
First crash: 1473d, last: 1473d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in release_nodes 0 (1) 2020/04/21 15:35

Sample crash report:
usb 5-1: ath9k_htc: USB layer deinitialized
general protection fault, probably for non-canonical address 0xdffffc00a0000000: 0000 [#1] SMP KASAN
KASAN: probably user-memory-access in range [0x0000000500000000-0x0000000500000007]
CPU: 0 PID: 3105 Comm: kworker/0:4 Not tainted 5.6.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:remove_nodes drivers/base/devres.c:437 [inline]
RIP: 0010:release_nodes+0x1e2/0x910 drivers/base/devres.c:498
Code: 1f e8 e2 26 c4 fe 83 44 24 14 01 e8 d8 26 c4 fe 4c 39 6c 24 08 0f 84 a8 00 00 00 4c 89 eb e8 c5 26 c4 fe 48 89 d8 48 c1 e8 03 <80> 3c 28 00 0f 85 29 05 00 00 48 8d 7b 10 4c 8b 2b 48 89 f8 48 c1
RSP: 0018:ffff8881d99af920 EFLAGS: 00010006
RAX: 00000000a0000000 RBX: 0000000500000000 RCX: ffffc9000eb33000
RDX: 000000000000efcd RSI: ffffffff827b315b RDI: ffff8881c7125010
RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffed103b335f2d
R10: ffffed103b335f2c R11: 0000000000000003 R12: 0000000500000000
R13: ffffffff87430cc0 R14: ffff8881d8e0dca8 R15: 0000000000000008
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1e2e2d710 CR3: 00000001d2102000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 devres_release_all+0x74/0xc3 drivers/base/devres.c:529
 device_release+0x39/0x200 drivers/base/core.c:1364
 kobject_cleanup lib/kobject.c:693 [inline]
 kobject_release lib/kobject.c:722 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x256/0x550 lib/kobject.c:739
 put_device drivers/base/core.c:2599 [inline]
 device_unregister+0x34/0xc0 drivers/base/core.c:2710
 usb_remove_ep_devs+0x3e/0x80 drivers/usb/core/endpoint.c:215
 usb_disconnect+0x4bb/0x900 drivers/usb/core/hub.c:2230
 hub_port_connect drivers/usb/core/hub.c:5046 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5335 [inline]
 port_event drivers/usb/core/hub.c:5481 [inline]
 hub_event+0x1a1d/0x4300 drivers/usb/core/hub.c:5563
 process_one_work+0x94b/0x1620 kernel/workqueue.c:2266
 worker_thread+0x96/0xe20 kernel/workqueue.c:2412
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace c49c493fba95a78f ]---
RIP: 0010:remove_nodes drivers/base/devres.c:437 [inline]
RIP: 0010:release_nodes+0x1e2/0x910 drivers/base/devres.c:498
Code: 1f e8 e2 26 c4 fe 83 44 24 14 01 e8 d8 26 c4 fe 4c 39 6c 24 08 0f 84 a8 00 00 00 4c 89 eb e8 c5 26 c4 fe 48 89 d8 48 c1 e8 03 <80> 3c 28 00 0f 85 29 05 00 00 48 8d 7b 10 4c 8b 2b 48 89 f8 48 c1
RSP: 0018:ffff8881d99af920 EFLAGS: 00010006
RAX: 00000000a0000000 RBX: 0000000500000000 RCX: ffffc9000eb33000
RDX: 000000000000efcd RSI: ffffffff827b315b RDI: ffff8881c7125010
RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffed103b335f2d
R10: ffffed103b335f2c R11: 0000000000000003 R12: 0000000500000000
R13: ffffffff87430cc0 R14: ffff8881d8e0dca8 R15: 0000000000000008
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1e2e2d710 CR3: 00000001d2102000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/20 19:12 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 347a5dc3 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.