From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85104C25B08 for ; Wed, 17 Aug 2022 20:24:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241864AbiHQUY5 (ORCPT ); Wed, 17 Aug 2022 16:24:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241852AbiHQUYp (ORCPT ); Wed, 17 Aug 2022 16:24:45 -0400 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EA4D6D9E3 for ; Wed, 17 Aug 2022 13:24:44 -0700 (PDT) Received: by mail-io1-f72.google.com with SMTP id p123-20020a6bbf81000000b00674f66cf13aso8442992iof.23 for ; Wed, 17 Aug 2022 13:24:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc; bh=TOTudgE2luUnyGoQgxj2+XULsDktmvN1kliVOedN+/g=; b=05YgOua6Es8JIGq7rXnh+08nBffpiaCs+l+itX4tejFOtSP+SfEoCPovoI8Ekj50e3 3vUFszTGnASQ8eUUyxV4NQgepsEC1Y5roB/aVpXmoSWogL3RcW9Ew/qzU/5ZK7FRY4Jh vpHql8DIleihfRpK6XVAbWa47xDd/bkifCUHa7U5yJ3pcukmaEZo0T1WfEsQrq2e5W6/ GfgWMyEQRK1pnXt9/n+xxmqdmeFgHWDPzCcLkBLc9A/xUqa5pz6Oyh/linS2Pywvm2/j Sr17daqq3YXg+wXLk++WOE324Avwi8LrNisLtBkDES3R8up8jqEiXSHwQfqNKAeyuo5j opMw== X-Gm-Message-State: ACgBeo1bNYTDhpVC9UO/GzJnEyb6OQyYM9m8LN8pCPnNuOdigQ1zD/6m DeWygyCEQ/4+ARECgx3lyEhP3N1xDJBQcQEyK6I4iCqhj7Le X-Google-Smtp-Source: AA6agR7OqdBT2w9FeyBfNruYeNE3yKCtj3sP256RcV/pY8XHcw1ZndoCcjq4yAZhJWAbCLDQXkixyV8aEU7iWgrPWIWLX7ZwvSXH MIME-Version: 1.0 X-Received: by 2002:a92:cac2:0:b0:2de:7068:876e with SMTP id m2-20020a92cac2000000b002de7068876emr12986377ilq.76.1660767883605; Wed, 17 Aug 2022 13:24:43 -0700 (PDT) Date: Wed, 17 Aug 2022 13:24:43 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000c1c04505e675a708@google.com> Subject: Re: [syzbot] KASAN: vmalloc-out-of-bounds Read in kvm_dev_ioctl From: syzbot To: Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org > On 8/17/22 16:30, syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit: 7ebfc85e2cd7 Merge tag 'net-6.0-rc1' of git://git.kernel.o.. >> git tree: upstream >> console output: https://syzkaller.appspot.com/x/log.txt?x=10b66b6b080000 >> kernel config: https://syzkaller.appspot.com/x/.config?x=c15de4ee7650fb42 >> dashboard link: https://syzkaller.appspot.com/bug?extid=8d24abd02cd4eb911bbd >> compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 >> >> 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+8d24abd02cd4eb911bbd@syzkaller.appspotmail.com >> >> ================================================================== >> BUG: KASAN: vmalloc-out-of-bounds in __list_add_valid+0x93/0xb0 lib/list_debug.c:27 >> Read of size 8 at addr ffffc90006b7a348 by task syz-executor.4/20901 >> >> CPU: 1 PID: 20901 Comm: syz-executor.4 Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7 #0 >> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 >> Call Trace: >> >> __dump_stack lib/dump_stack.c:88 [inline] >> dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 >> print_address_description mm/kasan/report.c:317 [inline] >> print_report.cold+0x59/0x6e9 mm/kasan/report.c:433 >> kasan_report+0xb1/0x1e0 mm/kasan/report.c:495 >> __list_add_valid+0x93/0xb0 lib/list_debug.c:27 >> __list_add include/linux/list.h:69 [inline] >> list_add include/linux/list.h:88 [inline] >> kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1219 [inline] >> kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:4910 [inline] >> kvm_dev_ioctl+0xf44/0x1ce0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4957 >> vfs_ioctl fs/ioctl.c:51 [inline] >> __do_sys_ioctl fs/ioctl.c:870 [inline] >> __se_sys_ioctl fs/ioctl.c:856 [inline] >> __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 >> do_syscall_x64 arch/x86/entry/common.c:50 [inline] >> do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 >> entry_SYSCALL_64_after_hwframe+0x63/0xcd >> RIP: 0033:0x7fb1fba89279 >> Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48 >> RSP: 002b:00007fb1fcc1e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 >> RAX: ffffffffffffffda RBX: 00007fb1fbb9bf80 RCX: 00007fb1fba89279 >> RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000004 >> RBP: 00007fb1fbae3189 R08: 0000000000000000 R09: 0000000000000000 >> R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 >> R13: 00007ffea48aadbf R14: 00007fb1fcc1e300 R15: 0000000000022000 >> >> >> Memory state around the buggy address: >> ffffc90006b7a200: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >> ffffc90006b7a280: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >>> ffffc90006b7a300: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >> ^ >> ffffc90006b7a380: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >> ffffc90006b7a400: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >> ================================================================== >> >> >> --- >> 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 syzkaller@googlegroups.com. >> >> syzbot will keep track of this issue. See: >> https://goo.gl/tpsmEJ#status for how to communicate with syzbot. >> > > #syz dup: BUG: unable to handle kernel paging request in can't find the dup bug > kvm_arch_hardware_enable > > -- > You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/bb50f7ae-0670-fe7d-c7d7-10036aba13f4%40redhat.com.