CVE-2025-38074
Last modified
CVE-2025-38074 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: vhost-scsi: protect vq->log_used with vq->mutex The vhost-scsi completion path may access vq->log_base when vq->log_used is already set to false. vhost-thread QEMU-thread vhost_scsi_complete_cmd_work() -> vhost_add_used() -> vhost_add_used_n() if (unlikely(vq->log_used)) QEMU disables vq->log_used via VHOST_SET_VRING_ADDR. mutex_lock(&vq->mutex); vq->log_used = false now! mutex_unlock(&vq->mutex); QEMU gfree(vq->log_base) log_used() -> log_write(vq->log_base) Assuming the VMM is QEMU. The vq->log_base is from QEMU userpace and can be reclaimed via gfree(). EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: vhost-scsi: protect vq->log_used with vq->mutex The vhost-scsi completion path may access vq->log_base when vq->log_used is already set to false. vhost-thread QEMU-thread vhost_scsi_complete_cmd_work() -> vhost_add_used() -> vhost_add_used_n() if (unlikely(vq->log_used)) QEMU disables vq->log_used via VHOST_SET_VRING_ADDR. mutex_lock(&vq->mutex); vq->log_used = false now! mutex_unlock(&vq->mutex); QEMU gfree(vq->log_base) log_used() -> log_write(vq->log_base) Assuming the VMM is QEMU. The vq->log_base is from QEMU userpace and can be reclaimed via gfree(). As a result, this causes invalid memory writes to QEMU userspace. The control queue path has the same issue.
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 | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 5.10.240 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.189 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.146 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.93 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.31 | — |
| Linux | Linux Kernel | >= 6.13, < 6.14.9 | — |
| Linux | Linux Kernel | 6.15 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38074?
How severe is CVE-2025-38074?
How do I fix CVE-2025-38074?
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-38069In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-3807A vulnerability, which was classified as critical, was found…9.8
- CVE-2025-38070In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38071In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38072In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38073Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-38075In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38076In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38077In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38078In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38079In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-3808A vulnerability has been found in zhenfeng13 My-BBS 1.0 and …6.5
Are you affected by CVE-2025-38074?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
