SecurityContext

CVE-2025-38074: Linux Kernel vhost-scsi - Memory Corruption

  • Cve: CVE-2025-38074
  • Name: Linux Kernel vhost-scsi - Memory Corruption
  • 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.
  • Impact: Attackers can cause invalid memory writes to QEMU userspace, potentially leading to denial of service or arbitrary code execution.
  • Remediation: Update to the latest Linux kernel version containing the fix for vhost-scsi synchronization.
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00233
  • Epss percentile: 0.14164
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-06-18T10:15:40Z
  • Age in days: 524
  • Modified at: 2026-07-30T06:22:48Z
  • Patch available: yes
  • References total: 9
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-38074
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/59614c5acf6688f7af3c245d359082c0e9e53117Patch
https://git.kernel.org/stable/c/80cf68489681c165ded460930e391b1eb37b5f6fPatch
https://git.kernel.org/stable/c/8312a1ccff1566f375191a89b9ba71b6eb48a8cdPatch
https://git.kernel.org/stable/c/bd8c9404e44adb9f6219c09b3409a61ab7ce3427Patch
https://git.kernel.org/stable/c/c0039e3afda29be469d29b3013d7f9bdee136834Patch
https://git.kernel.org/stable/c/ca85c2d0db5f8309832be45858b960d933c2131cPatch
https://git.kernel.org/stable/c/f591cf9fce724e5075cc67488c43c6e39e8cbe27Patch
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

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.15 rc1; = 6.15 rc2; = 6.15 rc3; >= 6.13, < 6.14.9; >= 6.7, < 6.12.31; >= 6.2, < 6.6.93; >= 5.16, < 6.1.146; >= 5.11, < 5.15.189; < 5.10.240nonvd/v1/products/linux/linux_kernel
debian:debian_linux= 11.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports