Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 49EDF289371 for ; Thu, 10 Jul 2025 07:42:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133365; cv=none; b=aLxJZPibto0Z6JiBTTfUUDc4CxV/qQJ8+rvYy6aMT9B+E+z2xPOJfyp9XIQcMPS5SsfnrS5Hwy/uiGUo1c3MoDxeZSnyzB6WXYZBs/Ee4PBaILKhfxQ0eYvCaXqCCEOHdPwmLOK/xCAclMrL2F27rvEKgsgGIRzRqwYgs409z40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133365; c=relaxed/simple; bh=vTBAZRZp4YWhmYoUTVZujrs+ItINI3MMGPNh4LMisI4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wf+3yOSAkeqh9ZVa62PYVmKnetOKnyXsLgNNZY/7b2mMhHQi+ksnJxiPjofIs7no3lU2sFZ15xhEQ0Z5+mTZ1L/iHeRwbBVWCHz84OFmIPCQpvS5xQGGS2JC7TCYfsGrIXJIuwV5ikWByF7c/Vkchk1FRCRQ9QRIG6hDPvbMxJY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ku9Mqt8B; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Ku9Mqt8B" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83ABEC4CEF6; Thu, 10 Jul 2025 07:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133364; bh=vTBAZRZp4YWhmYoUTVZujrs+ItINI3MMGPNh4LMisI4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ku9Mqt8Bzrb9UwZ3aeovISs09Yecrj4cOZ4IFP3f2Fxa4fpEHy0jeq0bSnTSgmuAp VDz2OBx3/r9r8Jhqz9emPdlpPnWeM4jzbGva7Z0qZq5oibZqVZsTiCQXzthOe+3KRG GAlXgwFDPjKR4nDV87mVGCtJN3VGAFg4WJBS8nP0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38283: hisi_acc_vfio_pci: bugfix live migration function without VF device driver Date: Thu, 10 Jul 2025 09:42:24 +0200 Message-ID: <2025071010-CVE-2025-38283-a62b@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2792; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NBVdYqRLMEAHE4VAjYF62gEi0co/jGS9cMK8NAeY3do=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eZcumkZl8DAXfU0UCNx3QviimMbrlzW8u5YU7LlY2 v4zojCxI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaSO5NhwebQ5ZPn9z2de4y7 YPoF517+rX0xvAzzI4PLVPpqjO+8kX1h1Prj+t6p2++mAgA= 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: hisi_acc_vfio_pci: bugfix live migration function without VF device driver If the VF device driver is not loaded in the Guest OS and we attempt to perform device data migration, the address of the migrated data will be NULL. The live migration recovery operation on the destination side will access a null address value, which will cause access errors. Therefore, live migration of VMs without added VF device drivers does not require device data migration. In addition, when the queue address data obtained by the destination is empty, device queue recovery processing will not be performed. The Linux kernel CVE team has assigned CVE-2025-38283 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit b0eed085903e7758532696d64397901a75bba8ba and fixed in 6.6.94 with commit b5ef128926cd34dffa2a66607b9c82b902581ef8 Issue introduced in 5.18 with commit b0eed085903e7758532696d64397901a75bba8ba and fixed in 6.12.34 with commit 59a834592dd200969fdf3c61be1cb0615c647e45 Issue introduced in 5.18 with commit b0eed085903e7758532696d64397901a75bba8ba and fixed in 6.15.3 with commit 53e8e8e909f7c3a77857d09d2b733a42547f57ee Issue introduced in 5.18 with commit b0eed085903e7758532696d64397901a75bba8ba and fixed in 6.16-rc1 with commit 2777a40998deb36f96b6afc48bd397cf58a4edf0 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-2025-38283 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: drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.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/b5ef128926cd34dffa2a66607b9c82b902581ef8 https://git.kernel.org/stable/c/59a834592dd200969fdf3c61be1cb0615c647e45 https://git.kernel.org/stable/c/53e8e8e909f7c3a77857d09d2b733a42547f57ee https://git.kernel.org/stable/c/2777a40998deb36f96b6afc48bd397cf58a4edf0