gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.234, 5.15.178, 6.1.128, 6.12.12, 6.13.1, 6.6.75
- CVEs
- CVE-2025-21699
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:10 UTC · Revision 1
Source evidence
gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
core-osv · Original sourcePublished 12 Feb 2025, 13:52 UTC
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.
osv:CVE-2025-21699
Kernel
Fixed versions: 5.10.234, 5.15.178, 6.1.128, 6.6.75, 6.12.12, 6.13.1
Complete source record
{
"id": "ab0791fe7996f67d4f9c0ff63f80f7490df82cf0e8bc55e15d1eb8ce5a99ff10",
"url": "https://osv.dev/vulnerability/CVE-2025-21699",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag",
"summary": "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.",
"evidence": "osv:CVE-2025-21699",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.234",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.178",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.128",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.12",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-21699",
"aliases": [
"CVE-2025-21699"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2164f9b9186962ffb7c687e18ec6f5255525f09d"
},
{
"fixed": "8c41abc11aa8438c9ed2d973f97e66674c0355df"
},
{
"fixed": "4e3ded34f3f3c9d7ed2aac7be8cf51153646574a"
},
{
"fixed": "2a40a140e11fec699e128170ccaa98b6b82cb503"
},
{
"fixed": "4dd57d1f0e9844311c635a7fb39abce4f2ac5a61"
},
{
"fixed": "4516febe325342555bb09ca5b396fb816d655821"
},
{
"fixed": "5bb1fd0855bb0abc7d97e44758d6ffed7882d2d0"
},
{
"fixed": "7c9d9223802fbed4dee1ae301661bf346964c9d2"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21699.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.10.0"
},
{
"fixed": "5.10.234"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.178"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.128"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.75"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.12"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.1"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21699.json"
}
}
],
"modified": "2026-10-28T02:30:49.090758323Z",
"provider": "osv",
"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",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21699.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-21699",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21699.json"
}
},
"related_cves": [
{
"value": "CVE-2025-21699",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517253,
"published_at": "2025-02-12T13:52:50.962+00:00"
}