Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD3A937E2EC for ; Sun, 18 Oct 2026 15:19:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336770; cv=none; b=IN2NvcuhRJggvXackECJeVOlGUOfoqhFP2gMLDR0mLB0qR58gyagGyJabbfaAwH+imJvl04xxNGQMScXq94TrGOOq4laj0aiqZ9FhmfCubsRg/NhzSNrvWj3qGzQEbrfdRMJ13+7cr/ZesbjzwpdISPXBRZDUFZyovMubLC+S00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336770; c=relaxed/simple; bh=dFJfmHjYn5No2rmvSziPV7aWqHhK7d6Ut6dzzPAkX84=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VEhsr+icf/BZOXr+p8dIBVJp++VlnvWWsDgsvPb55oQLh8+jWn9hBZ4BwDuNFcbVQGCLVMdaiUjqIIqutti00cLctIg1mOk/CI+5Kot3groavbhs83eiTNO+llR5kCBoDlWdWhseDgyPGSDUIEVX9m9wvbXLe//jBccuQvP/wOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YoZcOSrG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YoZcOSrG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 704B71F000C4; Sun, 18 Oct 2026 15:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336769; bh=07rT86p9Nh3lJ1v4L4JTqtyAnAkK8xsKCTooCOIPstY=; h=From:To:Cc:Subject:Date:Reply-To; b=YoZcOSrGA6WuCqRLCCXcEpiofWsT2KX5eQvyy6fOcFZBekvw1y3MUXvMz45mIE1+8 qzj1sztFZ5z4Fnwy9EJcMPP8C+ZYqsv+prz6duc0KIA8i6YioFox6SXt8mwlQj0zRW EKQvWoxx8P4E5XS3nOv4MpUV+/eg3kzB2vTQPmBA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98465: RISC-V: KVM: Serialize IMSIC attributes with vCPU migration Date: Sun, 18 Oct 2026 17:15:29 +0200 Message-ID: <2026101811-CVE-2026-98465-c67f@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2898; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QO98AjFScyCQottc1el7/pD7o0vswda5RgtCDLVGGtw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHtX/SJnaFD/nGm9R/BXWJzI+/L4Pf8xfXF2xivHY6 lcZxvvDOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAij40YFuyarmx0ZaWUKB93 p8BKm1flPnLKggxzpSc5mac4qHi4L97VayPOU8ZzzCgBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Serialize IMSIC attributes with vCPU migration KVM device ioctls are not serialized against KVM_RUN. As a result, kvm_riscv_aia_imsic_rw_attr() can snapshot the physical CPU and HGEI of an IMSIC VS-file before a concurrent vCPU migration releases it. The HGEI can then be allocated to another vCPU before imsic_vsfile_rw() uses the stale tuple. A GET or SET attribute may consequently access the new owner's interrupt file. Serialize the entire IMSIC attribute operation with the target vCPU mutex. This prevents the VS-file from being migrated and recycled until the attribute access completes. Acquire the mutex killably so that the device ioctl remains interruptible while waiting for KVM_RUN to finish. The Linux kernel CVE team has assigned CVE-2026-98465 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit db8b7e97d6137a28b2bfc07e591d54da268f0c36 and fixed in 6.12.112 with commit a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98 Issue introduced in 6.5 with commit db8b7e97d6137a28b2bfc07e591d54da268f0c36 and fixed in 6.18.55 with commit c525772c304c971b0d3a1f2898dedbae653efe90 Issue introduced in 6.5 with commit db8b7e97d6137a28b2bfc07e591d54da268f0c36 and fixed in 7.2.9 with commit 71acbea44e78665ea90e3c310fca6bbdcc0252db Issue introduced in 6.5 with commit db8b7e97d6137a28b2bfc07e591d54da268f0c36 and fixed in 7.3-rc5 with commit 8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98465 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: arch/riscv/kvm/aia_imsic.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98 https://git.kernel.org/stable/c/c525772c304c971b0d3a1f2898dedbae653efe90 https://git.kernel.org/stable/c/71acbea44e78665ea90e3c310fca6bbdcc0252db https://git.kernel.org/stable/c/8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc