syzbot


WARNING in io_disable_sqo_submit

Status: fixed on 2021/03/10 01:48
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+2f5d1785dc624932da78@syzkaller.appspotmail.com
Fix commit: 6b393a1ff174 io_uring: fix false positive sqo warning on flush
First crash: 1249d, last: 1237d
Cause bisection: introduced by (bisect log) :
commit dcd479e10a0510522a5d88b29b8f79ea3467d501
Author: Johannes Berg <johannes.berg@intel.com>
Date: Fri Oct 9 12:17:11 2020 +0000

  mac80211: always wind down STA state

Crash: BUG: sleeping function called from invalid context in sta_info_move_state (log)
Repro: syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
WARNING in io_disable_sqo_submit 4 (10) 2021/02/01 15:32
[PATCH 0/2] syzbot warning reports 4 (4) 2021/01/16 19:01
Last patch testing requests (2)
Created Duration User Patch Repo Result
2021/02/01 11:07 10m (2) asml.silence@gmail.com git://git.kernel.dk/linux-block for-5.12/io_uring report log
2021/01/18 12:30 15m asml.silence@gmail.com git://git.kernel.dk/linux-block io_uring-5.11 report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8572 at fs/io_uring.c:8917 io_disable_sqo_submit+0x13d/0x180 fs/io_uring.c:8917
Modules linked in:
CPU: 1 PID: 8572 Comm: syz-executor518 Not tainted 5.11.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:io_disable_sqo_submit+0x13d/0x180 fs/io_uring.c:8917
Code: e0 07 83 c0 03 38 d0 7c 04 84 d2 75 2e 83 8b 14 01 00 00 01 4c 89 e7 e8 d1 6d 25 07 5b 5d 41 5c e9 48 22 9b ff e8 43 22 9b ff <0f> 0b e9 00 ff ff ff e8 87 a1 dd ff e9 37 ff ff ff e8 4d a1 dd ff
RSP: 0018:ffffc90001c17df0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88801c409000 RCX: 0000000000000000
RDX: ffff8880287e8040 RSI: ffffffff81d7aa8d RDI: ffff88801c4090d0
RBP: ffff8880198a1780 R08: 0000000000000000 R09: 0000000012c8a801
R10: ffffffff81d7ad45 R11: 0000000000000001 R12: ffff88801c409000
R13: ffff888012c8a801 R14: ffff88801c409040 R15: ffff88801c4090d0
FS:  00007f60e950b700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f60e950adb8 CR3: 0000000015b41000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 io_uring_flush+0x28b/0x3a0 fs/io_uring.c:9134
 filp_close+0xb4/0x170 fs/open.c:1280
 do_dup2+0x294/0x520 fs/file.c:1024
 ksys_dup3+0x22f/0x360 fs/file.c:1136
 __do_sys_dup2 fs/file.c:1162 [inline]
 __se_sys_dup2 fs/file.c:1150 [inline]
 __x64_sys_dup2+0x71/0x3a0 fs/file.c:1150
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x447019
Code: e8 0c e8 ff ff 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 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f60e950ace8 EFLAGS: 00000246 ORIG_RAX: 0000000000000021
RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000447019
RDX: 0000000000447019 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 00000000006dbc30 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc3c
R13: 00007ffc5b18d21f R14: 00007f60e950b9c0 R15: 00000000006dbc30

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/22 14:42 upstream 9f29bd8b2e71 d4f4eca5 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in io_disable_sqo_submit
2021/01/19 01:03 upstream 19c329f68089 63631df1 .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in io_disable_sqo_submit
2021/01/18 04:26 upstream a1339d6355ac fd103621 .config console log report syz ci-upstream-kasan-gce-root WARNING in io_disable_sqo_submit
2021/01/23 19:26 upstream fe75a21824e7 52e37319 .config console log report info ci-upstream-kasan-gce-root WARNING in io_disable_sqo_submit
2021/01/22 18:14 upstream 83d09ad4b950 d4f4eca5 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in io_disable_sqo_submit
2021/01/22 14:13 upstream 9f29bd8b2e71 d4f4eca5 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in io_disable_sqo_submit
2021/01/19 00:34 upstream 19c329f68089 63631df1 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in io_disable_sqo_submit
2021/01/18 04:08 upstream a1339d6355ac fd103621 .config console log report info ci-upstream-kasan-gce-root WARNING in io_disable_sqo_submit
2021/01/11 23:01 upstream 7c53f6b671f4 2c1f2513 .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.