syzbot


general protection fault in close_rio

Status: closed as dup on 2019/09/20 15:52
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+ffb8ab77a232a91eb24d@syzkaller.appspotmail.com
First crash: 1924d, last: 1899d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: invalid-free in disconnect_rio (2) usb C 51 1903d 1924d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in close_rio 1 (2) 2019/09/20 15:52

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
CPU: 1 PID: 10726 Comm: syz-executor.1 Not tainted 5.4.0-rc1+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:dev_name include/linux/device.h:1342 [inline]
RIP: 0010:__dev_printk+0x3a/0x203 drivers/base/core.c:3335
Code: 89 f5 53 e8 cf 92 cf fe 48 85 ed 0f 84 bc 01 00 00 e8 c1 92 cf fe 48 8d 7d 50 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <80> 3c 02 00 74 05 e8 92 d1 f6 fe 4c 8b 7d 50 4d 85 ff 75 27 e8 94
RSP: 0018:ffff8881cadc7948 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffffed10395b8f30 RCX: ffffffff838a3b7d
RDX: 000000000000001e RSI: ffffffff826e896f RDI: 00000000000000f0
RBP: 00000000000000a0 R08: ffff8881b0951800 R09: fffffbfff0e57cad
R10: ffff8881cadc7a78 R11: ffffffff872be567 R12: ffffffff85f26b60
R13: ffff8881cadc79a0 R14: ffff8881c95c1aa8 R15: ffffffff838a3b50
FS:  0000000000ceb940(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe88270d000 CR3: 00000001b131c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 _dev_info+0xd7/0x109 drivers/base/core.c:3381
 close_rio.cold+0x1f/0x24 drivers/usb/misc/rio500.c:96
 __fput+0x2d7/0x840 fs/file_table.c:280
 task_work_run+0x13f/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x8c4/0x2c00 kernel/exit.c:817
 do_group_exit+0x125/0x340 kernel/exit.c:921
 get_signal+0x466/0x23d0 kernel/signal.c:2734
 do_signal+0x88/0x14e0 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x1a2/0x200 arch/x86/entry/common.c:159
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x45f/0x580 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457f21
Code: 75 14 b8 23 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 24 d3 fb ff c3 48 83 ec 08 e8 ea 46 00 00 48 89 04 24 b8 23 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 33 47 00 00 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffe1a1483b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000023
RAX: fffffffffffffdfc RBX: 0000000000085149 RCX: 0000000000457f21
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffe1a1483c0
RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff
R10: 00007ffe1a1484b0 R11: 0000000000000293 R12: 000000000075bf20
R13: 000000000075c9a0 R14: 00000000007644f8 R15: 000000000075bf2c
Modules linked in:
---[ end trace 6067f98f35215359 ]---
RIP: 0010:dev_name include/linux/device.h:1342 [inline]
RIP: 0010:__dev_printk+0x3a/0x203 drivers/base/core.c:3335
Code: 89 f5 53 e8 cf 92 cf fe 48 85 ed 0f 84 bc 01 00 00 e8 c1 92 cf fe 48 8d 7d 50 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <80> 3c 02 00 74 05 e8 92 d1 f6 fe 4c 8b 7d 50 4d 85 ff 75 27 e8 94
RSP: 0018:ffff8881cadc7948 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffffed10395b8f30 RCX: ffffffff838a3b7d
RDX: 000000000000001e RSI: ffffffff826e896f RDI: 00000000000000f0
RBP: 00000000000000a0 R08: ffff8881b0951800 R09: fffffbfff0e57cad
R10: ffff8881cadc7a78 R11: ffffffff872be567 R12: ffffffff85f26b60
R13: ffff8881cadc79a0 R14: ffff8881c95c1aa8 R15: ffffffff838a3b50
FS:  0000000000ceb940(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe88270d000 CR3: 00000001b131c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4734):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/14 11:28 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 a6aef847 .config console log report ci2-upstream-usb
2019/10/14 10:14 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 a6aef847 .config console log report ci2-upstream-usb
2019/10/14 08:47 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 08:13 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 07:12 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 06:20 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 05:19 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 04:12 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 03:07 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 01:43 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 00:41 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/14 00:23 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 23:21 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 22:18 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 21:45 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 20:37 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 19:33 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 19:25 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 18:18 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 17:16 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 17:12 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 16:11 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 15:09 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 14:03 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 13:20 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 12:10 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 11:05 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 09:59 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 08:52 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 08:45 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report ci2-upstream-usb
2019/10/13 07:42 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 07:37 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 06:35 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 06:14 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 05:12 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 05:05 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 03:55 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 02:59 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 02:17 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 01:12 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 01:09 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/13 00:04 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/10/12 23:08 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 426631dd .config console log report ci2-upstream-usb
2019/09/19 14:17 https://github.com/google/kasan.git usb-fuzzer e0bd8d794fc9 eb940044 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.