CVE-2025-38158
Last modified
CVE-2025-38158 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.09% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.18, < 6.1.142 |
| Linux | Linux Kernel | >= 6.2, < 6.6.94 |
| Linux | Linux Kernel | >= 6.7, < 6.12.34 |
| Linux | Linux Kernel | >= 6.13, < 6.15.3 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-38158?
How severe is CVE-2025-38158?
How do I fix CVE-2025-38158?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38152In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38153In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38154In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38155In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38156In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38157In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38159In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-3816A vulnerability classified as critical was found in westboy …7.2
- CVE-2025-38160In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38161In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38162In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38163In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38158?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
