CVE-2025-21699 gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
A memory corruption vulnerability in the Linux kernel GFS2 filesystem allows attackers to cause denial of service or execute code by mixing incompatible page structures.
- 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-21699?
CVE-2025-21699 is a high-severity memory corruption vulnerability in Linux kernel, published on 12 Feb 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:
gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
Truncate an inode's address space when flipping the GFS2_DIF_JDATA flag: depending on that flag, the pages in the address space will either use buffer heads or iomap_folio_state structs, and we cannot mix the two.
Which versions are affected by CVE-2025-21699?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21699?
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-21699 being exploited?
There is no known exploitation of CVE-2025-21699 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-56843, BELL-CVE-2025-21699, DEBIAN-CVE-2025-21699, GHSA-qvh8-2fqm-584p, UBUNTU-CVE-2025-21699.