[syzbot] WARNING in blk_rq_append_bio

Started by syzbot on May 17, 2021 · 3 messages from 3 authors · Last reply May 17, 2021

open the first message on its own page

Message details and related content
Hello,

syzbot found the following issue on:

HEAD commit:    5103a5be Add linux-next specific files for 20210407
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=17b28e36d00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c278e8a8a7f47f4c
dashboard link: https://syzkaller.appspot.com/bug?extid=1c24e3484e48799b2333
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1232b5c9d00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17971a36d00000

The issue was bisected to:

commit 393bb12e00580aaa23356504eed38d8f5571153a
Author: Christoph Hellwig [off-list ref]
Date:   Wed Mar 31 07:30:01 2021 +0000

    block: stop calling blk_queue_bounce for passthrough requests

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=134e9381d00000
final oops:     https://syzkaller.appspot.com/x/report.txt?x=10ce9381d00000
console output: https://syzkaller.appspot.com/x/log.txt?x=174e9381d00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: <redacted>
Fixes: 393bb12e0058 ("block: stop calling blk_queue_bounce for passthrough requests")

------------[ cut here ]------------
WARNING: CPU: 1 PID: 25 at block/blk-map.c:488 blk_rq_append_bio+0x565/0x680 block/blk-map.c:488
Modules linked in:
CPU: 0 PID: 25 Comm: kworker/u4:1 Not tainted 5.12.0-rc6-next-20210407-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound async_run_entry_fn
RIP: 0010:blk_rq_append_bio+0x565/0x680 block/blk-map.c:488
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 de 00 00 00 48 8b 44 24 10 48 89 98 a0 00 00 00 45 31 e4 e9 3f fe ff ff e8 6b 3e bc fd <0f> 0b 41 bc ea ff ff ff e9 2d fe ff ff c7 44 24 08 00 00 00 00 e9
RSP: 0018:ffffc90000dff6d0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888011cbb900 RSI: ffffffff83b7ea55 RDI: 0000000000000003
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000001

37 more lines

Message details and related content
This was fixed just a little later with "block: remove an incorrect check from
blk_rq_append_bio"

On Mon, May 17, 2021 at 04:27:20AM -0700, syzbot wrote:
Hello,

syzbot found the following issue on:

HEAD commit:    5103a5be Add linux-next specific files for 20210407
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=17b28e36d00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c278e8a8a7f47f4c
dashboard link: https://syzkaller.appspot.com/bug?extid=1c24e3484e48799b2333
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1232b5c9d00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17971a36d00000

The issue was bisected to:

commit 393bb12e00580aaa23356504eed38d8f5571153a
Author: Christoph Hellwig [off-list ref]
Date:   Wed Mar 31 07:30:01 2021 +0000

    block: stop calling blk_queue_bounce for passthrough requests

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=134e9381d00000
final oops:     https://syzkaller.appspot.com/x/report.txt?x=10ce9381d00000
console output: https://syzkaller.appspot.com/x/log.txt?x=174e9381d00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: <redacted>
Fixes: 393bb12e0058 ("block: stop calling blk_queue_bounce for passthrough requests")

------------[ cut here ]------------
WARNING: CPU: 1 PID: 25 at block/blk-map.c:488 blk_rq_append_bio+0x565/0x680 block/blk-map.c:488
Modules linked in:
CPU: 0 PID: 25 Comm: kworker/u4:1 Not tainted 5.12.0-rc6-next-20210407-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound async_run_entry_fn
RIP: 0010:blk_rq_append_bio+0x565/0x680 block/blk-map.c:488
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 de 00 00 00 48 8b 44 24 10 48 89 98 a0 00 00 00 45 31 e4 e9 3f fe ff ff e8 6b 3e bc fd <0f> 0b 41 bc ea ff ff ff e9 2d fe ff ff c7 44 24 08 00 00 00 00 e9
RSP: 0018:ffffc90000dff6d0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888011cbb900 RSI: ffffffff83b7ea55 RDI: 0000000000000003
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000001

37 more quoted lines

---end quoted text---
Message details and related content
On Mon, May 17, 2021 at 1:28 PM Christoph Hellwig [off-list ref] wrote:
This was fixed just a little later with "block: remove an incorrect check from
blk_rq_append_bio"
Hi Christoph,

Thanks for checking, let's tell syzbot:

#syz fix: block: remove an incorrect check from blk_rq_append_bio


On Mon, May 17, 2021 at 04:27:20AM -0700, syzbot wrote:
quoted
Hello,

syzbot found the following issue on:

HEAD commit:    5103a5be Add linux-next specific files for 20210407
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=17b28e36d00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c278e8a8a7f47f4c
dashboard link: https://syzkaller.appspot.com/bug?extid=1c24e3484e48799b2333
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1232b5c9d00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17971a36d00000

The issue was bisected to:

commit 393bb12e00580aaa23356504eed38d8f5571153a
Author: Christoph Hellwig [off-list ref]
Date:   Wed Mar 31 07:30:01 2021 +0000

    block: stop calling blk_queue_bounce for passthrough requests

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=134e9381d00000
final oops:     https://syzkaller.appspot.com/x/report.txt?x=10ce9381d00000
console output: https://syzkaller.appspot.com/x/log.txt?x=174e9381d00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: <redacted>
Fixes: 393bb12e0058 ("block: stop calling blk_queue_bounce for passthrough requests")

------------[ cut here ]------------
WARNING: CPU: 1 PID: 25 at block/blk-map.c:488 blk_rq_append_bio+0x565/0x680 block/blk-map.c:488
Modules linked in:
CPU: 0 PID: 25 Comm: kworker/u4:1 Not tainted 5.12.0-rc6-next-20210407-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound async_run_entry_fn
RIP: 0010:blk_rq_append_bio+0x565/0x680 block/blk-map.c:488
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 de 00 00 00 48 8b 44 24 10 48 89 98 a0 00 00 00 45 31 e4 e9 3f fe ff ff e8 6b 3e bc fd <0f> 0b 41 bc ea ff ff ff e9 2d fe ff ff c7 44 24 08 00 00 00 00 e9
RSP: 0018:ffffc90000dff6d0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888011cbb900 RSI: ffffffff83b7ea55 RDI: 0000000000000003

38 more quoted lines

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help