From nobody Mon Feb 9 20:51:54 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1612494729; cv=none; d=zohomail.com; s=zohoarc; b=KHNcVfkmtpx7Y3VcB17TFFqsUz8WgBUNfljzOja3cfoxxB/d6pix4dl5uVGOmQQgpqQXA3HZxjWO7xfPK1f15naMEhdO2mbeAEyxUpjMkFyxdoO6N7lfEE2lf5w96wjyUDzE+LYJ/xrhsQS9fktVCpBNCMXaHEzCuhYkB7h7ia4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612494729; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=np8Q1DqkvY2NIL9th6p2t5bpbx03iUZHX0wO3ZkNrQA=; b=Jmhkcz7WbYjAc3UK/cozVpwJ/pj24fZUDAKIuB551I1H376KD14Nk3fA/MUd3yl+7yi9x8JKl2E4yOUgazlPrud+lDQOSsuK7AG11SFKkZRwffRSwNiRBTgZ4vGzVX8SVKYMoQvUrB+E9x7vZpEFKH4N34eiroY8QUFo+LC5Al8= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1612494728861210.94969116386198; Thu, 4 Feb 2021 19:12:08 -0800 (PST) Received: from localhost ([::1]:58172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7rXS-0002La-UI for importer@patchew.org; Thu, 04 Feb 2021 22:12:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7rWG-0001uW-4T for qemu-devel@nongnu.org; Thu, 04 Feb 2021 22:10:52 -0500 Received: from indium.canonical.com ([91.189.90.7]:48956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7rWA-0006dJ-0Z for qemu-devel@nongnu.org; Thu, 04 Feb 2021 22:10:51 -0500 Received: from gac.canonical.com ([91.189.90.20]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1l7rW6-0002BS-RN for ; Fri, 05 Feb 2021 03:10:42 +0000 Received: from gac.canonical.com (localhost [IPv6:::1]) by gac.canonical.com (Postfix) with ESMTPS id BCE7C5C01C7 for ; Fri, 5 Feb 2021 03:10:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 05 Feb 2021 03:10:42 -0000 From: Launchpad Bug Tracker <1914696@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public Security X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: yes X-Launchpad-Bug-Commenters: zhijianli88 X-Launchpad-Bug-Reporter: lizhijian (zhijianli88) References: <161249398803.13999.15324457641617983607.malonedeb@soybean.canonical.com> Subject: [Bug 1914696] [NEW] aarch64: migration failed: Segmentation fault (core dumped) X-Launchpad-Message-Rationale: Subscriber @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Message-Id: <161249464270.1626.1619585641070694953.launchpad@gac.canonical.com> Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="3d7abcb776ec05aa0a89112accc21bf8b41dfc24"; Instance="lpnet3" X-Launchpad-Hash: 7d5f6ac20df9e3e0f51e2a97a71905435146f08f Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1914696 <1914696@bugs.launchpad.net> Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" *** This bug is a security vulnerability *** You have been subscribed to a public security bug by lizhijian (zhijianli88= ): reproduce: arch: aarch64 source qemu: v4.2.0 destination qemu: 1ed9228f63ea4bcc0ae240365305ee264e9189ce cmdline: source:=20 $ ./aarch64-softmmu/qemu-system-aarch64 -name 'avocado-vt-vm1' -mach= ine virt-4.2,gic-version=3Dhost,graphics=3Don -nodefaults -m 1024 = -smp 2 -cpu 'host' -vnc :10 -enable-kvm -monitor stdio (qemu)=20 (qemu) migrate -d tcp:10.19.241.167:888 (qemu) info status VM status: paused (postmigrate) destination:=20 ./build/aarch64-softmmu/qemu-system-aarch64 -name 'avocado-vt-vm1' -machin= e virt-4.2,gic-version=3Dhost,graphics=3Don -nodefaults -m 1024 = -smp 2 -cpu 'host' -vnc :10 -enable-kvm -monitor stdio = -incoming tcp:0:888 QEMU 5.2.50 monitor - type 'help' for more information (qemu) Segmentation fault (core dumped) i have bisected and confirmed that the first bad commit is: [f9506e162c33e8= 7b609549157dd8431fcc732085] target/arm: Remove ARM_FEATURE_VFP* bisect log: git bisect log # bad: [1ed9228f63ea4bcc0ae240365305ee264e9189ce] Merge remote-tracking bra= nch 'remotes/ericb/tags/pull-nbd-2021-02-02-v2' into staging git bisect bad 1ed9228f63ea4bcc0ae240365305ee264e9189ce # good: [b0ca999a43a22b38158a222233d3f5881648bb4f] Update version for v4.2.= 0 release git bisect good b0ca999a43a22b38158a222233d3f5881648bb4f # bad: [59093cc407cb044c72aa786006a07bd404eb36b9] hw/char: Convert the Ibex= UART to use the registerfields API git bisect bad 59093cc407cb044c72aa786006a07bd404eb36b9 # bad: [4dabf39592e92d692c6f2a1633571114ae25d843] aspeed/smc: Fix DMA suppo= rt for AST2600 git bisect bad 4dabf39592e92d692c6f2a1633571114ae25d843 # good: [93c86fff53a267f657e79ec07dcd04b63882e330] Merge remote-tracking br= anch 'remotes/pmaydell/tags/pull-target-arm-20200207' into staging git bisect good 93c86fff53a267f657e79ec07dcd04b63882e330 # bad: [2ac031d171ccd18c973014d9978b4a63f0ad5fb0] Merge remote-tracking bra= nch 'remotes/palmer/tags/riscv-for-master-5.0-sf3' into staging git bisect bad 2ac031d171ccd18c973014d9978b4a63f0ad5fb0 # good: [4036b7d1cd9fb1097a5f4bc24d7d31744256260f] target/arm: Use isar_fea= ture function for testing AA32HPD feature git bisect good 4036b7d1cd9fb1097a5f4bc24d7d31744256260f # good: [002375895c10df40615fc615e2639f49e0c442fe] tests/iotests: be a litt= le more forgiving on the size test git bisect good 002375895c10df40615fc615e2639f49e0c442fe # good: [c695724868ce4049fd79c5a509880dbdf171e744] target/riscv: Emulate TI= ME CSRs for privileged mode git bisect good c695724868ce4049fd79c5a509880dbdf171e744 # good: [f67957e17cbf8fc3cc5d1146a2db2023404578b0] target/arm: Add isar_fea= ture_aa32_{fpsp_v2, fpsp_v3, fpdp_v3} git bisect good f67957e17cbf8fc3cc5d1146a2db2023404578b0 # bad: [a1229109dec4375259d3fff99f362405aab7917a] target/arm: Implement v8.= 4-RCPC git bisect bad a1229109dec4375259d3fff99f362405aab7917a # bad: [906b60facc3d3dd3af56cb1a7860175d805e10a3] target/arm: Add formats f= or some vfp 2 and 3-register insns git bisect bad 906b60facc3d3dd3af56cb1a7860175d805e10a3 # good: [c52881bbc22b50db99a6c37171ad3eea7d959ae6] target/arm: Replace ARM_= FEATURE_VFP4 with isar_feature_aa32_simdfmac git bisect good c52881bbc22b50db99a6c37171ad3eea7d959ae6 # good: [f0f6d5c81be47d593e5ece7f06df6fba4c15738b] target/arm: Move the vfp= decodetree calls next to the base isa git bisect good f0f6d5c81be47d593e5ece7f06df6fba4c15738b # bad: [f9506e162c33e87b609549157dd8431fcc732085] target/arm: Remove ARM_FE= ATURE_VFP* git bisect bad f9506e162c33e87b609549157dd8431fcc732085 # good: [bfa8a370d2f5d4ed03f7a7e2987982f15fe73758] linux-user/arm: Replace = ARM_FEATURE_VFP* tests for HWCAP git bisect good bfa8a370d2f5d4ed03f7a7e2987982f15fe73758 # first bad commit: [f9506e162c33e87b609549157dd8431fcc732085] target/arm: = Remove ARM_FEATURE_VFP* the root cause is that, some feature bit is not consistent any more with be= low changes in this commit: diff --git a/target/arm/cpu.h b/target/arm/cpu.h index b29b0eddfc..05aa9711cd 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1880,7 +1880,6 @@ QEMU_BUILD_BUG_ON(ARRAY_SIZE(((ARMCPU *)0)->ccsidr) <= =3D R_V7M_CSSELR_INDEX_MASK); * mapping in linux-user/elfload.c:get_elf_hwcap(). */ enum arm_features { - ARM_FEATURE_VFP, ARM_FEATURE_AUXCR, /* ARM1026 Auxiliary control register. */ ARM_FEATURE_XSCALE, /* Intel XScale extensions. */ ARM_FEATURE_IWMMXT, /* Intel iwMMXt extension. */ @@ -1889,7 +1888,6 @@ enum arm_features { ARM_FEATURE_V7, ARM_FEATURE_THUMB2, ARM_FEATURE_PMSA, /* no MMU; may have Memory Protection Unit */ - ARM_FEATURE_VFP3, ARM_FEATURE_NEON, ARM_FEATURE_M, /* Microcontroller profile. */ ARM_FEATURE_OMAPCP, /* OMAP specific CP15 ops handling. */ @@ -1900,7 +1898,6 @@ enum arm_features { ARM_FEATURE_V5, ARM_FEATURE_STRONGARM, ARM_FEATURE_VAPA, /* cp15 VA to PA lookups */ - ARM_FEATURE_VFP4, /* VFPv4 (implies that NEON is v2) */ ARM_FEATURE_GENERIC_TIMER, ARM_FEATURE_MVFR, /* Media and VFP Feature Registers 0 and 1 */ ARM_FEATURE_DUMMY_C15_REGS, /* RAZ/WI all of cp15 crn=3D15 */ ** Affects: qemu Importance: Undecided Status: New --=20 aarch64: migration failed: Segmentation fault (core dumped) https://bugs.launchpad.net/bugs/1914696 You received this bug notification because you are a member of qemu-devel-m= l, which is subscribed to the bug report.