public inbox for [email protected]
 help / color / mirror / Atom feed
* [syzbot] WARNING in io_uring_setup (2)
@ 2021-04-29 15:01 syzbot
  2021-04-29 17:46 ` syzbot
  0 siblings, 1 reply; 5+ messages in thread
From: syzbot @ 2021-04-29 15:01 UTC (permalink / raw)
  To: asml.silence, axboe, io-uring, linux-kernel, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    d72cd4ad Merge tag 'scsi-misc' of git://git.kernel.org/pub..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=175285a3d00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=53fdf14defd48c56
dashboard link: https://syzkaller.appspot.com/bug?extid=1eca5b0d7ac82b74d347
compiler:       Debian clang version 11.0.1-2
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15aeff43d00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1747117dd00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: [email protected]

RSP: 002b:00007ffe79f6a2c8 EFLAGS: 00000202 ORIG_RAX: 00000000000001a9
RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 000000000043fa99
RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000345
RBP: 0000000000000001 R08: 0000000000000001 R09: bfe829bde5bd92dc
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020ffd000
R13: 0000000000000000 R14: 00000000004ad018 R15: 0000000000400488
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8379 at fs/io_uring.c:7081 io_rsrc_node_switch_start fs/io_uring.c:7107 [inline]
WARNING: CPU: 0 PID: 8379 at fs/io_uring.c:7081 io_uring_create fs/io_uring.c:9610 [inline]
WARNING: CPU: 0 PID: 8379 at fs/io_uring.c:7081 io_uring_setup fs/io_uring.c:9689 [inline]
WARNING: CPU: 0 PID: 8379 at fs/io_uring.c:7081 __do_sys_io_uring_setup fs/io_uring.c:9695 [inline]
WARNING: CPU: 0 PID: 8379 at fs/io_uring.c:7081 __se_sys_io_uring_setup+0x2059/0x3100 fs/io_uring.c:9692
Modules linked in:
CPU: 0 PID: 8379 Comm: syz-executor223 Not tainted 5.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:io_rsrc_node_switch fs/io_uring.c:7107 [inline]
RIP: 0010:io_uring_create fs/io_uring.c:9611 [inline]
RIP: 0010:io_uring_setup fs/io_uring.c:9689 [inline]
RIP: 0010:__do_sys_io_uring_setup fs/io_uring.c:9695 [inline]
RIP: 0010:__se_sys_io_uring_setup+0x2059/0x3100 fs/io_uring.c:9692
Code: dc ff eb 05 e8 78 09 97 ff 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 74 08 4c 89 ff e8 ce a1 dd ff 49 c7 07 00 00 00 00 <0f> 0b e9 e1 00 00 00 e8 4b 09 97 ff 49 8d 5c 24 10 48 89 d8 48 c1
RSP: 0000:ffffc9000112fd00 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88802fee0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888011441780
RBP: ffffc9000112ff20 R08: 0000000000000dc0 R09: fffffbfff19bc9e3
R10: fffffbfff19bc9e3 R11: 0000000000000000 R12: ffff88802452010c
R13: 1ffff11005c31501 R14: 0000000000000000 R15: ffff88802e18a808
FS:  00000000009a23c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8918d3b000 CR3: 00000000133b0000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x43fa99
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 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 73 01 c3 48 c7 c1 c4 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe79f6a2c8 EFLAGS: 00000202 ORIG_RAX: 00000000000001a9
RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 000000000043fa99
RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000345
RBP: 0000000000000001 R08: 0000000000000001 R09: bfe829bde5bd92dc
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020ffd000
R13: 0000000000000000 R14: 00000000004ad018 R15: 0000000000400488


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at [email protected].

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] WARNING in io_uring_setup (2)
  2021-04-29 15:01 [syzbot] WARNING in io_uring_setup (2) syzbot
@ 2021-04-29 17:46 ` syzbot
  2021-04-29 17:55   ` Pavel Begunkov
  0 siblings, 1 reply; 5+ messages in thread
From: syzbot @ 2021-04-29 17:46 UTC (permalink / raw)
  To: asml.silence, axboe, io-uring, linux-kernel, syzkaller-bugs

syzbot has bisected this issue to:

commit eae071c9b4cefbcc3f985c5abf9a6e32c1608ca9
Author: Pavel Begunkov <[email protected]>
Date:   Sun Apr 25 13:32:24 2021 +0000

    io_uring: prepare fixed rw for dynanic buffers

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=13f639edd00000
start commit:   d72cd4ad Merge tag 'scsi-misc' of git://git.kernel.org/pub..
git tree:       upstream
final oops:     https://syzkaller.appspot.com/x/report.txt?x=100e39edd00000
console output: https://syzkaller.appspot.com/x/log.txt?x=17f639edd00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=53fdf14defd48c56
dashboard link: https://syzkaller.appspot.com/bug?extid=1eca5b0d7ac82b74d347
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15aeff43d00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1747117dd00000

Reported-by: [email protected]
Fixes: eae071c9b4ce ("io_uring: prepare fixed rw for dynanic buffers")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] WARNING in io_uring_setup (2)
  2021-04-29 17:46 ` syzbot
@ 2021-04-29 17:55   ` Pavel Begunkov
  2021-04-29 18:15     ` syzbot
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Begunkov @ 2021-04-29 17:55 UTC (permalink / raw)
  To: syzbot, axboe, io-uring, linux-kernel, syzkaller-bugs

On 4/29/21 6:46 PM, syzbot wrote:
> syzbot has bisected this issue to:
> 
> commit eae071c9b4cefbcc3f985c5abf9a6e32c1608ca9
> Author: Pavel Begunkov <[email protected]>
> Date:   Sun Apr 25 13:32:24 2021 +0000
> 
>     io_uring: prepare fixed rw for dynanic buffers
> 
> bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=13f639edd00000
> start commit:   d72cd4ad Merge tag 'scsi-misc' of git://git.kernel.org/pub..
> git tree:       upstream
> final oops:     https://syzkaller.appspot.com/x/report.txt?x=100e39edd00000
> console output: https://syzkaller.appspot.com/x/log.txt?x=17f639edd00000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=53fdf14defd48c56
> dashboard link: https://syzkaller.appspot.com/bug?extid=1eca5b0d7ac82b74d347
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15aeff43d00000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1747117dd00000
> 
> Reported-by: [email protected]
> Fixes: eae071c9b4ce ("io_uring: prepare fixed rw for dynanic buffers")
> 
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

#syz test: git://git.kernel.dk/linux-block io_uring-5.13

-- 
Pavel Begunkov

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] WARNING in io_uring_setup (2)
  2021-04-29 17:55   ` Pavel Begunkov
@ 2021-04-29 18:15     ` syzbot
  2021-05-07 19:41       ` Pavel Begunkov
  0 siblings, 1 reply; 5+ messages in thread
From: syzbot @ 2021-04-29 18:15 UTC (permalink / raw)
  To: asml.silence, axboe, io-uring, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: [email protected]

Tested on:

commit:         0c8ceb80 io_uring: Fix premature return from loop and memo..
git tree:       git://git.kernel.dk/linux-block io_uring-5.13
kernel config:  https://syzkaller.appspot.com/x/.config?x=3d4238f574736e51
dashboard link: https://syzkaller.appspot.com/bug?extid=1eca5b0d7ac82b74d347
compiler:       Debian clang version 11.0.1-2

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [syzbot] WARNING in io_uring_setup (2)
  2021-04-29 18:15     ` syzbot
@ 2021-05-07 19:41       ` Pavel Begunkov
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Begunkov @ 2021-05-07 19:41 UTC (permalink / raw)
  To: syzbot, axboe, io-uring, linux-kernel, syzkaller-bugs

On 4/29/21 7:15 PM, syzbot wrote:
> Hello,
> 
> syzbot has tested the proposed patch and the reproducer did not trigger any issue:
> 
> Reported-and-tested-by: [email protected]
> 
> Tested on:
> 
> commit:         0c8ceb80 io_uring: Fix premature return from loop and memo..
> git tree:       git://git.kernel.dk/linux-block io_uring-5.13
> kernel config:  https://syzkaller.appspot.com/x/.config?x=3d4238f574736e51
> dashboard link: https://syzkaller.appspot.com/bug?extid=1eca5b0d7ac82b74d347
> compiler:       Debian clang version 11.0.1-2
> 
> Note: testing is done by a robot and is best-effort only.

#syz fix: io_uring: fix unchecked error in switch_start()

-- 
Pavel Begunkov

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-07 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-29 15:01 [syzbot] WARNING in io_uring_setup (2) syzbot
2021-04-29 17:46 ` syzbot
2021-04-29 17:55   ` Pavel Begunkov
2021-04-29 18:15     ` syzbot
2021-05-07 19:41       ` Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox