cbcvebase.
CVE-2025-38158
published 2025-07-03

CVE-2025-38158: In the Linux kernel, the following vulnerability has been resolved: hisi_acc_vfio_pci: fix XQE dma address error The dma addresses of EQE and AEQE are wrong…

medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
In the Linux kernel, the following vulnerability has been resolved: hisi_acc_vfio_pci: fix XQE dma address error The dma addresses of EQE and AEQE are wrong after migration and results in guest kernel-mode encryption services failure. Comparing the definition of hardware registers, we found that there was an error when the data read from the register was combined into an address. Therefore, the address combination sequence needs to be corrected. Even after fixing the above problem, we still have an issue where the Guest from an old kernel can get migrated to new kernel and may result in wrong data. In order to ensure that the address is correct after migration, if an old magic number is detected, the dma address needs to be updated.

Affected

28 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
debianlinux-6.1< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
linuxlinux
linuxlinux>= b0eed085903e7758532696d64397901a75bba8ba < 809a9c10274e1bcf6d05f1c0341459a425a4f05f809a9c10274e1bcf6d05f1c0341459a425a4f05f
linuxlinux>= b0eed085903e7758532696d64397901a75bba8ba < f0423873e7aeb69cb68f4e8fa3827832e7b037baf0423873e7aeb69cb68f4e8fa3827832e7b037ba
linuxlinux>= b0eed085903e7758532696d64397901a75bba8ba < 884a76e813178778d271fea59783763d32bb7e72884a76e813178778d271fea59783763d32bb7e72
linuxlinux>= b0eed085903e7758532696d64397901a75bba8ba < 7710c883eb8cb5cf510ca47ec0e26c6cb7e94a4f7710c883eb8cb5cf510ca47ec0e26c6cb7e94a4f
linuxlinux>= b0eed085903e7758532696d64397901a75bba8ba < 8bb7170c5a055ea17c6857c256ee73c10ff872eb8bb7170c5a055ea17c6857c256ee73c10ff872eb
linuxlinux_kernel>= 0 < 6.1.147-16.1.147-1
linuxlinux_kernel>= 0 < 6.12.35-16.12.35-1
linuxlinux_kernel>= 0 < 6.12.35-16.12.35-1
linuxlinux_kernel>= 0 < 6.8.0-100.1006.8.0-100.100
linuxlinux_kernel>= 5.18 < 6.1.1426.1.142
linuxlinux_kernel>= 6.13 < 6.15.36.15.3
linuxlinux_kernel>= 6.2 < 6.6.946.6.94
linuxlinux_kernel>= 6.7 < 6.12.346.12.34
msrcazl3_kernel_6.6.92.2-2_on_azure_linux_3.0
msrcazl3_kernel_6.6.96.1-1_on_azure_linux_3.0
ubuntulinux-aws
ubuntulinux-aws-6.8
ubuntulinux-gkeop
ubuntulinux-nvidia
ubuntulinux-nvidia-6.8
ubuntulinux-oracle

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
CVE-2025-38158 — Linux vulnerability | cvebase