CVE-2025-38074

Medium

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.

Package Linux Kernel
Published 2025-06-18
Last modified 2025-12-17
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
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.

Affected from
≥ 3.6
Fixed in
✓ 5.10.240 5.10.x ✓ 5.15.189 5.15.x ✓ 6.1.146 6.1.x ✓ 6.6.93 6.6.x ✓ 6.12.31 6.12.x ✓ 6.14.9 6.14.x ✓ 6.15

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.

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.