Vulnerabilities

Vulnerability · CVE-2025-40274

In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: Remove bindings on memslot deletion when gmem is dying When unbinding a memslot from a guest_m

Published Dec 6, 2025 · catalog updated Aug 5, 2026 · Linux Linux

Last checked Nov 1, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2025-40274. EPSS is 0.14%. Act only if a listed version of Linux Linux is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
High7.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.14%
Remediation
Version ranges on file
Affected products
vendor Linux Linux a7800aa80ea4d5356b8474c2302812e9d4926fa6 <ae431059e75d36170a5ae6b44cc4d06d43613215

In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: Remove bindings on memslot deletion when gmem is dying When unbinding a memslot from a guest_memfd instance, remove the bindings even if the guest_memfd file is dying, i.e. even if its file refcount has gone to zero. If the memslot is freed before the file is fully released, nullifying the memslot side of the binding in kvm_gmem_release() will write to freed memory, as detected by syzbot+KASAN: ================================================================== BUG: KASAN: slab-use-after-free in kvm_gmem_relea

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor Linux Linux a7800aa80ea4d5356b8474c2302812e9d4926fa6 <ae431059e75d36170a5ae6b44cc4d06d43613215a7800aa80ea4d5356b8474c2302812e9d4926fa6 <ae431059e75d36170a5ae6b44cc4d06d43613215

How to fix CVE-2025-40274

  • Upgrade

    CVE-2025-40274 lists a fix boundary at ae431059e75d36170a5ae6b44cc4d06d43613215. Compare the installed build with that boundary before you change production.

  • Version check

    Seen in a7800aa80ea4d5356b8474c2302812e9d4926fa6 <ae431059e75d36170a5ae6b44cc4d06d43613215

  • Advisory

    Open the cve_org record and follow its fix.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-40274. EPSS is 0.14%. Act only if a listed version of Linux Linux is installed.

Which versions are affected?

Compare what you have installed with Linux Linux a7800aa80ea4d5356b8474c2302812e9d4926fa6 <ae431059e75d36170a5ae6b44cc4d06d43613215 a7800aa80ea4d5356b8474c2302812e9d4926fa6 <ae431059e75d36170a5ae6b44cc4d06d43613215. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.14%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Dec 6, 2025 · EUVD

    Detected

    In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: Remove bindings on memslot deletion when gmem is dying When unbinding a memslot from a guest_memfd instance, remove the bindings even if the guest_memfd file is dying, i.e. even if its file refcount has gone to zero. If the memslot is freed before the file is fully released, nullifying the memslot side of the bin

  2. Aug 5, 2026 · EUVD

    Updated

    In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: Remove bindings on memslot deletion when gmem is dying When unbinding a memslot from a guest_memfd instance, remove the bindings even if the guest_memfd file is dying, i.e. even if its file refcount has gone to zero. If the memslot is freed before the file is fully released, nullifying the memslot side of the bin

Sources

  • CVE.orgVulnerability recordCVE-2025-40274

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-40274

    30-day exploitation probability 0.14%

    first.org
  • EUVDVulnerability recordEUVD-2025-201581

    In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: Remove bindings on memslot deletion when gmem is dying When unbinding a memslot from a guest_memfd instance, remove the bindings even if the guest_memfd file is dying, i.e. even if its file refc

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Nov 1, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSNov 1, 2026
  • CVE.orgOct 26, 2026
  • EUVDOct 26, 2026