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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17626C43458 for ; Thu, 9 Jul 2026 06:26:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: In-Reply-To:Date:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=tPSKI+OKB0nE/ZXeaSXPH5WSyX/BKOHVwATMpgDlO9o=; b=ucP edtBPwTrY+mRoFHkWckMRAwxQPjWPYCRwc1/v6xKVY47CeqLuL4vmmrCEHqTb/T8BnYOw+R3o5qys 1Jkc5ubiwMofh4KfEzulCFZrd8sRQL1mEmrCY/D9EOD0rtxI/iLFtAmHHTU6HvpLAuFpWNFXIQ5ea OhwLbr3ZUeZ0999Lk10/4zdZqX+DmPXaDctq9Pxl2xw0xsCKHgemyc9eOVGZ1kXefUOHDQ6Dop2qO IkgSW26ncCRAr6yfDteNTvvyDoKOIkspOo2sseXtWT7+vYqYHbAquz8FZzfzeDQjoe7KFkGlO4nD7 3Y9+P2VaGOde/4iMO0HZGHLlL4UmXZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1whiDL-000000019TS-3L7s; Thu, 09 Jul 2026 06:26:27 +0000 Received: from mail-ot1-f70.google.com ([209.85.210.70]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1whiDI-000000019Pe-3rNZ for linux-riscv@lists.infradead.org; Thu, 09 Jul 2026 06:26:26 +0000 Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-7eb88e7f641so2182147a34.3 for ; Wed, 08 Jul 2026 23:26:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783578383; x=1784183183; h=content-type:cc:to:from:subject:message-id:in-reply-to:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=aGYb6cIYWCwKklV7e199C3toXW7ue1Oty8gsT7/cke4=; b=Dz8y1djnePfugWoOhx4SbnUKHXpprPmQrFIN4mTik7M3H8Tzv7iP3yaJtKZFejUhWq 3NGVMPuGpI1iZNQbf4FSoSNOZIT4QF9KfSd0aEhwcevuqp9zWX7TU835S6uHQKnl91vr mfG5LwLiNTFv9aepf0pNOM7F4y0t/aCyq4fwNrD/tksY8GNiNKtWJp8ZoNdwD+UNxT+2 3mmAaL1130zTbLDqv63r/7RXDvJZTLb+OI2VTyVbLD8ger1L2KlwsS+VGtkZ3osW1kLP guzLkG3KHjRshRyKqXTWZgH/fenQludskEzqgCf3RWMlxBbof9RekNO4HB7c+uBT92bV Vvew== X-Forwarded-Encrypted: i=1; AFNElJ8a7r+GjL2hgX9DUxY/nlwPHJDu8ETJhp4tzATzMFfaBQvt7ATJXEjOg+BMqzgaJVLsiC1Lkap1xlIsIw==@lists.infradead.org X-Gm-Message-State: AOJu0YwvvHzpSTSCX+QjOhUiTE4t2nMLkVb6eA62Of1p5YCAftl2k2+g KLNxgBrBZpGaMVqORNXugvHj1DfIQHpN4lDdf+TPgFwuR8JvfrS1f26m1bU92+tJRC4RefFvasC KZ57fjLVYDgA4N0HdDgaXb6nVGlSC7UZfx71qQSMezqiptGtAvq7Hufy2q2U= MIME-Version: 1.0 X-Received: by 2002:a05:6820:2d09:b0:6a3:66dd:c9fa with SMTP id 006d021491bc7-6a36da10ff8mr3986082eaf.55.1783578382884; Wed, 08 Jul 2026 23:26:22 -0700 (PDT) Date: Wed, 08 Jul 2026 23:26:22 -0700 In-Reply-To: <20260707-riscv_insn_table-v3-0-3f8e5f75ba97@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a4f3f0e.57639fcc.86d58.001b.GAE@google.com> Subject: [syzbot ci] Re: riscv: Generate riscv instruction functions From: syzbot ci To: akpm@linux-foundation.org, alex@ghiti.fr, anup@brainfault.org, atish.patra@linux.dev, conor@kernel.org, jtaubepe@redhat.com, kvm-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, namcao@linutronix.de, palmer@dabbelt.com, pbonzini@redhat.com, pjw@kernel.org, radim.krcmar@oss.qualcomm.com, shuah@kernel.org, thecharlesjenkins@gmail.com Cc: syzbot@lists.linux.dev, syzkaller-bugs@googlegroups.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260708_232625_038613_0A367C19 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org syzbot ci has tested the following series [v3] riscv: Generate riscv instruction functions https://lore.kernel.org/all/20260707-riscv_insn_table-v3-0-3f8e5f75ba97@gmail.com * [PATCH v3 01/17] riscv: Introduce instruction table generation * [PATCH v3 02/17] riscv: alternatives: Use generated instruction headers for patching code * [PATCH v3 03/17] riscv: kgdb: Use generated instruction headers * [PATCH v3 04/17] riscv: Add kprobes instruction simulation KUnit * [PATCH v3 05/17] riscv: kprobes: Use generated instruction headers * [PATCH v3 06/17] riscv: cfi: Use generated instruction headers * [PATCH v3 07/17] riscv: Maintain epc on misaligned emulation error * [PATCH v3 08/17] riscv: Use generated instruction headers for misaligned loads/stores * [PATCH v3 09/17] riscv: kvm: Use generated instruction headers for csr code * [PATCH v3 10/17] KVM: device: Add test device * [PATCH v3 11/17] KVM: riscv: selftests: Add mmio test * [PATCH v3 12/17] riscv: kvm: Use generated instruction headers for mmio emulation * [PATCH v3 13/17] riscv: kvm: Add emulated test csr * [PATCH v3 14/17] KVM: riscv: selftests: Add csr emulation test * [PATCH v3 15/17] riscv: kvm: Use generated instruction headers for csr emulation * [PATCH v3 16/17] riscv: kexec: Use generated instruction headers for kexec relocations * [PATCH v3 17/17] riscv: Remove unused instruction headers and found the following issue: WARNING in kvm_io_bus_unregister_dev Full report is available here: https://ci.syzbot.org/series/f3c61796-0ca0-4bfd-add1-23a20352fb7b *** WARNING in kvm_io_bus_unregister_dev tree: bpf-next URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next.git base: 8cd9520d35a6c38db6567e97dd93b1f11f185dc6 arch: amd64 compiler: Debian clang version 22.1.6 (++20260514074242+fc4aad7b5db3-1~exp1~20260514074407.73), Debian LLD 22.1.6 config: https://ci.syzbot.org/builds/65190eb6-0d65-4629-b225-e3b7089a0b10/config syz repro: https://ci.syzbot.org/findings/fa2c789e-ba9f-4d55-b3ba-0d5f22f78a4d/syz_repro ------------[ cut here ]------------ debug_locks && !(lock_is_held(&(&kvm->slots_lock)->dep_map) != 0) WARNING: arch/x86/kvm/../../../virt/kvm/kvm_main.c:6027 at kvm_io_bus_unregister_dev+0x4b0/0x580 virt/kvm/kvm_main.c:6027, CPU#1: syz.2.19/5828 Modules linked in: CPU: 1 UID: 0 PID: 5828 Comm: syz.2.19 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:kvm_io_bus_unregister_dev+0x4b0/0x580 virt/kvm/kvm_main.c:6027 Code: 3f fc ff ff e8 a1 ce 86 00 48 c7 c7 40 f7 c1 8b e8 a5 29 e9 ff 48 89 ef e8 ed 00 00 00 b8 f4 ff ff ff eb a3 e8 81 ce 86 00 90 <0f> 0b 90 e9 cd fb ff ff 48 c7 c1 e0 bb 2f 90 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900032afc30 EFLAGS: 00010293 RAX: ffffffff813e81af RBX: ffff88816b133688 RCX: ffff888160aba540 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc900032afb7f R09: 0000000000000000 R10: ffffc900032afb70 R11: ffffffff81404850 R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8881a5354000 FS: 000055555b90c500(0000) GS:ffff8882a92b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33663fff CR3: 00000001bceb8000 CR4: 0000000000352ef0 Call Trace: mmio_test_destroy+0x66/0x90 virt/kvm/mmio_test.c:83 kvm_destroy_devices virt/kvm/kvm_main.c:1251 [inline] kvm_destroy_vm virt/kvm/kvm_main.c:1296 [inline] kvm_put_kvm+0x902/0xae0 virt/kvm/kvm_main.c:1332 kvm_vm_release+0x43/0x50 virt/kvm/kvm_main.c:1355 __fput+0x418/0xa50 fs/file_table.c:510 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0x193/0x6b0 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2f43d9ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffde9296e78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ffde9296f60 RCX: 00007f2f43d9ce59 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 0000000000011938 R08: 0000000000000001 R09: 0000000000000000 R10: 0000001b32a20000 R11: 0000000000000246 R12: 00007ffde9296fa0 R13: 00007f2f44015fac R14: 0000000000011971 R15: 00007f2f44015fa0 *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com. To test a patch for this bug, please reply with `#syz test` (should be on a separate line). The patch should be attached to the email. Note: arguments like custom git repos and branches are not supported. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv