Skip to main content
VulnerabilityPublished Updated

CVE-2025-21861: Linux kernel · Use After Free

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 10 Nov 2026, 14:48 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.15.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

AI-suggested

A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should update to the fixed kernel versions once available. Since this is a kernel-level issue, applying the official kernel updates from the Linux distribution or mainline kernel is the recommended mitigation. No additional workarounds or mitigations are indicated.

Description

CVE-2025-21861 is a vulnerability in the Linux kernel's memory management subsystem related to device memory migration. The issue occurs when a folio (a memory page structure) that is to be freed is incorrectly added to the Least Recently Used (LRU) list during the migration finalization process. This happens because the memcg_data field of the folio is zeroed or left unset, causing the kernel's memory control group (memcg) code to behave improperly. While this does not cause direct data corruption, it triggers warnings and unnecessary operations in the kernel's memory management code.

References

Community reviews

Loading reviews…