syzbot


BUG: corrupted list in end_requests

Status: auto-closed as invalid on 2019/02/22 10:34
Subsystems: fuse
[Documentation on labels]
Reported-by: syzbot+0d2dc8aade663e725664@syzkaller.appspotmail.com
First crash: 2311d, last: 2303d
Discussions (1)
Title Replies (including bot) Last reply
BUG: corrupted list in end_requests 0 (1) 2018/08/11 09:00

Sample crash report:
list_del corruption. next->prev should be ffff8801ac1f1600, but was ffff88019d140f48
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:56!
invalid opcode: 0000 [#1] SMP KASAN
CPU: 0 PID: 14027 Comm: syz-executor2 Not tainted 4.18.0+ #189
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid.cold.1+0x37/0x58 lib/list_debug.c:54
Code: e8 fa 0c 02 fe 0f 0b 4c 89 ea 48 89 de 48 c7 c7 00 8d 3a 87 e8 e6 0c 02 fe 0f 0b 48 89 de 48 c7 c7 20 8e 3a 87 e8 d5 0c 02 fe <0f> 0b 48 89 de 48 c7 c7 c0 8d 3a 87 e8 c4 0c 02 fe 0f 0b 90 90 90
RSP: 0018:ffff88018c267980 EFLAGS: 00010286
RAX: 0000000000000054 RBX: ffff8801ac1f1600 RCX: ffffc90002a22000
RDX: 0000000000000000 RSI: ffffffff81639371 RDI: 0000000000000001
RBP: ffff88018c267998 R08: ffff8801c1856580 R09: ffffed003b604fd0
R10: ffffed003b604fd0 R11: ffff8801db027e87 R12: ffff8801d048f6e0
R13: ffff88019d140f48 R14: ffff8801ac1f1600 R15: dffffc0000000000
FS:  00007f780327f700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33223000 CR3: 00000001c5af2000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del_init include/linux/list.h:159 [inline]
 end_requests+0x180/0x460 fs/fuse/dev.c:2044
 fuse_dev_release+0x18c/0x2e0 fs/fuse/dev.c:2154
 __fput+0x39b/0x860 fs/file_table.c:251
 ____fput+0x15/0x20 fs/file_table.c:282
 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457089
Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f780327ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: 0000000000000030 RBX: 00007f780327f6d4 RCX: 0000000000457089
RDX: 0000000000001000 RSI: 0000000020001000 RDI: 0000000000000004
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d32d8 R14: 00000000004c828d R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace 003f3ad9f7ddc1c9 ]---
RIP: 0010:__list_del_entry_valid.cold.1+0x37/0x58 lib/list_debug.c:54
Code: e8 fa 0c 02 fe 0f 0b 4c 89 ea 48 89 de 48 c7 c7 00 8d 3a 87 e8 e6 0c 02 fe 0f 0b 48 89 de 48 c7 c7 20 8e 3a 87 e8 d5 0c 02 fe <0f> 0b 48 89 de 48 c7 c7 c0 8d 3a 87 e8 c4 0c 02 fe 0f 0b 90 90 90
RSP: 0018:ffff88018c267980 EFLAGS: 00010286
RAX: 0000000000000054 RBX: ffff8801ac1f1600 RCX: ffffc90002a22000
RDX: 0000000000000000 RSI: ffffffff81639371 RDI: 0000000000000001
RBP: ffff88018c267998 R08: ffff8801c1856580 R09: ffffed003b604fd0
R10: ffffed003b604fd0 R11: ffff8801db027e87 R12: ffff8801d048f6e0
R13: ffff88019d140f48 R14: ffff8801ac1f1600 R15: dffffc0000000000
FS:  00007f780327f700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33223000 CR3: 00000001c5af2000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/15 02:09 upstream d0055f351e64 0e6dcb88 .config console log report ci-upstream-kasan-gce
2018/08/07 06:35 upstream 1236568ee3cb 1beb8136 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.