Memory Management Vulnerability in Linux Kernel: CVE-2025-21907
Summary
CVE-2025-21907: In the Linux kernel, the following vulnerability has been resolved: mm: memory-failure: update ttu flag inside unmap_poisoned_folio Patch series "mm: memory_failure: unmap poisoned folio during migrate properly", v3. Affects linux versions 6.1.106-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is known for its robustness and flexibility, supporting a wide range of hardware architectures. However, vulnerabilities can arise, such as CVE-2025-21907, which affects memory management during folio migration, potentially leading to system instability.
Vulnerability Detail
CVE-2025-21907 is a vulnerability in the Linux kernel related to memory management, specifically during the migration of poisoned folios. The issue stems from improper handling of the TTU_HWPOISON flag, which is intended to prevent SIGBUS signals from being sent when accessing error pages after a memory error. If not addressed, this vulnerability can lead to warnings during the unmapping of poisoned folios, potentially causing system crashes or data corruption.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, no specific workaround is provided for this vulnerability. It is recommended to apply the patch as soon as it becomes available.
Conclusion
CVE-2025-21907 is a critical vulnerability in the Linux kernel related to memory management. It is essential for users to update their systems to the patched version to prevent potential system instability and data corruption. Monitoring tools like Vulert can help keep your software secure.
See every vulnerability recorded for linux →
FAQ
CVE-2025-21907 is a vulnerability in the Linux kernel that affects memory management during folio migration, potentially leading to system instability.
This vulnerability can cause warnings during the unmapping of poisoned folios, which may lead to system crashes or data corruption.
You should update your Linux package to the patched version as soon as it becomes available to mitigate the risk associated with this vulnerability.
Currently, there is no specific workaround available. It is advisable to apply the patch once released.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using a manifest file like package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without signup.
Related vulnerabilities
Recent vulnerabilities recorded for linux.