CVE-2025-21966 dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature
A memory corruption flaw in the Linux kernel's dm-flakey module allows attackers to potentially execute code or escalate privileges when the optional corrupt_bio_byte feature is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21966?
CVE-2025-21966 is a high-severity memory corruption vulnerability in Linux kernel, published on 1 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature
Fix memory corruption due to incorrect parameter being passed to bio_init
Weakness: CWE-787
Which versions are affected by CVE-2025-21966?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21966?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-21966 being exploited?
There is no known exploitation of CVE-2025-21966 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-60281, BELL-CVE-2025-21966, DEBIAN-CVE-2025-21966, GHSA-w66x-hqgr-vfg4, ROOT-OS-UBUNTU-2404-CVE-2025-21966, UBUNTU-CVE-2025-21966.