syzbot


WARNING in io_try_cancel_userdata (2)

Status: fixed on 2022/03/08 16:11
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+ab0cfe96c2b3cd1c1153@syzkaller.appspotmail.com
Fix commit: 617a89484deb io_uring: fail cancellation for EXITING tasks
First crash: 886d, last: 886d
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 5.15 000/179] 5.15.6-rc1 review 189 (189) 2021/12/01 02:29
[PATCH 0/2] 5.16 fixes for syz reports 6 (6) 2021/11/26 15:36
[syzbot] WARNING in io_try_cancel_userdata (2) 0 (1) 2021/11/26 02:27
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in io_try_cancel_userdata fs io-uring syz unreliable 4 973d 977d 20/26 fixed on 2021/11/10 00:50

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 20 at fs/io_uring.c:6269 io_try_cancel_userdata+0x3c5/0x640 fs/io_uring.c:6269
Modules linked in:
CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events io_fallback_req_func
RIP: 0010:io_try_cancel_userdata+0x3c5/0x640 fs/io_uring.c:6269
Code: 44 89 f0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 92 db 95 ff 65 48 8b 04 25 40 70 02 00 49 39 c6 0f 84 a0 fd ff ff e8 7b db 95 ff <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 80 3c 02
RSP: 0018:ffffc90000da7bc8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803a80d3c0 RCX: 0000000000000000
RDX: ffff888011a38000 RSI: ffffffff81e1bde5 RDI: 0000000000000003
RBP: 1ffff920001b4f7a R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81e1bb37 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807eaf7000 R14: ffff88803b203a00 R15: ffff88803a80d420
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2d3db37718 CR3: 000000001c339000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 io_req_task_link_timeout+0x6b/0x1e0 fs/io_uring.c:6886
 io_fallback_req_func+0xf9/0x1ae fs/io_uring.c:1334
 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/22 02:22 upstream 40c93d7fff6f 4eb20a4e .config console log report info ci-upstream-kasan-gce-root WARNING in io_try_cancel_userdata
* Struck through repros no longer work on HEAD.