syzbot


WARNING in io_req_complete_failed

Status: fixed on 2023/02/24 13:50
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+bc54516b728ef2a08d76@syzkaller.appspotmail.com
Fix commit: c06c6c5d2767 io_uring: always lock in io_apoll_task_func
First crash: 516d, last: 516d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in io_req_complete_failed 1 (2) 2022/11/28 22:34
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in io_req_complete_failed origin:lts-only C inconclusive 27 242d 402d 0/3 upstream: reported C repro on 2023/03/19 07:17

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 151 at io_uring/io_uring.c:872 io_req_complete_failed+0x223/0x280 io_uring/io_uring.c:872
Modules linked in:
CPU: 0 PID: 151 Comm: kworker/0:2 Not tainted 6.1.0-rc6-next-20221124-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: events io_fallback_req_func
RIP: 0010:io_req_complete_failed+0x223/0x280 io_uring/io_uring.c:872
Code: 58 be ff ff ff ff 48 8d b8 a8 00 00 00 e8 a5 24 03 06 31 ff 89 c3 89 c6 e8 3a 43 7d fd 85 db 0f 85 66 fe ff ff e8 7d 46 7d fd <0f> 0b e9 5a fe ff ff e8 91 66 cb fd e9 06 fe ff ff e8 67 67 cb fd
RSP: 0018:ffffc90002e9fc28 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801a690000 RSI: ffffffff84038513 RDI: 0000000000000005
RBP: ffff88807e9aa3c0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 1ffffffff21621e8 R12: 0000000000000016
R13: 00000000ffffff83 R14: dffffc0000000000 R15: ffffffffffffff78
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe6e758a01d CR3: 000000000c48e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 io_apoll_task_func+0x14d/0x170 io_uring/poll.c:319
 io_fallback_req_func+0xfd/0x1b2 io_uring/io_uring.c:250
 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
 worker_thread+0x669/0x1090 kernel/workqueue.c:2436
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/25 03:06 linux-next c35bd4e42885 62e26685 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in io_req_complete_failed
2022/11/24 21:28 linux-next c35bd4e42885 62e26685 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in io_req_complete_failed
* Struck through repros no longer work on HEAD.