CVE-2025-21691: Linux kernel · cachestat: fix page cache statistics permission checking
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1030.32~22.04.1 : update Linux kernel when convenient.
Data as of 24 Nov 2026, 19:54 UTC
- Patch
- Available – fixed in 6.8.0-1030.32~22.04.1, 6.8.0-1030.35~22.04.1, 6.8.0-1031.33~22.04.1 +31
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and included in Linux kernel versions 6.8.0-1030.32~22.04.1 and later. Users should update their Linux kernel to one of the fixed versions and reboot the system to apply the changes. Due to an ABI change, recompilation and reinstallation of third-party kernel modules may be necessary. Follow the vendor advisory instructions for updating and rebuilding kernel modules as needed.
Description
CVE-2025-21691 addresses a vulnerability in the Linux kernel's cachestat() system call where permission checking for page cache statistics was insufficient. The flaw was due to missing checks for writability or ownership, similar to a previous fix made for mincore(). This vulnerability has been fixed in Linux kernel versions 6.8.0 and later. The issue could potentially allow unauthorized access to page cache statistics, but does not impact confidentiality or integrity. The vulnerability has a medium severity rating with no known exploits in the wild. Users are advised to update to the fixed kernel versions and reboot to apply the patch.
References
- ubuntu.com/security/CVE-2025-21691 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21691 (opens in a new tab)
- git.kernel.org/linus/5f537664e705b0bf8b7e329861f20128534f6a83 (opens in a new tab)
- git.kernel.org/stable/c/5f537664e705b0bf8b7e329861f20128534f6a83 (opens in a new tab)
- git.kernel.org/stable/c/780ab8329672464984cf1344bd5c3993af0226c7 (opens in a new tab)
- git.kernel.org/stable/c/7d6405c13b0d8a8367cd8df63f118b619a3f0dd2 (opens in a new tab)
- git.kernel.org/stable/c/97153a05077f618f7471f50a78158602badccb30 (opens in a new tab)
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)