Lucene search
K

CVE-2025-40274 KVM: guest_memfd: Remove bindings on memslot deletion when gmem is dying

🗓️ 06 Dec 2025 21:50:56Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 12 Views

CVE-2025-40274: KVM guest_memfd unbinds memslot when gmem is dying to avoid use after free.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "virt/kvm/guest_memfd.c"
    ],
    "versions": [
      {
        "version": "a7800aa80ea4d5356b8474c2302812e9d4926fa6",
        "lessThan": "a8ac2bd0f98e1a230f1eb3260fa552bf2ef1753b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7800aa80ea4d5356b8474c2302812e9d4926fa6",
        "lessThan": "393893693a523e053f84d69320d090b93503f79f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7800aa80ea4d5356b8474c2302812e9d4926fa6",
        "lessThan": "ae431059e75d36170a5ae6b44cc4d06d43613215",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "virt/kvm/guest_memfd.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.12.59",
        "lessThanOrEqual": "6.12.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.17.9",
        "lessThanOrEqual": "6.17.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.18",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation