syzbot


BUG: corrupted list in io_poll_wake

Status: auto-obsoleted due to no activity on 2023/04/16 22:54
Reported-by: syzbot+fdccd3eede88cd48308a@syzkaller.appspotmail.com
First crash: 1549d, last: 1507d
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/04/16 22:40 13m retest repro android12-5.4 OK log

Sample crash report:
list_add double add: new=ffff8881cde94278, prev=ffff8881cde4a2e8, next=ffff8881cde94278.
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:31!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 331 Comm: syz-executor286 Not tainted 5.4.61-syzkaller-00873-ge15cc541b749 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_add_valid+0x8a/0xc0 lib/list_debug.c:29
Code: 74 11 4d 39 f7 74 0c b0 01 5b 41 5c 41 5d 41 5e 41 5f c3 48 c7 c7 0e fb 98 84 4c 89 fe 4c 89 e2 4c 89 f1 31 c0 e8 d2 55 2e ff <0f> 0b 48 c7 c7 59 fa 98 84 4c 89 e6 4c 89 f1 31 c0 e8 bc 55 2e ff
RSP: 0018:ffff8881cde17850 EFLAGS: 00010046
RAX: 0000000000000058 RBX: ffff8881cde94280 RCX: ef6f7f00f5390d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881cde17970 R08: ffffffff812bef2e R09: ffffed103b705e00
R10: ffffed103b705e00 R11: 0000000000000000 R12: ffff8881cde4a2e8
R13: dffffc0000000000 R14: ffff8881cde94278 R15: ffff8881cde94278
FS:  00007f8aa3360700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8aa335fe78 CR3: 00000001ce836003 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_add include/linux/list.h:60 [inline]
 list_add include/linux/list.h:79 [inline]
 io_queue_async_work fs/io_uring.c:520 [inline]
 io_poll_wake+0x714/0xbb0 fs/io_uring.c:1864
 __wake_up_common+0x27a/0x450 kernel/sched/wait.c:93
 __wake_up_common_lock kernel/sched/wait.c:123 [inline]
 __wake_up+0x145/0x210 kernel/sched/wait.c:142
 wakeup_pipe_writers fs/splice.c:457 [inline]
 splice_from_pipe_next+0x2a3/0x440 fs/splice.c:560
 __splice_from_pipe+0xfa/0x870 fs/splice.c:622
 splice_from_pipe fs/splice.c:659 [inline]
 generic_splice_sendpage+0x184/0x210 fs/splice.c:829
 do_splice_from fs/splice.c:848 [inline]
 do_splice fs/splice.c:1156 [inline]
 __do_sys_splice fs/splice.c:1433 [inline]
 __se_sys_splice+0x7ee/0x1b70 fs/splice.c:1413
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x445c69
Code: e8 bc b7 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 ab 11 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f8aa335fd98 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000006dac78 RCX: 0000000000445c69
RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00000000006dac70 R08: 000000000004ffe0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dac7c
R13: 00007ffe2aa5339f R14: 00007f8aa33609c0 R15: 20c49ba5e353f7cf
Modules linked in:
---[ end trace 27fc65eaca74939c ]---
RIP: 0010:__list_add_valid+0x8a/0xc0 lib/list_debug.c:29
Code: 74 11 4d 39 f7 74 0c b0 01 5b 41 5c 41 5d 41 5e 41 5f c3 48 c7 c7 0e fb 98 84 4c 89 fe 4c 89 e2 4c 89 f1 31 c0 e8 d2 55 2e ff <0f> 0b 48 c7 c7 59 fa 98 84 4c 89 e6 4c 89 f1 31 c0 e8 bc 55 2e ff
RSP: 0018:ffff8881cde17850 EFLAGS: 00010046
RAX: 0000000000000058 RBX: ffff8881cde94280 RCX: ef6f7f00f5390d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881cde17970 R08: ffffffff812bef2e R09: ffffed103b705e00
R10: ffffed103b705e00 R11: 0000000000000000 R12: ffff8881cde4a2e8
R13: dffffc0000000000 R14: ffff8881cde94278 R15: ffff8881cde94278
FS:  00007f8aa3360700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8aa335fe78 CR3: 00000001ce836003 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/30 11:51 https://android.googlesource.com/kernel/common android-5.4 e15cc541b749 d5a3ae1f .config console log report syz C ci2-android-5-4-kasan
2020/10/11 22:50 android12-5.4 d0e6eb879517 4a77ae0b .config console log report info ci2-android-5-4-kasan
2020/10/08 04:53 android12-5.4 489646b879ed 1880b4a9 .config console log report info ci2-android-5-4-kasan
2020/10/04 01:44 android12-5.4 9d0d630081ae 1a3f9408 .config console log report info ci2-android-5-4-kasan
2020/09/21 03:59 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 9564d2e9 .config console log report info ci2-android-5-4-kasan
2020/09/12 15:37 https://android.googlesource.com/kernel/common android-5.4 61eab9854560 21d289c2 .config console log report ci2-android-5-4-kasan
2020/09/08 06:34 https://android.googlesource.com/kernel/common android-5.4 98fda21f54f7 abf9ba4f .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.