CVE-2025-38158 Details
Description
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.
A vulnerability in the Linux kernel's handling of DMA addresses for the hisi_acc_vfio_pci component has been identified. After migration, the DMA addresses of EQE and AEQE were incorrect, leading to failures in guest kernel-mode encryption services. The issue arose from an error in how data read from hardware registers was combined into an address, necessitating a correction in the address combination sequence. Even after addressing this problem, a residual issue remains where a guest from an older kernel migrated to a new kernel may encounter incorrect data. To ensure the DMA address is accurate after migration, the address needs to be updated if an old magic number is detected.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7710c883eb8cb5cf510ca47ec0e26c6cb7e94a4f | kernel.org | Patch |
| https://git.kernel.org/stable/c/809a9c10274e1bcf6d05f1c0341459a425a4f05f | kernel.org | Patch |
| https://git.kernel.org/stable/c/884a76e813178778d271fea59783763d32bb7e72 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8bb7170c5a055ea17c6857c256ee73c10ff872eb | kernel.org | Patch |
| https://git.kernel.org/stable/c/f0423873e7aeb69cb68f4e8fa3827832e7b037ba | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.18, < 6.1.142 >= 6.2, < 6.6.94 >= 6.7, < 6.12.34 >= 6.13, < 6.15.3 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 18, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 3, 2025 | New CVE Received | kernel.org |