# CVE-2025-21699: gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 18% of CVEs (2026-11-30)
- Published: 2025-02-12T13:52:50.962Z
- Modified: 2026-08-05T11:53:41.986Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2164f9b9186962ffb7c687e18ec6f5255525f09d before 8c41abc11aa8438c9ed2d973f97e66674c0355df; from 2164f9b9186962ffb7c687e18ec6f5255525f09d before 4e3ded34f3f3c9d7ed2aac7be8cf51153646574a; from 2164f9b9186962ffb7c687e18ec6f5255525f09d before 2a40a140e11fec699e128170ccaa98b6b82cb503; from 2164f9b9186962ffb7c687e18ec6f5255525f09d before 4dd57d1f0e9844311c635a7fb39abce4f2ac5a61; from 2164f9b9186962ffb7c687e18ec6f5255525f09d before 4516febe325342555bb09ca5b396fb816d655821; from 2164f9b9186962ffb7c687e18ec6f5255525f09d before 5bb1fd0855bb0abc7d97e44758d6ffed7882d2d0; from 2164f9b9186962ffb7c687e18ec6f5255525f09d before 7c9d9223802fbed4dee1ae301661bf346964c9d2; 5.10 (not affected: before 5.10; from 5.10.234 up to 5.10.*; from 5.15.178 up to 5.15.*; from 6.1.128 up to 6.1.*; from 6.6.75 up to 6.6.*; from 6.12.12 up to 6.12.*; from 6.13.1 up to 6.13.*; from 6.14 up to *)
- linux 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; 6.13

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/8c41abc11aa8438c9ed2d973f97e66674c0355df> (patch)
- <https://git.kernel.org/stable/c/4e3ded34f3f3c9d7ed2aac7be8cf51153646574a> (patch)
- <https://git.kernel.org/stable/c/2a40a140e11fec699e128170ccaa98b6b82cb503> (patch)
- <https://git.kernel.org/stable/c/4dd57d1f0e9844311c635a7fb39abce4f2ac5a61> (patch)
- <https://git.kernel.org/stable/c/4516febe325342555bb09ca5b396fb816d655821> (patch)
- <https://git.kernel.org/stable/c/5bb1fd0855bb0abc7d97e44758d6ffed7882d2d0> (patch)
- <https://git.kernel.org/stable/c/7c9d9223802fbed4dee1ae301661bf346964c9d2> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2025-21699](https://www.cve.org/CVERecord?id=CVE-2025-21699), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21699](https://nvd.nist.gov/vuln/detail/CVE-2025-21699), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21699 · Whole record: https://cve.day/CVE-2025-21699.json · Rebuilt by cve.day 2026-11-25T22:58:54.030Z
