general protection fault in blkcg_iolatency_done_bio

5 views
Skip to first unread message

syzbot

unread,
Sep 26, 2020, 11:08:25 AM9/26/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 98477740 Merge branch 'rcu/urgent' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16234087900000
kernel config: https://syzkaller.appspot.com/x/.config?x=5f4c828c9e3cef97
dashboard link: https://syzkaller.appspot.com/bug?extid=2d80061e568a40a6fd3a
compiler: gcc (GCC) 10.1.0-syz 20200507
CC: [ax...@kernel.dk cgr...@vger.kernel.org linux...@vger.kernel.org linux-...@vger.kernel.org t...@kernel.org]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2d8006...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc001450459d: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x00000000a2822ce8-0x00000000a2822cef]
CPU: 1 PID: 29150 Comm: syz-executor.4 Not tainted 5.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:blkg_to_pd include/linux/blk-cgroup.h:378 [inline]
RIP: 0010:blkg_to_lat block/blk-iolatency.c:184 [inline]
RIP: 0010:blkcg_iolatency_done_bio+0x15f/0x1780 block/blk-iolatency.c:603
Code: 48 8b 04 24 48 83 fb 04 8b 68 10 0f 87 99 12 00 00 49 8d bc df e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 6c 12 00 00 49 8b 9c df e0 00 00 00 48 85 db 0f
RSP: 0018:ffffc90000da8b40 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff83b561dc
RDX: 000000001450459d RSI: ffffffff83b561e9 RDI: 00000000a2822ce8
RBP: 0000000000008801 R08: 0000000000000000 R09: ffffffff8b591ccf
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff83b560e0
R13: ffff88800010b200 R14: ffff88800010b200 R15: 00000000a2822c00
FS: 0000000000000000(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e62e000 CR3: 0000000088687000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
__rq_qos_done_bio+0x55/0xa0 block/blk-rq-qos.c:99
rq_qos_done_bio block/blk-rq-qos.h:171 [inline]
bio_endio+0x1e9/0x7f0 block/bio.c:1425
req_bio_endio block/blk-core.c:259 [inline]
blk_update_request+0x68f/0x1500 block/blk-core.c:1577
scsi_end_request+0x7e/0x8f0 drivers/scsi/scsi_lib.c:566
scsi_io_completion+0x1df/0x1310 drivers/scsi/scsi_lib.c:938
scsi_softirq_done+0x327/0x3c0 drivers/scsi/scsi_lib.c:1464
blk_done_softirq+0x33c/0x4d0 block/blk-mq.c:586
__do_softirq+0x1f8/0xb23 kernel/softirq.c:298
asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
</IRQ>
__run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:393 [inline]
__irq_exit_rcu kernel/softirq.c:423 [inline]
irq_exit_rcu+0x235/0x280 kernel/softirq.c:435
common_interrupt+0xa3/0x1f0 arch/x86/kernel/irq.c:239
asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:572
RIP: 0010:lock_is_held_type+0xca/0xf0 kernel/locking/lockdep.c:5073
Code: 82 e4 08 00 00 83 e8 01 66 85 c0 89 82 e4 08 00 00 75 27 4c 89 ff e8 d5 db 36 f9 48 83 c4 08 44 89 e0 5b 5d 41 5c 41 5d 41 5e <41> 5f c3 45 31 e4 eb c4 41 bc 01 00 00 00 eb e1 0f 0b c7 82 e4 08
RSP: 0018:ffffc90008baf6a0 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff815c000f
RDX: dffffc0000000000 RSI: ffffffff8a067e40 RDI: 0000000000000286
RBP: 1ffff92001175eda R08: 0000000000000000 R09: ffffffff8b591ccf
R10: fffffbfff16b2399 R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff8a067f00 R14: ffffffff81bc918f R15: 0000000000000286
lock_is_held include/linux/lockdep.h:267 [inline]
rcu_read_lock_sched_held+0x3a/0xb0 kernel/rcu/update.c:136
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x6a1/0x8f0 kernel/locking/lockdep.c:5040
zap_pte_range mm/memory.c:1093 [inline]
zap_pmd_range mm/memory.c:1197 [inline]
zap_pud_range mm/memory.c:1226 [inline]
zap_p4d_range mm/memory.c:1247 [inline]
unmap_page_range+0xf6b/0x2bf0 mm/memory.c:1268
unmap_single_vma+0x198/0x300 mm/memory.c:1313
unmap_vmas+0x168/0x2e0 mm/memory.c:1345
exit_mmap+0x2b1/0x530 mm/mmap.c:3183
__mmput+0x122/0x470 kernel/fork.c:1076
mmput+0x53/0x60 kernel/fork.c:1097
exit_mm kernel/exit.c:483 [inline]
do_exit+0xa8b/0x29f0 kernel/exit.c:793
do_group_exit+0x125/0x310 kernel/exit.c:903
get_signal+0x428/0x1f00 kernel/signal.c:2757
arch_do_signal+0x82/0x2520 arch/x86/kernel/signal.c:811
exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
exit_to_user_mode_prepare+0x1ae/0x200 kernel/entry/common.c:192
syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:267
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e179
Code: Bad RIP value.
RSP: 002b:00007f5cec2efc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: 0000000000080000 RBX: 0000000000027a40 RCX: 000000000045e179
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 000000000118cf88 R08: 0000000000000000 R09: 0000000000000000
R10: 000080001d00c0d0 R11: 0000000000000246 R12: 000000000118cf4c
R13: 000000000169fb6f R14: 00007f5cec2f09c0 R15: 000000000118cf4c
Modules linked in:
---[ end trace 72d90ca4257da8d6 ]---
RIP: 0010:blkg_to_pd include/linux/blk-cgroup.h:378 [inline]
RIP: 0010:blkg_to_lat block/blk-iolatency.c:184 [inline]
RIP: 0010:blkcg_iolatency_done_bio+0x15f/0x1780 block/blk-iolatency.c:603
Code: 48 8b 04 24 48 83 fb 04 8b 68 10 0f 87 99 12 00 00 49 8d bc df e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 6c 12 00 00 49 8b 9c df e0 00 00 00 48 85 db 0f
RSP: 0018:ffffc90000da8b40 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff83b561dc
RDX: 000000001450459d RSI: ffffffff83b561e9 RDI: 00000000a2822ce8
RBP: 0000000000008801 R08: 0000000000000000 R09: ffffffff8b591ccf
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff83b560e0
R13: ffff88800010b200 R14: ffff88800010b200 R15: 00000000a2822c00
FS: 0000000000000000(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e62e000 CR3: 0000000088687000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 21, 2020, 10:07:07 AM12/21/20
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages