CVE-2025-38074
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
3.6
and later are affected. Fixed in
5.10.240,
5.15.189,
6.1.146,
6.6.93,
6.12.31,
6.14.9,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-38074 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/stable/c/59614c5acf6688f7af3c245d359082c0e9e53117
-
PatchKernel patch commithttps://git.kernel.org/stable/c/80cf68489681c165ded460930e391b1eb37b5f6f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8312a1ccff1566f375191a89b9ba71b6eb48a8cd
Frequently asked questions
-
What is CVE-2025-38074?
CVE-2025-38074 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 3.6 onward and has been patched in 5.10.240, 5.15.189, 6.1.146 and others. CVE-2025-38074 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38074?
CVE-2025-38074 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-38074?
Yes — CVE-2025-38074 has been patched. Fixed versions include 5.10.240, 5.15.189, 6.1.146 and others. If you are running Linux kernel 3.6 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38074 actively exploited?
No — CVE-2025-38074 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.