What’s Vulnerable › Vulnerabilities
CVE-2025-21699: gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-12 · updated 2026-07-30
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.
Affected products
- Linux kernel: before 5.4.290; from 5.5 before 5.10.234; from 5.11 before 5.15.178; from 5.16 before 6.1.128; from 6.2 before 6.6.75; from 6.7 before 6.12.12 — fixed in 5.10.234, 5.15.178, 5.4.290, 6.1.128, 6.12.12, 6.6.75
How to fix
Upgrade to a fixed version: Linux kernel 5.10.234, 5.15.178, 5.4.290, 6.1.128. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2a40a140e11fec699e128170ccaa98b6b82cb503
- https://git.kernel.org/stable/c/4516febe325342555bb09ca5b396fb816d655821
- https://git.kernel.org/stable/c/4dd57d1f0e9844311c635a7fb39abce4f2ac5a61
- https://git.kernel.org/stable/c/4e3ded34f3f3c9d7ed2aac7be8cf51153646574a
- https://git.kernel.org/stable/c/5bb1fd0855bb0abc7d97e44758d6ffed7882d2d0
- https://git.kernel.org/stable/c/7c9d9223802fbed4dee1ae301661bf346964c9d2
- https://git.kernel.org/stable/c/8c41abc11aa8438c9ed2d973f97e66674c0355df
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Get alerted when CVE-2025-21699 or the next vulnerability affects your stack