# CVE-2025-21699: gfs2: Truncate address space when flipping GFS2\_DIF\_JDATA flag

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-12 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-21699, DEBIAN-CVE-2025-21699
- Record: https://cvemate.com/vulnerability/CVE-2025-21699 · JSON: https://cvemate.com/vulnerability/CVE-2025-21699/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.251%, percentile 17.569%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 141)

- debian linux (Debian): \< 6.1.128-1 \| \< 6.12.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-211.231 \| \< 5.15.0-135.146 \| \< 6.8.0-62.65
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1142.152 \| \< 5.15.0-1080.87 \| \< 6.8.0-1030.32
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1030.32~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1142.153+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1080.87+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1147.154 \| \< 5.15.0-1084.93 \| \< 6.8.0-1030.35
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 47)

- <https://git.kernel.org/stable/c/8c41abc11aa8438c9ed2d973f97e66674c0355df>
- <https://git.kernel.org/stable/c/4e3ded34f3f3c9d7ed2aac7be8cf51153646574a>
- <https://git.kernel.org/stable/c/2a40a140e11fec699e128170ccaa98b6b82cb503>
- <https://git.kernel.org/stable/c/4dd57d1f0e9844311c635a7fb39abce4f2ac5a61>
- <https://git.kernel.org/stable/c/4516febe325342555bb09ca5b396fb816d655821>
- <https://git.kernel.org/stable/c/5bb1fd0855bb0abc7d97e44758d6ffed7882d2d0>
- <https://git.kernel.org/stable/c/7c9d9223802fbed4dee1ae301661bf346964c9d2>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://ubuntu.com/security/CVE-2025-21699>
- <https://www.cve.org/CVERecord?id=CVE-2025-21699>
- <https://git.kernel.org/linus/7c9d9223802fbed4dee1ae301661bf346964c9d2>
- <https://git.kernel.org/stable/c/2b0bd5051ad1c1e9ef4879f18e15a7712c974f3e>
- <https://ubuntu.com/security/notices/USN-7387-1>
- <https://ubuntu.com/security/notices/USN-7388-1>
- <https://ubuntu.com/security/notices/USN-7389-1>
- <https://ubuntu.com/security/notices/USN-7390-1>
- <https://ubuntu.com/security/notices/USN-7387-2>
- <https://ubuntu.com/security/notices/USN-7387-3>
- <https://ubuntu.com/security/notices/USN-7391-1>

---

Data as of 2026-12-05T04:12:04.609Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
